aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-08 12:11:41 +0200
committerAnton Khirnov <anton@khirnov.net>2023-11-14 18:18:26 +0100
commit436b972fc82ea40e8dcdd1981605250c155ba321 (patch)
tree5fef24c86b475269ec52b0b6112dff2ea639a5fc /doc
parenta8d9d6b08d638adf5f3b5a93da9d2fb93ce19bbf (diff)
downloadffmpeg-436b972fc82ea40e8dcdd1981605250c155ba321.tar.gz
doc/ffmpeg: expand -bsf documentation
Explain how to pass options to filters.
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg.texi16
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index ea473e14e8..68363ae045 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1888,9 +1888,19 @@ ffmpeg -i inurl -streamid 0:33 -streamid 1:36 out.ts
@end example
@item -bsf[:@var{stream_specifier}] @var{bitstream_filters} (@emph{output,per-stream})
-Set bitstream filters for matching streams. @var{bitstream_filters} is
-a comma-separated list of bitstream filters. Use the @code{-bsfs} option
-to get the list of bitstream filters.
+Apply bitstream filters to matching streams.
+
+@var{bitstream_filters} is a comma-separated list of bitstream filter
+specifications. The specified bitstream filters are applied to coded packets in
+the order they are written in. Each bitstream filter specification is of the
+form
+@example
+@var{filter}[=@var{optname0}=@var{optval0}:@var{optname1}=@var{optval1}:...]
+@end example
+Any of the ',=:' characters that are to be a part of an option value need to be
+escaped with a backslash.
+
+Use the @code{-bsfs} option to get the list of bitstream filters.
@example
ffmpeg -i h264.mp4 -c:v copy -bsf:v h264_mp4toannexb -an out.h264
@end example