all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix video repository: First video script commited
@ 2019-02-26 23:10 Björn Höfling
  2019-02-26 23:20 ` Gábor Boskovits
  2019-02-27 15:04 ` Laura Lazzati
  0 siblings, 2 replies; 39+ messages in thread
From: Björn Höfling @ 2019-02-26 23:10 UTC (permalink / raw)
  To: guix-devel, Laura Lazzati, ludo, Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 1787 bytes --]

Hi Laura, Hi Guix,

the repository is now filled  with the scripts for the first video:

git clone https://git.savannah.gnu.org/git/guix/videos.git

To try it out, there is a script to enter a Guix container containing
all packages you need. After that, you can enter the video's directory
and call "./buildall.sh" to go through all build steps and get the
final video out:


$ ./environment.sh 
Entering a Guix container to work with the videos.
Available packages in the container: paps make  imagemagick guile ffmpeg inkscape coreutils which less grep findutils git emacs vim
[env]# cd 01-installation-from-script/
01-installation-from-script [env]# ./buildall.sh 
[... building video ... ]


The video currently contains only the sounds to the slides, not to the
CLI sessions. All parts will be spoken again by a native speaker.

Unfortunately, the slides part does not fit on the screen, I couldn't
figure out why. Laura, your example videos looked normal, right?

For reference, I uploaded my final .webm output to IPFS:

QmdGJ1vs9QefS22WjjnSRJNjjEkL4ePfgYa3dHi8p7LshN

Laura, do you like that directory layout, the way of creating the full
final video? Do you have any clue why my slides don't fit the screen?
Would you like to go on with the rest of the videos in that way?

Don't be afraid of mistakes concerning the repository: Before pushing,
double-check that everything looks right, try to create the videos
locally, then push. If anything was wrong or not 100% perfect, that's
fine and can be corrected with a new commit. If you look closely into
the main Guix repository, you will also see mistakes. It is more a
matter of communications and get them corrected in time.

Thank you for all the work you have done so far.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-26 23:10 Guix video repository: First video script commited Björn Höfling
@ 2019-02-26 23:20 ` Gábor Boskovits
  2019-02-27  8:31   ` Gábor Boskovits
  2019-02-27 15:04 ` Laura Lazzati
  1 sibling, 1 reply; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-26 23:20 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

Hello Björn,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> ezt írta (időpont:
2019. febr. 27., Sze, 0:10):
>
> Hi Laura, Hi Guix,
>
> the repository is now filled  with the scripts for the first video:
>
> git clone https://git.savannah.gnu.org/git/guix/videos.git
>

Thanks for looking into this. I will have a look tomorrow.

> To try it out, there is a script to enter a Guix container containing
> all packages you need. After that, you can enter the video's directory
> and call "./buildall.sh" to go through all build steps and get the
> final video out:
>
>
> $ ./environment.sh
> Entering a Guix container to work with the videos.
> Available packages in the container: paps make  imagemagick guile ffmpeg inkscape coreutils which less grep findutils git emacs vim
> [env]# cd 01-installation-from-script/
> 01-installation-from-script [env]# ./buildall.sh
> [... building video ... ]
>
>
> The video currently contains only the sounds to the slides, not to the
> CLI sessions. All parts will be spoken again by a native speaker.
>
> Unfortunately, the slides part does not fit on the screen, I couldn't
> figure out why. Laura, your example videos looked normal, right?
>
> For reference, I uploaded my final .webm output to IPFS:
>
> QmdGJ1vs9QefS22WjjnSRJNjjEkL4ePfgYa3dHi8p7LshN
>
> Laura, do you like that directory layout, the way of creating the full
> final video? Do you have any clue why my slides don't fit the screen?
> Would you like to go on with the rest of the videos in that way?
>
> Don't be afraid of mistakes concerning the repository: Before pushing,
> double-check that everything looks right, try to create the videos
> locally, then push. If anything was wrong or not 100% perfect, that's
> fine and can be corrected with a new commit. If you look closely into
> the main Guix repository, you will also see mistakes. It is more a
> matter of communications and get them corrected in time.
>

I agree. Mistakes are in all repos where real work gets done :) And they can be
easily corrected.

> Thank you for all the work you have done so far.
>

Yes, thank you very much.

> Björn

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-26 23:20 ` Gábor Boskovits
@ 2019-02-27  8:31   ` Gábor Boskovits
  2019-02-27  8:47     ` Gábor Boskovits
  2019-02-27 15:08     ` Laura Lazzati
  0 siblings, 2 replies; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-27  8:31 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

Hello,

> >
> > For reference, I uploaded my final .webm output to IPFS:
> >
> > QmdGJ1vs9QefS22WjjnSRJNjjEkL4ePfgYa3dHi8p7LshN
> >
>
> > Björn

I have watched the video right now. Some things that I noticed:
1. There is something wrong with the png-s generated from the slides.
The texts are slipped sideways, and seem to be bigger that they should be.
I have not checked yet if the initial svgs are broken or the
conversion is the problem.
2. The same audio is played at every slide, something seems to be off with
the association of the audio to the slide. Again, I did not check yet
if the correct
audios are supplied.
3. On some cli session the text overflows the screen, could we insert
a linebreak instead,
so that the whole text is visible?

Laura, can you have a look at these issues?

Best regards,
g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27  8:31   ` Gábor Boskovits
@ 2019-02-27  8:47     ` Gábor Boskovits
  2019-02-27 16:04       ` Björn Höfling
  2019-02-27 15:08     ` Laura Lazzati
  1 sibling, 1 reply; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-27  8:47 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

I have checked some things:

Gábor Boskovits <boskovits@gmail.com> ezt írta (időpont: 2019. febr.
27., Sze, 9:31):
>
> Hello,
>
> > >
> > > For reference, I uploaded my final .webm output to IPFS:
> > >
> > > QmdGJ1vs9QefS22WjjnSRJNjjEkL4ePfgYa3dHi8p7LshN
> > >
> >
> > > Björn
>
> I have watched the video right now. Some things that I noticed:
> 1. There is something wrong with the png-s generated from the slides.
> The texts are slipped sideways, and seem to be bigger that they should be.
> I have not checked yet if the initial svgs are broken or the
> conversion is the problem.

It seems that the initial svgs are broken already, so it is not the conversion.

> 2. The same audio is played at every slide, something seems to be off with
> the association of the audio to the slide. Again, I did not check yet
> if the correct
> audios are supplied.

Here the correct audios are supplied, I suspect that the dependencies
are not clear here
causing the problem: For the first noCli video the all.mp3 is
generated. Then it is not cleared up,
so make finds it uptodate, and with all noCli videos the all.mp3 of
the first is associated. Do you
think this is possible?

> 3. On some cli session the text overflows the screen, could we insert
> a linebreak instead,
> so that the whole text is visible?
>
> Laura, can you have a look at these issues?
>
> Best regards,
> g_bor

Best regards,
g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-26 23:10 Guix video repository: First video script commited Björn Höfling
  2019-02-26 23:20 ` Gábor Boskovits
@ 2019-02-27 15:04 ` Laura Lazzati
  2019-02-27 16:10   ` Björn Höfling
  1 sibling, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 15:04 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

Hi everybody!
I am reproducing all of Björn steps.
And will ask about certain stuff.

> Unfortunately, the slides part does not fit on the screen, I couldn't
> figure out why. Laura, your example videos looked normal, right?
Yes, when I make them on my machine -without your scripts,environment
etc, they look OK, like when I send you the videos to my mentors and
they look fine.
>
> For reference, I uploaded my final .webm output to IPFS:
>
> QmdGJ1vs9QefS22WjjnSRJNjjEkL4ePfgYa3dHi8p7LshN
>
> Laura, do you like that directory layout, the way of creating the full
> final video? Do you have any clue why my slides don't fit the screen?
No, but I installed other fonts, that could be maybe the reason? The
ones I added are the League gothic and Droid serif.

> Would you like to go on with the rest of the videos in that way?
Sounds good to me :) will go on checking why we are facing too many issues.
>
> Don't be afraid of mistakes concerning the repository:
Thank you both of you - Gábor and Bruno :) - for this.
> Thank you for all the work you have done so far.
And thank you for your compliment on this :)

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27  8:31   ` Gábor Boskovits
  2019-02-27  8:47     ` Gábor Boskovits
@ 2019-02-27 15:08     ` Laura Lazzati
  1 sibling, 0 replies; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 15:08 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: guix-devel

> 2. The same audio is played at every slide, something seems to be off with
> the association of the audio to the slide. Again, I did not check yet
> if the correct
> audios are supplied.
They are BUT I took a look at the Makefile, and we unfortunately need
to clean after creating each nonCli video. That part is as a comment
in the video repo, so I have a clue that that is the problem. After
reproducing Björn's steps, I will try replacing the directory with the
files from my repo to see if that fixes the problem.
> 3. On some cli session the text overflows the screen, could we insert
> Laura, can you have a look at these issues?
Of course! And will be answering back after each issue with what I've
done. Sorry if that is a problem instead of answering everything in
the same mail.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27  8:47     ` Gábor Boskovits
@ 2019-02-27 16:04       ` Björn Höfling
  2019-02-27 16:41         ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Björn Höfling @ 2019-02-27 16:04 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

On Wed, 27 Feb 2019 09:47:46 +0100
Gábor Boskovits <boskovits@gmail.com> wrote:

> > 2. The same audio is played at every slide, something seems to be
> > off with the association of the audio to the slide. Again, I did
> > not check yet if the correct
> > audios are supplied.  
> 
> Here the correct audios are supplied, I suspect that the dependencies
> are not clear here
> causing the problem: For the first noCli video the all.mp3 is
> generated. Then it is not cleared up,
> so make finds it uptodate, and with all noCli videos the all.mp3 of
> the first is associated. Do you
> think this is possible?

:-)

Laura, I told you about the mistakes in the repository, and here is
mine!

In commit

669abd65e9bb2426b594e08df83e7c4a2d5a3c5e

"Don't automatically clean after video creation."

I thought it would be better to leave everything dirty and only clean
up at the full end. That assumption seamed to be wrong.

Because I commited only one step after the other, it is possible to
directly revert that commit and that should solve the audio-problem.

I can try it out later tonight, if not someone of you does it before.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 15:04 ` Laura Lazzati
@ 2019-02-27 16:10   ` Björn Höfling
  2019-02-27 19:37     ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Björn Höfling @ 2019-02-27 16:10 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]

On Wed, 27 Feb 2019 12:04:40 -0300
Laura Lazzati <laura.lazzati.15@gmail.com> wrote:

> > Laura, do you like that directory layout, the way of creating the
> > full final video? Do you have any clue why my slides don't fit the
> > screen?  
> No, but I installed other fonts, that could be maybe the reason? The
> ones I added are the League gothic and Droid serif.
> 
> > Would you like to go on with the rest of the videos in that way?  
> Sounds good to me :) will go on checking why we are facing too many
> issues.
> >
> > Don't be afraid of mistakes concerning the repository:  
> Thank you both of you - Gábor and Bruno :) - for this.
> > Thank you for all the work you have done so far.  
> And thank you for your compliment on this :)

I don't understand your "No": Is this directory layout good or not?

If it is not good, what would be yours?

And the thing with fonts is something different, right? How did you
install them? Can we get that into the container somehow?

Just for information: I had some trouble with either imagemagick or
inkscape (can't remember any more which one), possibly the one from my
Ubuntu, so that is were the idea with the container came from: To have a
100% clean, reproducible environment.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 16:04       ` Björn Höfling
@ 2019-02-27 16:41         ` Laura Lazzati
  2019-02-27 17:44           ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 16:41 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

> Laura, I told you about the mistakes in the repository, and here is
> mine!
hhaha thank you for letting me know that I am a human being and can
make mistakes. I replaced the Makefile, and copy pasted my last
working video directory with another name. I am checking that.
I will try to see if adding the fonts solve the problem. maybe the
could be in common and have another script in between, or in the one
that creates the container.
I try to fix it once at a time. Sorry did not check the log, and I do
the same in my private repo, I commit step by step so that I can undo
stuff if necessary.

Regards :)

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 16:41         ` Laura Lazzati
@ 2019-02-27 17:44           ` Laura Lazzati
  2019-02-27 17:49             ` Laura Lazzati
  2019-02-27 17:59             ` Gábor Boskovits
  0 siblings, 2 replies; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 17:44 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

Hi Guix!

I copy/pasted my installationSscript video directory, adding Björn's
script to generate the videos.
I am inside the cointainer, removed the commented line about not
cleaning after creating a slide video, and my final video behaves
properly, even with the appropiate fonts, like the one I sent to my
mentors. I can put it again in my ipfs and then maybe someone can
fetch it and share it.
Shall I remove Björn's directory and push mine's so that you check
again if it works for you?
Maybe I'll write back asking for help with the signing stuff, since I
am new to gpg.

Regards :)
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 17:44           ` Laura Lazzati
@ 2019-02-27 17:49             ` Laura Lazzati
  2019-02-27 18:18               ` Gábor Boskovits
  2019-02-27 17:59             ` Gábor Boskovits
  1 sibling, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 17:49 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

PS: this is my ipfs hash for the video
Qmb3vPfKVgXRKZdYVAAzptmBDTa5kixhiVr8tsAZQVmWa9

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 17:44           ` Laura Lazzati
  2019-02-27 17:49             ` Laura Lazzati
@ 2019-02-27 17:59             ` Gábor Boskovits
  2019-02-27 18:16               ` Laura Lazzati
  1 sibling, 1 reply; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-27 17:59 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: guix-devel

Hello Laura,

Laura Lazzati <laura.lazzati.15@gmail.com> ezt írta (időpont: 2019.
febr. 27., Sze, 18:44):
>
> Hi Guix!
>
> I copy/pasted my installationSscript video directory, adding Björn's
> script to generate the videos.
> I am inside the cointainer, removed the commented line about not
> cleaning after creating a slide video, and my final video behaves
> properly, even with the appropiate fonts, like the one I sent to my
> mentors. I can put it again in my ipfs and then maybe someone can
> fetch it and share it.
> Shall I remove Björn's directory and push mine's so that you check
> again if it works for you?

I am trying to have a look at that, but getting nothing from ipfs.
Could you do a diff on Björn's svgs directory and yours? I
suspect that somehow the svgs got corrupted, maybe we could find
something out from that...

If you could get a solution by reverting the commit Björn referred to,
and commiting the corrects svgs, then I would prefer it that way.
Wdyt?

> Maybe I'll write back asking for help with the signing stuff, since I
> am new to gpg.
>
> Regards :)
> Laura

Best regards,
g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 17:59             ` Gábor Boskovits
@ 2019-02-27 18:16               ` Laura Lazzati
  0 siblings, 0 replies; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 18:16 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: guix-devel

On Wed, Feb 27, 2019 at 2:59 PM Gábor Boskovits <boskovits@gmail.com> wrote:
>
> Hello Laura,
>
> Laura Lazzati <laura.lazzati.15@gmail.com> ezt írta (időpont: 2019.
> febr. 27., Sze, 18:44):
> >
> > Hi Guix!
> >
> > I copy/pasted my installationSscript video directory, adding Björn's
> > script to generate the videos.
> > I am inside the cointainer, removed the commented line about not
> > cleaning after creating a slide video, and my final video behaves
> > properly, even with the appropiate fonts, like the one I sent to my
> > mentors. I can put it again in my ipfs and then maybe someone can
> > fetch it and share it.
> > Shall I remove Björn's directory and push mine's so that you check
> > again if it works for you?
>
> I am trying to have a look at that, but getting nothing from ipfs.
We always have trouble with my ipfs don't know why. But believe me
that I am inside the container, just used my Makefile and copy/pasted
my latest video subdir and everything worked properly.
> Could you do a diff on Björn's svgs directory and yours? I
> suspect that somehow the svgs got corrupted, maybe we could find
> something out from that...
No diff. I believe it has sth to do with the fonts but it is strange,
I am inside a container, even I have them installed on my system, they
shouldn't interfere. Even your issue with the CLI sessions, I didn't
face it either with Björn's dir or mine's. Strange.

Will configure my user again according to the HACKING file.

Regards!
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 17:49             ` Laura Lazzati
@ 2019-02-27 18:18               ` Gábor Boskovits
  2019-02-27 18:29                 ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-27 18:18 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: guix-devel

Hello Laura,

Laura Lazzati <laura.lazzati.15@gmail.com> ezt írta (időpont: 2019.
febr. 27., Sze, 18:50):
>
> PS: this is my ipfs hash for the video
> Qmb3vPfKVgXRKZdYVAAzptmBDTa5kixhiVr8tsAZQVmWa9

I've seen it. Very nice work. Two little things: istm that the cli sessions are
missing sound, and there is still an aspect change between the cli and nocli
sessions. We have the aspect change since the beginning, so I don't really
mind it.

Best regards,
g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 18:18               ` Gábor Boskovits
@ 2019-02-27 18:29                 ` Laura Lazzati
  2019-02-27 18:37                   ` Gábor Boskovits
  0 siblings, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 18:29 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: guix-devel

> I've seen it. Very nice work. Two little things: istm that the cli sessions are
> missing sound, and there is still an aspect change between the cli and nocli
> sessions. We have the aspect change since the beginning, so I don't really
> mind it.
Thank you, but that was the first video with the corrections :)
Did not understand what you mean about the aspect change. As regards
the sound, we kept them silent since I guess I told you that for my
talk it took me about three days matching the audio with the CLI
sessions, and we were not going to have enough videos.
>
> Best regards,
> g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 18:29                 ` Laura Lazzati
@ 2019-02-27 18:37                   ` Gábor Boskovits
  0 siblings, 0 replies; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-27 18:37 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: guix-devel

Hello Laura,

Laura Lazzati <laura.lazzati.15@gmail.com> ezt írta (időpont: 2019.
febr. 27., Sze, 19:30):
>
> > I've seen it. Very nice work. Two little things: istm that the cli sessions are
> > missing sound, and there is still an aspect change between the cli and nocli
> > sessions. We have the aspect change since the beginning, so I don't really
> > mind it.
> Thank you, but that was the first video with the corrections :)
> Did not understand what you mean about the aspect change. As regards

I mean that when you watch it the aspect ratio do not match, it's like the
slides are 16:9, while the clis are more like 4:3, but it is so since
the beginning,
so we can ignore it for now.

> the sound, we kept them silent since I guess I told you that for my
> talk it took me about three days matching the audio with the CLI
> sessions, and we were not going to have enough videos.

Ok, that makes sense, now I remember it.

> >
> > Best regards,
> > g_bor

Best regards,
g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 16:10   ` Björn Höfling
@ 2019-02-27 19:37     ` Laura Lazzati
  2019-02-28  2:31       ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-27 19:37 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

Hi! sorry, I got lost and did not see this.

> I don't understand your "No": Is this directory layout good or not?
>
> If it is not good, what would be yours?
Yes, it is very good! We just need to fix the issues we are facing,
but I think it is a great.
>
> And the thing with fonts is something different, right? How did you
> install them? Can we get that into the container somehow?
I double click them, but found a script  to do it without a GUI.
>
> Just for information: I had some trouble with either imagemagick or
> inkscape (can't remember any more which one), possibly the one from my
> Ubuntu, so that is were the idea with the container came from: To have a
> 100% clean, reproducible environment.
Yes, I know. Just a question. If I replace the directory with your
videos, or at least try to merge it with mine's is it done badly? If I
don't do it that way, what about the next videos I have already
created?

>
> Björn

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-27 19:37     ` Laura Lazzati
@ 2019-02-28  2:31       ` Laura Lazzati
  2019-02-28  2:40         ` Laura Lazzati
  2019-02-28 10:47         ` Giovanni Biscuolo
  0 siblings, 2 replies; 39+ messages in thread
From: Laura Lazzati @ 2019-02-28  2:31 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

Hi!
I guess I made a mistake today and maybe I was not inside the
container when creating the video that worked, since I am trying to
reproduce everything and I still face issues with the fonts.
I  made some minor changes, will be adding again the files of the
original installer script video,
found this https://linux.die.net/man/1/fc-cache, and added in root
directory a directory named fonts with the ones I used for the videos.
Still doesn't work. Also made some minor changes to the scripts, and
removed the Makefile comment. Laura frustrated mode, will go on
tomorrow looking how I can install the fonts, inside the environment.
And I still have to finish the last packaging video, which will not
require much time. Already have the transcript and my draft in paper.

Regards :/
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28  2:31       ` Laura Lazzati
@ 2019-02-28  2:40         ` Laura Lazzati
  2019-02-28 17:49           ` Ricardo Wurmus
  2019-02-28 10:47         ` Giovanni Biscuolo
  1 sibling, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-28  2:40 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

PS: I am quite tired now, but I my research over the internet mostly
mentions that fonts are installed for a user/system, maybe that is the
problem why I cannot install them in the container.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28  2:31       ` Laura Lazzati
  2019-02-28  2:40         ` Laura Lazzati
@ 2019-02-28 10:47         ` Giovanni Biscuolo
  2019-02-28 17:46           ` Ricardo Wurmus
  2019-02-28 23:03           ` Björn Höfling
  1 sibling, 2 replies; 39+ messages in thread
From: Giovanni Biscuolo @ 2019-02-28 10:47 UTC (permalink / raw)
  To: Laura Lazzati, Björn Höfling; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3322 bytes --]

Hi Laura and Björn,

I'm trying to reproduce the build of "01-installation-from-script" but
I'm having some trouble: please is someone willing to try to build that
video and report here on success/failures?

this is my environment and build process:

1. I'm using the master branch (now on commit 03930dc) from
https://git.savannah.gnu.org/git/guix/videos.git

2. my working directory is <somewhere>/guix-videos

3. in my working dir I enter the environment using the environment.sh
bash script

4. in guix-videos/01-installation-from-script [env]# I run
"./buildall.sh", at this point the build process enters a (infinite?)
loop with this output:

--8<---------------cut here---------------start------------->8---
tail -n 20 01-installation-from-script/en_US/out/firstCli-0913.txt | \
paps --landscape --columns=80 --font "Monospace 20" | \
convert -density 128 \
		-fill black \
		-background white \
		-flatten \
		-rotate 90 \
		-delete 0--2 - 01-installation-from-script/en_US/out/firstCli-0913.png
convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `01-installation-from-script/en_US/out/firstCli-0913.png' @ warning/png.c/MagickPNGWarningHandler/1667.
--8<---------------cut here---------------end--------------->8---

the number of the resulting "firstCli-XXXX.[txt|png]" files is
progressive

I've interrupted the process after a few minutes and now I've a total of
2495 files in guix-videos/01-installation-from-script/en_US/out/ 2198 of
them are txt and 306 png

rmlist tells me "==> In total 2495 files, whereof 1965 are duplicates in
176 groups."

while fdupes tells me "2009 duplicate files (in 177 sets), occupying 2.9
megabytes"

only txt are duplicated, png are not

is this duplication and large number of txt files intended or is a
problem with my build environment?

Laura Lazzati <laura.lazzati.15@gmail.com> writes:

> I guess I made a mistake today and maybe I was not inside the
> container when creating the video that worked, since I am trying to
> reproduce everything and I still face issues with the fonts.

I'm still not able to reproduce this issue but have you tried adding the
font package to "NECESSARY" variable in environment.sh?

also: could you please remove "USEFUL" and "NICE_TO_HAVE" from the build
environment since we do not strictly need them at build time?

...nevertheless, I agree they are useful and nice to have in our user
(or project) environment for editing/developing purposes :-)

> I  made some minor changes, will be adding again the files of the
> original installer script video

please commit as soon as you want to share your development, in a
dedicated "wip" or "development" branch if you want

> found this https://linux.die.net/man/1/fc-cache, and added in root
> directory a directory named fonts with the ones I used for the videos.

there is no such directory in my checkout: have you committed and pushed
it?

> Still doesn't work. Also made some minor changes to the scripts, and
> removed the Makefile comment. Laura frustrated mode, will go on
> tomorrow looking how I can install the fonts, inside the environment.

try add them (the fonts) as NECESSARY

[...]

Thanks!
Giovanni

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 10:47         ` Giovanni Biscuolo
@ 2019-02-28 17:46           ` Ricardo Wurmus
  2019-03-01 11:12             ` Giovanni Biscuolo
  2019-02-28 23:03           ` Björn Höfling
  1 sibling, 1 reply; 39+ messages in thread
From: Ricardo Wurmus @ 2019-02-28 17:46 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: guix-devel


Giovanni Biscuolo <g@xelera.eu> writes:

> 4. in guix-videos/01-installation-from-script [env]# I run
> "./buildall.sh", at this point the build process enters a (infinite?)
> loop with this output:
>
> --8<---------------cut here---------------start------------->8---
> tail -n 20 01-installation-from-script/en_US/out/firstCli-0913.txt | \
> paps --landscape --columns=80 --font "Monospace 20" | \
> convert -density 128 \
> 		-fill black \
> 		-background white \
> 		-flatten \
> 		-rotate 90 \
> 		-delete 0--2 - 01-installation-from-script/en_US/out/firstCli-0913.png
> convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `01-installation-from-script/en_US/out/firstCli-0913.png' @ warning/png.c/MagickPNGWarningHandler/1667.
> --8<---------------cut here---------------end--------------->8---
>
> the number of the resulting "firstCli-XXXX.[txt|png]" files is
> progressive
>
> I've interrupted the process after a few minutes and now I've a total of
> 2495 files in guix-videos/01-installation-from-script/en_US/out/ 2198 of
> them are txt and 306 png

There will be lots of files.  That’s expected.  They are frames for the
command line videos.  Eventually all of them would be converted from txt
to png.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28  2:40         ` Laura Lazzati
@ 2019-02-28 17:49           ` Ricardo Wurmus
  2019-02-28 17:54             ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Ricardo Wurmus @ 2019-02-28 17:49 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: guix-devel


Laura Lazzati <laura.lazzati.15@gmail.com> writes:

> PS: I am quite tired now, but I my research over the internet mostly
> mentions that fonts are installed for a user/system, maybe that is the
> problem why I cannot install them in the container.

I “installed” the fonts by placing them in ~/.fonts, running “fc-cache
-f” as needed.  As long as fc-cache knows about the directory it will be
fine.

--
Ricardo

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 17:49           ` Ricardo Wurmus
@ 2019-02-28 17:54             ` Laura Lazzati
  2019-02-28 18:45               ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-28 17:54 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

> I “installed” the fonts by placing them in ~/.fonts, running “fc-cache
> -f” as needed.  As long as fc-cache knows about the directory it will be
> fine.
I tried the command with the -f  but naming the subdirectory  fonts,
under the root (videos) directory. Ended up successfully but with
fc-list the fonts are not shown. Will try again and let you know. Also
reporting step by step.

Regards :)

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 17:54             ` Laura Lazzati
@ 2019-02-28 18:45               ` Laura Lazzati
  2019-02-28 19:14                 ` Gábor Boskovits
  2019-02-28 19:36                 ` sirgazil
  0 siblings, 2 replies; 39+ messages in thread
From: Laura Lazzati @ 2019-02-28 18:45 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati
<laura.lazzati.15@gmail.com> wrote:
>
> > I “installed” the fonts by placing them in ~/.fonts, running “fc-cache
> > -f” as needed.  As long as fc-cache knows about the directory it will be
> > fine.
When Ricardo knows, he knows :P.
My missing step was putting it under ~/.fonts. Will add mabe a fonts
folder under root dir and then a script to move it to ~/.fonts and run
fc-cache, WDYT?

Regards :)
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 18:45               ` Laura Lazzati
@ 2019-02-28 19:14                 ` Gábor Boskovits
  2019-02-28 21:17                   ` Laura Lazzati
  2019-02-28 19:36                 ` sirgazil
  1 sibling, 1 reply; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-28 19:14 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: guix-devel

Hello Laura,

Laura Lazzati <laura.lazzati.15@gmail.com> ezt írta (időpont: 2019.
febr. 28., Cs, 19:45):
>
> On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati
> <laura.lazzati.15@gmail.com> wrote:
> >
> > > I “installed” the fonts by placing them in ~/.fonts, running “fc-cache
> > > -f” as needed.  As long as fc-cache knows about the directory it will be
> > > fine.
> When Ricardo knows, he knows :P.
> My missing step was putting it under ~/.fonts. Will add mabe a fonts
> folder under root dir and then a script to move it to ~/.fonts and run
> fc-cache, WDYT?
>

I would prefer that the build don't fiddle with my home directory, but this is
acceptable as a temporary workaround. I will have a look how to achieve that,
it seems that setting some environment variables (for example $HOME to
get ~ into the build tree, but some more so that fc-cache does not modify the
original user cache) this is possible.

> Regards :)
> Laura

Best regards,
g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 18:45               ` Laura Lazzati
  2019-02-28 19:14                 ` Gábor Boskovits
@ 2019-02-28 19:36                 ` sirgazil
  2019-02-28 21:52                   ` Laura Lazzati
                                     ` (2 more replies)
  1 sibling, 3 replies; 39+ messages in thread
From: sirgazil @ 2019-02-28 19:36 UTC (permalink / raw)
  To: Laura Lazzati, Ricardo Wurmus; +Cc: guix-devel

Hi, Laura, everyone,


El 28/02/19 a las 1:45 p. m., Laura Lazzati escribió:
> On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati
> <laura.lazzati.15@gmail.com> wrote:
>>
>>> I “installed” the fonts by placing them in ~/.fonts, running “fc-cache
>>> -f” as needed.  As long as fc-cache knows about the directory it will be
>>> fine.
> When Ricardo knows, he knows :P.
> My missing step was putting it under ~/.fonts. Will add mabe a fonts
> folder under root dir and then a script to move it to ~/.fonts and run
> fc-cache, WDYT?
> 
> Regards :)
> Laura
> 

That didn't work for me.

I built the "01-installation-from-script" videos, and found the 
following problems:

+ Text is not rendered with the appropriate font (known issue).
+ Firefox 65.0.1 says "Video can't be played because the file is corrupt."

These are the steps I followed to build the videos:

1. $ git clone https://git.savannah.gnu.org/git/guix/videos.git (I got 
commit 03930dc)
2. Add missing fonts to $HOME/.fonts
3. $ fc-cache -f
4. $ fc-list ($HOME/.fonts is listed)
5. $ cd path/to/videos
6. $ ./environment.sh
7. [env]# cd 01-installation-from-script
8. [env]# ./buildall.sh

After running these, the videos are available in:

   videos/01-installation-from-script/en_US/videos/

The resulting videos don't use the appropriate fonts in my case. 
Inkscape, however, which I installed with Guix, renders the video SVGs 
with the appropriate fonts.

I imagine the font problem can be solved by packaging those fonts for 
Guix and adding them to the environment?

As a workaround to the fonts issue, one can convert the text in the SVG 
files to paths. Using Inkscape, you can do so by running it from the 
command line using the -T option. For example:

   $ inkscape -z -T -l=1-mod.svg 1.svg

As for the corrupted videos, in the Totem video player, the video plays 
but black colors are displayed green instead (maybe result of the 
corruption?). In VLC the video plays OK, and the colors are fine.



-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 19:14                 ` Gábor Boskovits
@ 2019-02-28 21:17                   ` Laura Lazzati
  2019-02-28 22:13                     ` Gábor Boskovits
  0 siblings, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-28 21:17 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: guix-devel

On Thu, Feb 28, 2019 at 4:14 PM Gábor Boskovits <boskovits@gmail.com> wrote:
>
> Hello Laura,
>
> Laura Lazzati <laura.lazzati.15@gmail.com> ezt írta (időpont: 2019.
> febr. 28., Cs, 19:45):
> >
> > On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati
> > <laura.lazzati.15@gmail.com> wrote:
> > >
> > > > I “installed” the fonts by placing them in ~/.fonts, running “fc-cache
> > > > -f” as needed.  As long as fc-cache knows about the directory it will be
> > > > fine.
> > When Ricardo knows, he knows :P.
> > My missing step was putting it under ~/.fonts. Will add mabe a fonts
> > folder under root dir and then a script to move it to ~/.fonts and run
> > fc-cache, WDYT?
> >
>
> I would prefer that the build don't fiddle with my home directory, but this is
> acceptable as a temporary workaround. I will have a look how to achieve that,
> it seems that setting some environment variables (for example $HOME to
> get ~ into the build tree, but some more so that fc-cache does not modify the
> original user cache) this is possible.
I don't like mixing with my home dir either, but this way works :/
I created a script that needs to be run every time you get into the
environment to update the fonts in ~/.fonts. I didn't have .fonts
before in my home dir, and after creating it inside the environment I
can't see it either being outside. Don't know about you. But, in case
people have it, when we finish creating the videos we could remove the
fonts that we had to install, WDYT? Sorry,  I am new to this fonts
stuff, I am reading and trying different things.

Regards :)
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 19:36                 ` sirgazil
@ 2019-02-28 21:52                   ` Laura Lazzati
  2019-03-01 12:20                     ` sirgazil
  2019-02-28 23:19                   ` Björn Höfling
  2019-03-01 14:53                   ` Giovanni Biscuolo
  2 siblings, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-02-28 21:52 UTC (permalink / raw)
  To: sirgazil, Björn Höfling, Gábor Boskovits; +Cc: guix-devel

Hi!
Thanks for the steps!

> + Text is not rendered with the appropriate font (known issue).
> + Firefox 65.0.1 says "Video can't be played because the file is corrupt."
We are currently testing everything with vlc and mpv, but thanks for this too.
>
> These are the steps I followed to build the videos:

>
> 1. $ git clone https://git.savannah.gnu.org/git/guix/videos.git (I got
> commit 03930dc)
> 2. Add missing fonts to $HOME/.fonts
Are you creating the .fonts directory here?
> 3. $ fc-cache -f
> 4. $ fc-list ($HOME/.fonts is listed)
> 5. $ cd path/to/videos
> 6. $ ./environment.sh
You should add the fonts inside the environment :) (2. and 3.)
> 7. [env]# cd 01-installation-from-script
> 8. [env]# ./buildall.sh
>
> After running these, the videos are available in:
>
>    videos/01-installation-from-script/en_US/videos/
>
> The resulting videos don't use the appropriate fonts in my case.
Let me push some changes and answer back, but you should be able to
create the videos after my next push. I should update the README with
the order in which scripts should be run, so that there is no
confusion.

Regards!
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 21:17                   ` Laura Lazzati
@ 2019-02-28 22:13                     ` Gábor Boskovits
  2019-02-28 23:15                       ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Gábor Boskovits @ 2019-02-28 22:13 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: guix-devel

Hello Laura,

> I don't like mixing with my home dir either, but this way works :/
> I created a script that needs to be run every time you get into the
> environment to update the fonts in ~/.fonts. I didn't have .fonts
> before in my home dir, and after creating it inside the environment I
> can't see it either being outside. Don't know about you. But, in case
No you are right, my bad. It seems it really won't mix. That's great.
> people have it, when we finish creating the videos we could remove the
> fonts that we had to install, WDYT? Sorry,  I am new to this fonts
> stuff, I am reading and trying different things.
>
> Regards :)
> Laura

Best regards,
g_bor

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 10:47         ` Giovanni Biscuolo
  2019-02-28 17:46           ` Ricardo Wurmus
@ 2019-02-28 23:03           ` Björn Höfling
  2019-03-01 11:01             ` Giovanni Biscuolo
  1 sibling, 1 reply; 39+ messages in thread
From: Björn Höfling @ 2019-02-28 23:03 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

On Thu, 28 Feb 2019 11:47:26 +0100
Giovanni Biscuolo <g@xelera.eu> wrote:

> also: could you please remove "USEFUL" and "NICE_TO_HAVE" from the
> build environment since we do not strictly need them at build time?
> 
> ...nevertheless, I agree they are useful and nice to have in our user
> (or project) environment for editing/developing purposes :-)

Hi Giovanni,

since the environment is a CONTAINER, it contains really nothing
besides what you explicitly add to it. I added those variables. It is
really helpful to have at least "ls" and "less", and during development
some more tools. When everything is settled, we can shrink that down to
coreutils and less for example.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 22:13                     ` Gábor Boskovits
@ 2019-02-28 23:15                       ` Laura Lazzati
  0 siblings, 0 replies; 39+ messages in thread
From: Laura Lazzati @ 2019-02-28 23:15 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: guix-devel

Hi!

> No you are right, my bad. It seems it really won't mix. That's great.
Yeah :) One thing less that we have to solve ;)
I updated the README, just to let people know how to run it for now.
It quite awful, but I hope it helps the community understand how to
run the scipts.

Regards :)
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 19:36                 ` sirgazil
  2019-02-28 21:52                   ` Laura Lazzati
@ 2019-02-28 23:19                   ` Björn Höfling
  2019-03-01 14:53                   ` Giovanni Biscuolo
  2 siblings, 0 replies; 39+ messages in thread
From: Björn Höfling @ 2019-02-28 23:19 UTC (permalink / raw)
  To: sirgazil; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]

On Thu, 28 Feb 2019 14:36:41 -0500
sirgazil <sirgazil@zoho.com> wrote:

> Hi, Laura, everyone,
> 
> 
> El 28/02/19 a las 1:45 p. m., Laura Lazzati escribió:
> > On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati
> > <laura.lazzati.15@gmail.com> wrote:  
> >>  
> >>> I “installed” the fonts by placing them in ~/.fonts, running
> >>> “fc-cache -f” as needed.  As long as fc-cache knows about the
> >>> directory it will be fine.  
> > When Ricardo knows, he knows :P.
> > My missing step was putting it under ~/.fonts. Will add mabe a fonts
> > folder under root dir and then a script to move it to ~/.fonts and
> > run fc-cache, WDYT?

It would be nice to have the fonts from a Guix package and just add
that to the environment. Where are the fonts from? Do we already have
a Guix package for them or can we pack it?

If there is no Guix-package, I think it is OK to put the font for the
video project just into the repository, at least we know it is a free
font.

> These are the steps I followed to build the videos:
> 
> 1. $ git clone https://git.savannah.gnu.org/git/guix/videos.git (I
> got commit 03930dc)
> 2. Add missing fonts to $HOME/.fonts
> 3. $ fc-cache -f
> 4. $ fc-list ($HOME/.fonts is listed)
> 5. $ cd path/to/videos
> 6. $ ./environment.sh
> 7. [env]# cd 01-installation-from-script
> 8. [env]# ./buildall.sh

I'm still running it with the fonts now, so I can't say it for sure,
but you should try to execute steps 2+3+4 AFTER step 6:

You enter a CONTAINER, and inside the container, only the current
working directory is visible, everything below is just empty. So your
added files and fc-cache changes aren't visible inside the container.

Conversely, everything you mess up inside the container with your
~/.fonts directory should not affect your real users directory (as long
as you don't enter the container from ~ as working directory).

> As for the corrupted videos, in the Totem video player, the video
> plays but black colors are displayed green instead (maybe result of
> the corruption?). In VLC the video plays OK, and the colors are fine.

We used VLC to play back the videos. You are right, with totem the
background is green for the slides and light-purple for the CLI
sessions. Maybe there is a problem with the alpha channel?

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 23:03           ` Björn Höfling
@ 2019-03-01 11:01             ` Giovanni Biscuolo
  2019-03-01 13:48               ` Björn Höfling
  0 siblings, 1 reply; 39+ messages in thread
From: Giovanni Biscuolo @ 2019-03-01 11:01 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

Hi Björn,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

[...]

> since the environment is a CONTAINER, it contains really nothing
> besides what you explicitly add to it.

I was aware of this :-)

> I added those variables. It is
> really helpful to have at least "ls" and "less", and during development
> some more tools. When everything is settled, we can shrink that down to
> coreutils and less for example.

my personal workflow in this case is to use the [env] to build and
"outside env" for editing and analisys (e.g. with rmlint), BTW I agree
with you ls and less are *very* useful inside the container

anyway this is non at all a priority, just my personal wishlist :-)

Thanks!
Giovanni

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 17:46           ` Ricardo Wurmus
@ 2019-03-01 11:12             ` Giovanni Biscuolo
  0 siblings, 0 replies; 39+ messages in thread
From: Giovanni Biscuolo @ 2019-03-01 11:12 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

Ricardo Wurmus <rekado@elephly.net> writes:

[...]

> There will be lots of files.  That’s expected.  They are frames for the
> command line videos.  Eventually all of them would be converted from txt
> to png.

OK I got it

I've updated my repo with current master and restarted building, I'll
report back ASAP

Thanks!
Giovanni

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 21:52                   ` Laura Lazzati
@ 2019-03-01 12:20                     ` sirgazil
  0 siblings, 0 replies; 39+ messages in thread
From: sirgazil @ 2019-03-01 12:20 UTC (permalink / raw)
  To: Laura Lazzati, Björn Höfling, Gábor Boskovits; +Cc: guix-devel

El 28/02/19 a las 4:52 p. m., Laura Lazzati escribió:
> Hi!
> Thanks for the steps!
> 
>> + Text is not rendered with the appropriate font (known issue).
>> + Firefox 65.0.1 says "Video can't be played because the file is corrupt."
> We are currently testing everything with vlc and mpv, but thanks for this too.
>>
>> These are the steps I followed to build the videos:
> 
>>
>> 1. $ git clone https://git.savannah.gnu.org/git/guix/videos.git (I got
>> commit 03930dc)
>> 2. Add missing fonts to $HOME/.fonts
> Are you creating the .fonts directory here?
>> 3. $ fc-cache -f
>> 4. $ fc-list ($HOME/.fonts is listed)
>> 5. $ cd path/to/videos
>> 6. $ ./environment.sh
> You should add the fonts inside the environment :) (2. and 3.)
>> 7. [env]# cd 01-installation-from-script
>> 8. [env]# ./buildall.sh
>>
>> After running these, the videos are available in:
>>
>>     videos/01-installation-from-script/en_US/videos/
>>
>> The resulting videos don't use the appropriate fonts in my case.
> Let me push some changes and answer back, but you should be able to
> create the videos after my next push. I should update the README with
> the order in which scripts should be run, so that there is no
> confusion.

No wonder it didn't work for me :P I tried again with your changes, and 
text is displayed correctly in the videos.


-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-03-01 11:01             ` Giovanni Biscuolo
@ 2019-03-01 13:48               ` Björn Höfling
  0 siblings, 0 replies; 39+ messages in thread
From: Björn Höfling @ 2019-03-01 13:48 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

On Fri, 01 Mar 2019 12:01:45 +0100
Giovanni Biscuolo <g@xelera.eu> wrote:

> my personal workflow in this case is to use the [env] to build and
> "outside env" for editing and analisys (e.g. with rmlint), BTW I agree
> with you ls and less are *very* useful inside the container

Gábor presented today another solution, which is much better I think:

The script will call the environment like:

guix environment -C --ad-hoc ... -- ./build-video.sh 01-firstvideo

Then the container is really just used to build video and will be left
directly afterwards.

I think he will push later/in the next days.

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-02-28 19:36                 ` sirgazil
  2019-02-28 21:52                   ` Laura Lazzati
  2019-02-28 23:19                   ` Björn Höfling
@ 2019-03-01 14:53                   ` Giovanni Biscuolo
  2019-03-02  3:57                     ` Laura Lazzati
  2 siblings, 1 reply; 39+ messages in thread
From: Giovanni Biscuolo @ 2019-03-01 14:53 UTC (permalink / raw)
  To: sirgazil, Laura Lazzati; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 13691 bytes --]

Hi Laura and sirgazil,

I was able to build videos in 01-installation-from-script following the
updated informations in the README, that is:

1. environment.sh
2. install-fonts.sh
3. cd 01-installation-from-script/ && buildall.sh

the only "strange" message I see during the build is

--8<---------------cut here---------------start------------->8---
convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `01-installation-from-script/en_US/out/secondCli-0148.png' @ warning/png.c/MagickPNGWarningHandler/1667
--8<---------------cut here---------------end--------------->8---

but AFAIK we should ignore it
https://github.com/ImageMagick/ImageMagick/issues/884#issuecomment-451084328
(or make it quiet?)

sirgazil <sirgazil@zoho.com> writes:

[...]

> + Text is not rendered with the appropriate font (known issue).

with commit 1dd8478 font issues are gone: done!

> + Firefox 65.0.1 says "Video can't be played because the file is
> corrupt."

same here: each video built in 01-installation-from-script/en_US/videos/
fails to be played in Firefox 60.3.0esr

Chromium 72.0.3626.119 can play all them, but colours are altered like
with Totem from sirgazil tests; chromium auto-rescales the different
aspect ratio in cli and noCli videos

[...]

> As for the corrupted videos, in the Totem video player, the video plays 
> but black colors are displayed green instead (maybe result of the 
> corruption?). In VLC the video plays OK, and the colors are fine.

mpv also plays the video with unaltered colours but is non able to
manage the different aspect ratios: I have to switch to full-screen (so
auto-rescales) in cli sessions video parts and switch back to normal
screen when video svitches to noCli

[...]

about aspect ratio of videos, mediainfo reports:

--8<---------------cut here---------------start------------->8---
[...] 01-installation-from-script/en_US/videos $ mediainfo *
General
Complete name                            : 01-installation-from-script.webm
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 8.80 MiB
Duration                                 : 3 min 47 s
Overall bit rate                         : 324 kb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100 / Lavf58.20.100

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 3 min 47 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Writing library                          : Lavc58.35.100 libvpx-vp9
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:03:47.824000000

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 3 min 47 s
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Writing library                          : Lavc58.35.100 libopus
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:03:47.778000000

General
Complete name                            : 1.clino.01-installation-from-script.webm
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 2.41 MiB
Duration                                 : 56 s 973 ms
Overall bit rate                         : 355 kb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100 / Lavf58.20.100

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 56 s 967 ms
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Writing library                          : Lavc58.35.100 libvpx-vp9
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:56.973000000

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 56 s 973 ms
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Writing library                          : Lavc58.35.100 libopus
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:56.869000000

General
Complete name                            : 1.cliyes.firstCli.webm
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 4.73 MiB
Duration                                 : 1 min 48 s
Overall bit rate                         : 367 kb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100 / Lavf58.20.100

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 1 min 48 s
Width                                    : 1 495 pixels
Height                                   : 1 058 pixels
Display aspect ratio                     : 1.413
Frame rate mode                          : Constant
Frame rate                               : 20.000 FPS
Writing library                          : Lavc58.35.100 libvpx-vp9
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:01:48.157000000

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 1 min 48 s
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Writing library                          : Lavc58.35.100 libopus
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:01.008000000

General
Complete name                            : 2.clino.01-installation-from-script.webm
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 400 KiB
Duration                                 : 9 s 40 ms
Overall bit rate                         : 363 kb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100 / Lavf58.20.100

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 9 s 33 ms
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Writing library                          : Lavc58.35.100 libvpx-vp9
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:09.040000000

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 9 s 40 ms
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Writing library                          : Lavc58.35.100 libopus
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:08.996000000

General
Complete name                            : 2.cliyes.secondCli.webm
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 918 KiB
Duration                                 : 45 s 607 ms
Overall bit rate                         : 165 kb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100 / Lavf58.20.100

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 45 s 600 ms
Width                                    : 1 495 pixels
Height                                   : 1 058 pixels
Display aspect ratio                     : 1.413
Frame rate mode                          : Constant
Frame rate                               : 20.000 FPS
Writing library                          : Lavc58.35.100 libvpx-vp9
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:45.607000000

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 45 s 607 ms
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Writing library                          : Lavc58.35.100 libopus
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:01.008000000

General
Complete name                            : 3.clino.01-installation-from-script.webm
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 387 KiB
Duration                                 : 8 s 40 ms
Overall bit rate                         : 395 kb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100 / Lavf58.20.100

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 8 s 33 ms
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Writing library                          : Lavc58.35.100 libvpx-vp9
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:08.040000000

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 8 s 40 ms
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Writing library                          : Lavc58.35.100 libopus
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:07.988000000
--8<---------------cut here---------------end--------------->8---

we should find a way to scale all "cliyes" videos to 1920x1080 pixels

no idea why colours are altered in the browser (our main target, I
suppose)

..I have to stop for today

HTH!

Thanks!
Giovanni


-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-03-01 14:53                   ` Giovanni Biscuolo
@ 2019-03-02  3:57                     ` Laura Lazzati
  2019-03-02 13:36                       ` Laura Lazzati
  0 siblings, 1 reply; 39+ messages in thread
From: Laura Lazzati @ 2019-03-02  3:57 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: guix-devel

Hi!

Thank you very much for your feedback.

I have just pushed the first part of the second video. May someone
test it and give feedback too?

Regards :)
Laura

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: Guix video repository: First video script commited
  2019-03-02  3:57                     ` Laura Lazzati
@ 2019-03-02 13:36                       ` Laura Lazzati
  0 siblings, 0 replies; 39+ messages in thread
From: Laura Lazzati @ 2019-03-02 13:36 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: guix-devel

Hi Guix!
Have just pulled the second part of daily use video.
Feel free to test it :)
As regards the first part, please, try it too. I guess I made a
mistake, but maybe it is just in the commit message.
All feedback is welcome :)
Regards :)
Laura.

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2019-03-02 13:36 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-26 23:10 Guix video repository: First video script commited Björn Höfling
2019-02-26 23:20 ` Gábor Boskovits
2019-02-27  8:31   ` Gábor Boskovits
2019-02-27  8:47     ` Gábor Boskovits
2019-02-27 16:04       ` Björn Höfling
2019-02-27 16:41         ` Laura Lazzati
2019-02-27 17:44           ` Laura Lazzati
2019-02-27 17:49             ` Laura Lazzati
2019-02-27 18:18               ` Gábor Boskovits
2019-02-27 18:29                 ` Laura Lazzati
2019-02-27 18:37                   ` Gábor Boskovits
2019-02-27 17:59             ` Gábor Boskovits
2019-02-27 18:16               ` Laura Lazzati
2019-02-27 15:08     ` Laura Lazzati
2019-02-27 15:04 ` Laura Lazzati
2019-02-27 16:10   ` Björn Höfling
2019-02-27 19:37     ` Laura Lazzati
2019-02-28  2:31       ` Laura Lazzati
2019-02-28  2:40         ` Laura Lazzati
2019-02-28 17:49           ` Ricardo Wurmus
2019-02-28 17:54             ` Laura Lazzati
2019-02-28 18:45               ` Laura Lazzati
2019-02-28 19:14                 ` Gábor Boskovits
2019-02-28 21:17                   ` Laura Lazzati
2019-02-28 22:13                     ` Gábor Boskovits
2019-02-28 23:15                       ` Laura Lazzati
2019-02-28 19:36                 ` sirgazil
2019-02-28 21:52                   ` Laura Lazzati
2019-03-01 12:20                     ` sirgazil
2019-02-28 23:19                   ` Björn Höfling
2019-03-01 14:53                   ` Giovanni Biscuolo
2019-03-02  3:57                     ` Laura Lazzati
2019-03-02 13:36                       ` Laura Lazzati
2019-02-28 10:47         ` Giovanni Biscuolo
2019-02-28 17:46           ` Ricardo Wurmus
2019-03-01 11:12             ` Giovanni Biscuolo
2019-02-28 23:03           ` Björn Höfling
2019-03-01 11:01             ` Giovanni Biscuolo
2019-03-01 13:48               ` Björn Höfling

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.