For example to specify libx264 encoding options with ffmpeg:

ffmpeg -i foo.mpg -c:v libx264 -x264opts keyint=123:min-keyint=20 -an out.mkv
For example to specify libx264 encoding options with ffmpeg:

ffmpeg -i foo.mpg -c:v libx264 -x264opts keyint=123:min-keyint=20 -an out.mkv
For example to specify libx264 encoding options with ffmpeg:

ffmpeg -i foo.mpg -c:v libx264 -x264opts keyint=123:min-keyint=20 -an out.mkv
Sets the temporal scalability configuration using a :-separated list of key=value pairs. For example, to specify temporal scalability parameters with ffmpeg:

ffmpeg -i INPUT -c:v libvpx -ts-parameters ts_number_layers=3:\
ts_target_bitrate=250,500,1000:ts_rate_decimator=4,2,1:\
ts_periodicity=4:ts_layer_id=0,2,1,2:ts_layering_mode=3 OUTPUT
This option is valid only using the ffmpeg command-line tool. For library interface users, use global_quality.

ffmpeg -i INPUT -codec:v libtheora -q:v 10 OUTPUT.ogg
Output both per-frame SSIM data during encoding and average SSIM at the end of encoding to stdout. The format of per-frame information is:

SSIM: avg: %1.3f min: %1.3f max: %1.3f
Output average SSIM at the end of encoding to stdout. The format of showing the average SSIM is:

Average SSIM: %f
The blend filter also supports the framesync options.

blend=all_expr='A*(if(gte(T,10),1,T/10))+B*(1-(if(gte(T,10),1,T/10)))'
The blend filter also supports the framesync options.

blend=all_expr='A*(if(gte(T,10),1,T/10))+B*(1-(if(gte(T,10),1,T/10)))'
The blend filter also supports the framesync options.

blend=all_expr='A*(if(gte(T,10),1,T/10))+B*(1-(if(gte(T,10),1,T/10)))'
Use a :-separated list of key=value pairs. For example,

av_dict_set(&av_frame->metadata, "ref-frame-config", \
"rfc_update_buffer_slot=7:rfc_lst_fb_idx=0:rfc_gld_fb_idx=1:rfc_alt_fb_idx=2:rfc_reference_last=0:rfc_reference_golden=0:rfc_reference_alt_ref=0");

Recommend

FFMPEG ffmpeg Documentation 16 Video Encoders 16.11 libvpx 16.11.1 Options

FFMPEG ffmpeg Documentation 16 Video Encoders 16.10 libtheora 16.10.2 Examples

FFMPEG ffmpeg Documentation 16 Video Encoders 16.6 libaom-av1 16.6.1 Options

FFMPEG ffmpeg Documentation 16 Video Encoders 16.5 librav1e 16.5.1 Options

FFMPEG ffmpeg Documentation 16 Video Encoders 16.4 jpeg2000 16.4.1 Options

FFMPEG ffmpeg Documentation 15 Audio Encoders 15.5 libfdk_aac 15.5.2 Examples

FFMPEG ffmpeg Documentation 9 Codec Options

FFMPEG ffmpeg Documentation 8 Expression Evaluation

FFMPEG ffmpeg Documentation 7 Syntax 7.3 Time duration

FFMPEG ffmpeg Documentation 7 Syntax 7.2 Date

FFMPEG ffmpeg Documentation 7 Syntax 7.1 Quoting and escaping 7.1.1 Examples

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.26 prores_metadata

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.25 pcm_rechunk

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.23 noise 2.23.1 Examples

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.22 mpeg4_unpack_bframes

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.17 mjpeg2jpeg

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.16 imxdump

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.15 hevc_mp4toannexb

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.12 h264_mp4toannexb

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.10 hapqa_extract

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.9 filter_units

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters 2.5 dump_extra

FFMPEG FFmpeg Bitstream Filters Documentation 2 Bitstream Filters

FFMPEG FFmpeg Filters Documentation 17 Multimedia Sources 17.2 movie

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.32 zmq, azmq 16.32.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.32 zmq, azmq

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.31 split, asplit 16.31.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.30 spectrumsynth 16.30.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.28 showwavespic 16.28.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.27 showwaves 16.27.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.25 showspectrumpic 16.25.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.24 showspectrum 16.24.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.21 showcqt 16.21.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.20 settb, asettb 16.20.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.18 setpts, asetpts 16.18.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.17 sendcmd, asendcmd 16.17.2 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.17 sendcmd, asendcmd 16.17.1 Commands syntax

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.16 select, aselect 16.16.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.15 segment, asegment 16.15.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.12 metadata, ametadata 16.12.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.10 interleave, ainterleave 16.10.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.9 ebur128 16.9.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.8 concat 16.8.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.7 bench, abench 16.7.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.6 avectorscope 16.6.1 Examples

FFMPEG FFmpeg Filters Documentation 16 Multimedia Filters 16.5 aphasemeter 16.5.2 Examples

FFMPEG FFmpeg Filters Documentation 14 Video Sources 14.9 allrgb, allyuv, color, colorspectrum, haldclutsrc, nullsrc, pal75bars, pal100bars, rgbtestsrc, smptebars, smptehdbars, testsrc, testsrc2, yuvtestsrc 14.9.1 Examples

FFMPEG FFmpeg Filters Documentation 14 Video Sources 14.8 life 14.8.1 Examples

FFMPEG FFmpeg Filters Documentation 14 Video Sources 14.7 frei0r_src

FFMPEG FFmpeg Filters Documentation 14 Video Sources 14.3 coreimagesrc 14.3.1 Examples

FFMPEG FFmpeg Filters Documentation 14 Video Sources 14.3 coreimagesrc

FFMPEG FFmpeg Filters Documentation 14 Video Sources 14.2 cellauto 14.2.1 Examples

FFMPEG FFmpeg Filters Documentation 14 Video Sources 14.1 buffer

FFMPEG FFmpeg Filters Documentation 13 VAAPI Video Filters 13.1 overlay_vaapi 13.1.1 Examples

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.15 tonemap_opencl 12.15.1 Example

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.12 program_opencl

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.11 prewitt_opencl 12.11.1 Example

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.9 overlay_opencl 12.9.1 Examples

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.6 deshake_opencl 12.6.1 Examples

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.5 erosion_opencl 12.5.1 Example

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.4 convolution_opencl 12.4.1 Examples

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.3 colorkey_opencl 12.3.1 Examples

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.2 boxblur_opencl 12.2.1 Examples

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters 12.1 avgblur_opencl 12.1.1 Example

FFMPEG FFmpeg Filters Documentation 12 OpenCL Video Filters

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.274 zoompan 11.274.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.270 xstack 11.270.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.268 xfade 11.268.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.265 weave, doubleweave 11.265.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.261 vmafmotion

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.256 vflip

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.255 vidstabtransform 11.255.2 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.254 vidstabdetect 11.254.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.250 v360 11.250.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.248 untile 11.248.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.247 unsharp 11.247.1 Examples

FFMPEG FFmpeg Filters Documentation 11 Video Filters 11.243 transpose