Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to ask about mpeg4 codec parameters. I use it to encode video in Evalvid environment as follows:

./ffmpeg -s cif -r 30 -b 64000 -bt 3200 -g 30 -i raw.yuv -vcodec mpeg4 vid.m4v

The video will be encoded using the MPEG-4 codec. What are the specific parts from MPEG-4 that will be taken if mpeg4 is added as encoding parameter?

share|improve this question

1 Answer 1

It encodes MPEG-4 Part 2, as used by the XviD/DivX encoders. If you want MPEG-4 Part 10, also known as MPEG-4 AVC or H.264, use the encoder libx264 instead.

It uses the Simple Profile by default (Simple@L1 to be precise).

share|improve this answer
Without specifying anything else it uses the Simple profile. No idea how to get ASP or others, as I've never had to work with MPEG-4 Part 2 a lot. –  slhck Jun 8 '13 at 20:52
@slhck as always, I bow to your superior knowledge :) –  evilsoup Jun 8 '13 at 20:55
Okay, it uses Simple profile if (and only if) neither B-frames nor Qpel motion compensation are enabled, or if you specify it through profile (no idea what the options are). See mpeg4_encode_visual_object_header in mpeg4videoenc.c. –  slhck Jun 8 '13 at 21:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.