[FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video)

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Dec 8 01:58:54 CET 2011


Jeff Sorrentino <jeffsorrentino <at> gmail.com> writes:

> FLAGS="$FLAGS --disable-everything"
> FLAGS="$FLAGS --enable-decoder=mpeg4 --enable-decoder=mpegvideo"
> FLAGS="$FLAGS --enable-decoder=aac --enable-decoder=h264"
> FLAGS="$FLAGS --enable-parser=aac --enable-parser=mpeg4video"
> FLAGS="$FLAGS --enable-parser=mpegaudio --enable-parser=mpegvideo"
> FLAGS="$FLAGS --enable-parser=ac3 --enable-parser=h261"
> FLAGS="$FLAGS --enable-parser=h264 --enable-parser=vc1"
> FLAGS="$FLAGS --enable-demuxer=mpegvideo --enable-demuxer=aac"
> FLAGS="$FLAGS --enable-demuxer=m4v --enable-demuxer=mov"
> FLAGS="$FLAGS --enable-demuxer=h264 --enable-demuxer=vc1"
> FLAGS="$FLAGS --enable-muxer=h264 --enable-muxer=mpeg2video"
> FLAGS="$FLAGS --enable-muxer=mp4 --enable-muxer=mov"
> FLAGS="$FLAGS --enable-protocol=file"
> FLAGS="$FLAGS --enable-indev=v4l --enable-indev=v4l2"

Just to make sure I understand you correctly:
Your mp4 files contain h264, mpeg4 ASP, MPEG 1 Video, MPEG 2 Video, H261 and
VC1? And they need video4linux (both versions)?
Note that "m4v", "mov" and "mp4" are redundant (one is sufficient).
The syntax allows to specify --enable-decoder=h264,aac (etc.)
The h264 demuxer is only needed if you want to demux raw h264 (non-mp4) streams.

Carl Eugen



More information about the ffmpeg-user mailing list