diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-02-27 22:39:09 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-02-27 22:39:09 +0000 |
commit | 330e914f57a987434f42d50d71f7b491ca282eb5 (patch) | |
tree | 003cd9ca98270e2564b2b3b2b8786c8fc1b6c83c | |
parent | e47b8f411528500d46aabbb31af31c141cfd6eba (diff) |
Skriv ot ffmpeg-kommandoen for enklere feilsøking.
-rwxr-xr-x | frikanalen/bin/scheduler | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frikanalen/bin/scheduler b/frikanalen/bin/scheduler index bc72429..b6965e7 100755 --- a/frikanalen/bin/scheduler +++ b/frikanalen/bin/scheduler @@ -530,7 +530,11 @@ sub generate_program { } # Png input is broken in ffmpeg . Jpg works. unlink($pausevid); - system("ffmpeg -loop_input -t 10 -i $tmpjpg -b 1800 -r 25 -s ${palwidth}x${palheight} $pausevid"); + my @ffmpegcmd = ("ffmpeg", "-loop_input", "-t", "10", "-i", $tmpjpg, "-b", "1800", + "-r", "25", "-s", "${palwidth}x${palheight}", "-f", "ogg", + $pausevid); + print join(" ", @ffmpegcmd, "\n"); + system(@ffmpegcmd); return $pausevid; } else { print "Unable to save temporary image file\n"; |