Il 29/03/2013 15:25, Tim Goetze ha scritto:
You need to add "-loop_input" if the video
input is a single frame,
and then you'll also need to add "-t <duration_in_seconds>" to make
ffmpeg finish the encoding because otherwise the looped image input
will run on past the end of the audio stream.
My ffmpeg (version 1.0.5) says -loop_input is deprecate, and use "loop
1" instead. But also without loop parameter seems to work. I don't know
why :)
Same for -t parameter. It can stop movie after n seconds, but is not
required
Also, if the audio is already mp3-encoded, it's probably better to use
"-acodec copy" to prevent degradation from re-encoding.
+1
Actually, I'm not sure you need to upload
h.264/mp3 to youtube; I'd
certainly try a format with ogg-encoded audio first.
+1
Ivan