|
From: | Christian Alpen |
Subject: | Re: Video generation on linux systems: Note and rests change color |
Date: | Thu, 16 Nov 2017 12:46:17 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
That solved the problem for me. I changed the usleep 250 to sleep 0.000250 in mkvideo. Now the short video_mwe.ly goes pretty fast.My own first project takes a little longer, for example while "bursting pdf...", but with 200 pages i think that's o.k. For the cpu load shows 100% instead of before with usleep 250. So I know it's working and not stuck.
I have some further questions (if they still fit in here?):1. Is the ./kptestpiano.sf2 desperately needed? As I couldn't get this prerepuisite solved, I followed Karlin's tip
and replaced it with 'usr/share/sounds/sf2/FluidR3_GM.sf2'2. Can the metronom be skipped by some command in the .ly-file? Or do I Have to edit the mkvideo for that?
3. Am I bound to 16:9 format, or is it possible for example to view an entire A4 page?
4. What about repeats? Right now I one part with repeats, that is only rendered once. Of course there is a workound with editing the video. But would it be possible to get this done while generating the video?
Thanks a lot for all your help! Am 16.11.2017 um 00:06 schrieb Knut Petersen:
Yes, but it's a factor of a million, not a thousand, so sleep 0.00025 would be appropriate as a replacement for usleep 250.Any short sleep is ok at that place of the script ... Knut
[Prev in Thread] | Current Thread | [Next in Thread] |