Explain how to pass options to filters.
Unified · Split
| @@ -1888,9 +1888,19 @@ ffmpeg -i inurl -streamid 0:33 -streamid 1:36 out.ts · 1887 unmodified lines | |||
| 1888 | @end example | 1888 | @end example |
| 1889 | 1889 | ||
| 1890 | @item -bsf[:@var{stream_specifier}] @var{bitstream_filters} (@emph{output,per-stream}) | 1890 | @item -bsf[:@var{stream_specifier}] @var{bitstream_filters} (@emph{output,per-stream}) |
| 1891 | Set bitstream filters for matching streams. @var{bitstream_filters} is | 1891 | Apply bitstream filters to matching streams. |
| 1892 | a comma-separated list of bitstream filters. Use the @code{-bsfs} option | 1892 | |
| 1893 | to get the list of bitstream filters. | 1893 | @var{bitstream_filters} is a comma-separated list of bitstream filter |
| 1894 | specifications. The specified bitstream filters are applied to coded packets in | ||
| 1895 | the order they are written in. Each bitstream filter specification is of the | ||
| 1896 | form | ||
| 1897 | @example | ||
| 1898 | @var{filter}[=@var{optname0}=@var{optval0}:@var{optname1}=@var{optval1}:...] | ||
| 1899 | @end example | ||
| 1900 | Any of the ',=:' characters that are to be a part of an option value need to be | ||
| 1901 | escaped with a backslash. | ||
| 1902 | |||
| 1903 | Use the @code{-bsfs} option to get the list of bitstream filters. | ||
| 1894 | @example | 1904 | @example |
| 1895 | ffmpeg -i h264.mp4 -c:v copy -bsf:v h264_mp4toannexb -an out.h264 | 1905 | ffmpeg -i h264.mp4 -c:v copy -bsf:v h264_mp4toannexb -an out.h264 |
| 1896 | @end example | 1906 | @end example |