[Ffmpeg-devel] mpeg/mpeg4

Thomas Koninckx tkoninck
Sun Jan 8 16:08:53 CET 2006


I just ran into the following problem:
-write a testfile with output_example eg. ./output_example test.mpeg 
-convert to mpeg4 with ./ffmpeg -i test.mpeg -vcodec mpeg4

-> the resulting file is corrupted: mplayer assumes MPEG-PS, reports an
unknown aspect_ratio, resolution and framerate. Allso ffplay doesn't
recognize the file.

When the same is done with ./ffmpeg -i test.mpeg -vcodec mpeg4
testMpeg4.avi the result seems correct.

Is this 'normal', in other words, can a mpeg4 codec not be embedded in
an mpeg format? If this would be the case, which alternatives to the avi
format are available for use with the mpeg4 codec?
A mpeg4 codec with mpeg format however seemed to work with older
versions of ffmpeg. Current tests are done with today's cvs version.


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

More information about the ffmpeg-devel mailing list