FFMPEG: MPEG2 Encoder Options

Run:

% ffmpeg -h encoder=mpeg2video

And you get:

Encoder mpeg2video [MPEG-2 video]:
    General capabilities: delay threads
    Threading capabilities: slice
    Supported framerates: 1/1 2/1 3/1 4/1 5/1 6/1 8/1 9/1 10/1 12/1 15/1 16/1 18/1 20/1 24/1 25/1 30/1 32/1 36/1 40/1 45/1 48/1 50/1 60/1 72/1 75/1 80/1 90/1 96/1 100/1 120/1 150/1 180/1 200/1 240/1 750/1001 800/1001 960/1001 1000/1001 1200/1001 1250/1001 1500/1001 1600/1001 1875/1001 2000/1001 2400/1001 2500/1001 3000/1001 3750/1001 4000/1001 4800/1001 5000/1001 6000/1001 7500/1001 8000/1001 10000/1001 12000/1001 15000/1001 20000/1001 24000/1001 30000/1001 60000/1001
    Supported pixel formats: yuv420p yuv422p
mpeg2video encoder AVOptions:
  -gop_timecode      <string>     E..V..... MPEG GOP Timecode in hh:mm:ss[:;.]ff format. Overrides timecode_frame_start.
  -intra_vlc         <boolean>    E..V..... Use MPEG-2 intra VLC table. (default false)
  -drop_frame_timecode <boolean>    E..V..... Timecode is in drop frame format. (default false)
  -scan_offset       <boolean>    E..V..... Reserve space for SVCD scan offset user data. (default false)
  -timecode_frame_start <int64>      E..V..... GOP timecode frame start number, in non-drop-frame format (from -1 to I64_MAX) (default -1)
  -non_linear_quant  <boolean>    E..V..... Use nonlinear quantizer. (default false)
  -alternate_scan    <boolean>    E..V..... Enable alternate scantable. (default false)
  -seq_disp_ext      <int>        E..V..... Write sequence_display_extension blocks. (from -1 to 1) (default auto)
     auto                         E..V.....
     never                        E..V.....
     always                       E..V.....
  -video_format      <int>        E..V..... Video_format in the sequence_display_extension indicating the source of the video. (from 0 to 7) (default unspecified)
     component                    E..V.....
     pal                          E..V.....
     ntsc                         E..V.....
     secam                        E..V.....
     mac                          E..V.....
     unspecified                  E..V.....
  -mpv_flags         <flags>      E..V..... Flags common for all mpegvideo-based encoders. (default 0)
     skip_rd                      E..V..... RD optimal MB level residual skipping
     strict_gop                   E..V..... Strictly enforce gop size
     qp_rd                        E..V..... Use rate distortion optimization for qp selection
     cbp_rd                       E..V..... use rate distortion optimization for CBP
     naq                          E..V..... normalize adaptive quantization
     mv0                          E..V..... always try a mb with mv=<0,0>
  -luma_elim_threshold <int>        E..V..... single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
  -chroma_elim_threshold <int>        E..V..... single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
  -quantizer_noise_shaping <int>        E..V..... (from 0 to INT_MAX) (default 0)
  -error_rate        <int>        E..V..... Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0)
  -qsquish           <float>      E..V..... how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0)
  -rc_qmod_amp       <float>      E..V..... experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0)
  -rc_qmod_freq      <int>        E..V..... experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0)
  -rc_eq             <string>     E..V..... Set rate control equation. When computing the expression, besides the standard functions defined in the section 'Expression Evaluation', the following functions are available: bits2qp(bits), qp2bits(qp). Also the following constants are available: iTex pTex tex mv fCode iCount mcVar var isI isP isB avgQP qComp avgIITex avgPITex avgPPTex avgBPTex avgTex.
  -rc_init_cplx      <float>      E..V..... initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0)
  -rc_buf_aggressivity <float>      E..V..... currently useless (from -FLT_MAX to FLT_MAX) (default 1)
  -border_mask       <float>      E..V..... increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0)
  -lmin              <int>        E..V..... minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236)
  -lmax              <int>        E..V..... maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658)
  -ibias             <int>        E..V..... intra quant bias (from INT_MIN to INT_MAX) (default 999999)
  -pbias             <int>        E..V..... inter quant bias (from INT_MIN to INT_MAX) (default 999999)
  -rc_strategy       <int>        E..V..... ratecontrol method (from 0 to 1) (default ffmpeg)
     ffmpeg                       E..V..... deprecated, does nothing
     xvid                         E..V..... deprecated, does nothing
  -motion_est        <int>        E..V..... motion estimation algorithm (from 0 to 2) (default epzs)
     zero                         E..V.....
     epzs                         E..V.....
     xone                         E..V.....
  -force_duplicated_matrix <boolean>    E..V..... Always write luma and chroma matrix for mjpeg, useful for rtp streaming. (default false)
  -b_strategy        <int>        E..V..... Strategy to choose between I/P/B-frames (from 0 to 2) (default 0)
  -b_sensitivity     <int>        E..V..... Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40)
  -brd_scale         <int>        E..V..... Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0)
  -skip_threshold    <int>        E..V..... Frame skip threshold (from INT_MIN to INT_MAX) (default 0)
  -skip_factor       <int>        E..V..... Frame skip factor (from INT_MIN to INT_MAX) (default 0)
  -skip_exp          <int>        E..V..... Frame skip exponent (from INT_MIN to INT_MAX) (default 0)
  -skip_cmp          <int>        E..V..... Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax)
     sad                          E..V..... Sum of absolute differences, fast
     sse                          E..V..... Sum of squared errors
     satd                         E..V..... Sum of absolute Hadamard transformed differences
     dct                          E..V..... Sum of absolute DCT transformed differences
     psnr                         E..V..... Sum of squared quantization errors, low quality
     bit                          E..V..... Number of bits needed for the block
     rd                           E..V..... Rate distortion optimal, slow
     zero                         E..V..... Zero
     vsad                         E..V..... Sum of absolute vertical differences
     vsse                         E..V..... Sum of squared vertical differences
     nsse                         E..V..... Noise preserving sum of squared differences
     dct264                       E..V.....
     dctmax                       E..V.....
     chroma                       E..V.....
     msad                         E..V..... Sum of absolute differences, median predicted
  -sc_threshold      <int>        E..V..... Scene change threshold (from INT_MIN to INT_MAX) (default 0)
  -noise_reduction   <int>        E..V..... Noise reduction (from INT_MIN to INT_MAX) (default 0)
  -mpeg_quant        <int>        E..V..... Use MPEG quantizers instead of H.263 (from 0 to 1) (default 0)
  -ps                <int>        E..V..... RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0)
  -mepc              <int>        E..V..... Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256)
  -mepre             <int>        E..V..... pre motion estimation (from INT_MIN to INT_MAX) (default 0)

Comments

Popular posts from this blog

FFMPEG Deinterlacing Modes

Remote debugging with GDB and GDBServer on Alpine and Visual Studio Code

Build FFMPEG for Windows Using Visual Studio Toolchain