FFMPEG An Intermediate Guide/Flags Flags
This should help define the flags command in FFMPEG.
The flag command is used to by calling "-flag", followed by a single space and then all flags with a plus "+" or minus "-" sign preceding each indicating active or inactive flag respectively.
Contents |
[edit] mv4
Affects: Encoding, Video
use four motion vector by macroblock (mpeg4)
[edit] obmc
Affects: Encoding, Video
use overlapped block motion compensation (h263+)
[edit] qpel
Affects: Encoding, Video
use 1/4 pel motion compensation
[edit] loop
Affects: Encoding, Video
use loop filter
[edit] gmc
Affects: Encoding, Video
use gmc
[edit] mv0
Affects: Encoding, Video
always try a mb with mv=<0,0>
[edit] part
Affects: Encoding, Video
use data partitioning
[edit] gray
Affects: Encoding, Decoding, Video
only decode/encode grayscale
[edit] psnr
Affects: Encoding, Video
error[?] variables will be set during encoding
[edit] naq
Affects: Encoding, Video
normalize adaptive quantization
[edit] low_delay
Affects: Encoding, Video
force low delay
[edit] alt
Affects: Encoding, Video
enable alternate scantable (mpeg2/mpeg4)
[edit] global_header
Affects: Encoding, Video, Audio
place global headers in extradata instead of every keyframe
[edit] bitexact
Affects: Encoding, Decoding, Video, Audio, S (not sure but assuming subtitles)
EDVAS use only bitexact stuff (except (i)dct)
[edit] aic
Affects: Encoding, Video
h263 advanced intra coding / mpeg4 ac prediction
[edit] umv
Affects: Encoding, Video
use unlimited motion vectors
[edit] cbp
Affects: Encoding, Video
use rate distortion optimization for cbp
[edit] qprd
Affects: Encoding, Video
use rate distortion optimization for qp selection
[edit] aiv
Affects: Encoding, Video
h263 alternative inter vlc
[edit] slice
Affects: Encoding, Video
[edit] ilme
Affects: Encoding, Video Codecs/Containers: MPEG 2 and MPEG 4. Interlaced fotage
Force InterLaced Motion Estimation, this is only necessary if you are working with interlaced video. It will force FFMPEG to maintain Quality with interlace footage. If you wish to deinterlace your footage please use '-deinterlace' option, but this will cause a quality lose in the video. Rule of thumb is anything intended is for television is interlace, any other delivery format is most likely progressive.
[edit] ildct
Affects: Encoding, Video
Use when encoding Interlaced footage to ensure that FFMPEG doesn't field merge your DCT. Only affects Interlaced footage.
[edit] scan_offset
Affects: Encoding, Video
will reserve space for svcd scan offset user data
[edit] cgop
Affects: Encoding, Video
closed gop
[edit] Problems
[edit] trell
Trell is know longer a flag option, please use -trellis instead.