Re: Guix video repository: First video script commited
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.
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
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 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.82400 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.77800 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.97300 Audio ID : 2 Format
Re: Guix video repository: First video script commited
On Fri, 01 Mar 2019 12:01:45 +0100 Giovanni Biscuolo 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 pgpUncwt8wnhf.pgp Description: OpenPGP digital signature
Re: Guix video repository: First video script commited
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/
Re: Guix video repository: First video script commited
Ricardo Wurmus 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 signature.asc Description: PGP signature
Re: Guix video repository: First video script commited
Hi Björn, Björn Höfling 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 signature.asc Description: PGP signature
Re: Guix video repository: First video script commited
On Thu, 28 Feb 2019 14:36:41 -0500 sirgazil 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 > > 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 pgp6mm5NfU_le.pgp Description: OpenPGP digital signature
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
On Thu, 28 Feb 2019 11:47:26 +0100 Giovanni Biscuolo 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 pgpfTwkd8PGad.pgp Description: OpenPGP digital signature
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
On Thu, Feb 28, 2019 at 4:14 PM Gábor Boskovits wrote: > > Hello Laura, > > Laura Lazzati ezt írta (időpont: 2019. > febr. 28., Cs, 19:45): > > > > On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati > > 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
Re: Guix video repository: First video script commited
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 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/
Re: Guix video repository: First video script commited
Hello Laura, Laura Lazzati ezt írta (időpont: 2019. febr. 28., Cs, 19:45): > > On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati > 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
Re: Guix video repository: First video script commited
On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati 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
Re: Guix video repository: First video script commited
> 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 :)
Re: Guix video repository: First video script commited
Laura Lazzati 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
Re: Guix video repository: First video script commited
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 /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-.[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 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 signature.asc Description: PGP signature
Re: Guix video repository: First video script commited
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.
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
Hello Laura, Laura Lazzati 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
Re: Guix video repository: First video script commited
On Wed, Feb 27, 2019 at 2:59 PM Gábor Boskovits wrote: > > Hello Laura, > > Laura Lazzati 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
Re: Guix video repository: First video script commited
Hello Laura, Laura Lazzati 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
Re: Guix video repository: First video script commited
> 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
Re: Guix video repository: First video script commited
Hello Laura, Laura Lazzati 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
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
PS: this is my ipfs hash for the video Qmb3vPfKVgXRKZdYVAAzptmBDTa5kixhiVr8tsAZQVmWa9
Re: Guix video repository: First video script commited
> 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 :)
Re: Guix video repository: First video script commited
On Wed, 27 Feb 2019 12:04:40 -0300 Laura Lazzati 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 pgpUqg4Pp5oAC.pgp Description: OpenPGP digital signature
Re: Guix video repository: First video script commited
On Wed, 27 Feb 2019 09:47:46 +0100 Gábor Boskovits 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 pgpfJjckHfGSy.pgp Description: OpenPGP digital signature
Re: Guix video repository: First video script commited
> 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.
Re: Guix video repository: First video script commited
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 :)
Re: Guix video repository: First video script commited
I have checked some things: Gábor Boskovits 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
Re: Guix video repository: First video script commited
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
Re: Guix video repository: First video script commited
Hello Björn, Björn Höfling 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
Guix video repository: First video script commited
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 pgprI8mU2ne3D.pgp Description: OpenPGP digital signature