History

doc/ffmpeg: expand -bsf documentation

Explain how to pass options to filters.

Anton Khirnov committed 3 years ago

Commit 436b9721 parent a8d9d6b1 file · +13 −3Browse files

Unified · Split

doc/ffmpeg.texi+13−3
@@ -1888,9 +1888,19 @@ ffmpeg -i inurl -streamid 0:33 -streamid 1:36 out.ts · 1887 unmodified lines
1888@end example1888@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})
1891Set bitstream filters for matching streams. @var{bitstream_filters} is1891Apply bitstream filters to matching streams.
1892a comma-separated list of bitstream filters. Use the @code{-bsfs} option1892
1893to get the list of bitstream filters.1893@var{bitstream_filters} is a comma-separated list of bitstream filter
1894specifications. The specified bitstream filters are applied to coded packets in
1895the order they are written in. Each bitstream filter specification is of the
1896form
1897@example
1898@var{filter}[=@var{optname0}=@var{optval0}:@var{optname1}=@var{optval1}:...]
1899@end example
1900Any of the ',=:' characters that are to be a part of an option value need to be
1901escaped with a backslash.
1902
1903Use the @code{-bsfs} option to get the list of bitstream filters.
1894@example1904@example
1895ffmpeg -i h264.mp4 -c:v copy -bsf:v h264_mp4toannexb -an out.h2641905ffmpeg -i h264.mp4 -c:v copy -bsf:v h264_mp4toannexb -an out.h264
1896@end example1906@end example

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t