[FFmpeg-user] header information in generated avi file?

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 13 08:09:36 CET 2012

Peter Wallis <p.wallis <at> dcs.shef.ac.uk> writes:

> ffmpeg -loop_input -shortest -r 5 -i f01.jpg -i f01.wav -acodec pcm_s16le
> -ar 44100 -ac 1 -vcodec mjpeg -y f01.avi

Complete, uncut output missing.
Does WMP play the resulting file?

> The resulting avi file works on most players (although there is in some
> cases confusion about when the stop playing) but, when I play it with an
> application I have written using JMF (I know ...) I get no sound and no
> image - although the duration is correct.  The JMF application works on
> other avi files.

Does it play the result of
ffmpeg -loop_input -r 5 -i f01.jpg -vcodec mjpeg -vframes 100 video.avi
ffmpeg -i f01.wav -acodec pcm_s16le audio.avi

Carl Eugen

More information about the ffmpeg-user mailing list