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
18881888 @end example
18891889
18901890 @item -bsf[:@var{stream_specifier}] @var{bitstream_filters} (@emph{output,per-stream})
1891−Set bitstream filters for matching streams. @var{bitstream_filters} is
1892−a comma-separated list of bitstream filters. Use the @code{-bsfs} option
1893−to get the list of bitstream filters.
1891+Apply bitstream filters to matching streams.
1892+
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.
18941904 @example
18951905 ffmpeg -i h264.mp4 -c:v copy -bsf:v h264_mp4toannexb -an out.h264
18961906 @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