这些也是全局选项,但是功能上不是很常用,可以实现一些高级功能。

Advanced global options:


-cpuflags flags     force specific cpu flags

-hide_banner hide_banner  do not show program banner

-copy_unknown       Copy unknown stream types

-benchmark          add timings for benchmarking

-benchmark_all      add timings for each task

-progress url       write program-readable progress information

-stdin              enable or disable interaction on standard input

-timelimit limit    set max runtime in seconds in CPU user time

-dump               dump each input packet

-hex                when dumping packets, also dump the payload

-vsync              video sync method

-frame_drop_threshold   frame drop threshold

-async              audio sync method

-adrift_threshold threshold  audio drift threshold

-copyts             copy timestamps

-start_at_zero      shift input timestamps to start at 0 when using copyts

-copytb mode        copy input stream time base when stream copying

-dts_delta_threshold threshold  timestamp discontinuity delta threshold

-dts_error_threshold threshold  timestamp error delta threshold

-xerror error       exit on error

-abort_on flags     abort on the specified condition flags

-filter_complex graph_description  create a complex filtergraph

-lavfi graph_description  create a complex filtergraph

-filter_complex_script filename  read complex filtergraph description from a file

-debug_ts           print timestamp debugging info

-intra              deprecated use -g 1

-sameq              Removed

-same_quant         Removed

-deinterlace        this option is deprecated, use the yadif filter instead

-psnr               calculate PSNR of compressed frames

-vstats             dump video coding statistics to file

-vstats_file file   dump video coding statistics to file

-vstats_version     Version of the vstats format to use.

-qphist             show QP histogram

-vc channel         deprecated, use -channel

-tvstd standard     deprecated, use -standard

-isync              this option is deprecated and does nothing

-sdp_file file      specify a file in which to print sdp information

-qsv_device device  set QSV hardware device (DirectX adapter index, DRM path or X11 display name)

-init_hw_device args  initialise hardware device

-filter_hw_device device  set hardware device used when filtering