summaryrefslogtreecommitdiff
path: root/doc/bitstream_filters.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-07-08 12:37:59 +0200
committerMarton Balint <cus@passwd.hu>2017-07-09 19:41:58 +0200
commitb406f387c80956a4f04ad69f524b7092660ff823 (patch)
treeba2ca0b1e8bc0bc08eb061723d0253c2f93899db /doc/bitstream_filters.texi
parentfe9242204d33db070b8a9d907d93c9ead8a6f3ee (diff)
avcodec/noise_bsf: add support for dropping packets
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/bitstream_filters.texi')
-rw-r--r--doc/bitstream_filters.texi14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index 926610ca7b..2dffe021f9 100644
--- a/doc/bitstream_filters.texi
+++ b/doc/bitstream_filters.texi
@@ -220,19 +220,27 @@ ffmpeg -i INPUT.avi -codec copy -bsf:v mpeg4_unpack_bframes OUTPUT.avi
@section noise
-Damages the contents of packets without damaging the container. Can be
-used for fuzzing or testing error resilience/concealment.
+Damages the contents of packets or simply drops them without damaging the
+container. Can be used for fuzzing or testing error resilience/concealment.
Parameters:
+@table @option
+@item amount
A numeral string, whose value is related to how often output bytes will
be modified. Therefore, values below or equal to 0 are forbidden, and
the lower the more frequent bytes will be modified, with 1 meaning
every byte is modified.
+@item dropamount
+A numeral string, whose value is related to how often packets will be dropped.
+Therefore, values below or equal to 0 are forbidden, and the lower the more
+frequent packets will be dropped, with 1 meaning every packet is dropped.
+@end table
+The following example applies the modification to every byte but does not drop
+any packets.
@example
ffmpeg -i INPUT -c copy -bsf noise[=1] output.mkv
@end example
-applies the modification to every byte.
@section null
This bitstream filter passes the packets through unchanged.