aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-12 23:39:03 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-01-14 12:36:41 +0100
commit4057505e28a4a3a4e3b3a3a404def16e36ea2eec (patch)
tree5a328a8972a12c33008e26781e5279627cff671a
parent28002030f22a18f8086dff4ba5bc18940584445c (diff)
downloadffmpeg-4057505e28a4a3a4e3b3a3a404def16e36ea2eec.tar.gz
doc/bistream_filters.texi: add documentation for the h264_mp4toannexb filter
-rw-r--r--doc/bitstream_filters.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index ae56b355a7..e131f44324 100644
--- a/doc/bitstream_filters.texi
+++ b/doc/bitstream_filters.texi
@@ -23,6 +23,20 @@ Below is a description of the currently available bitstream filters.
@section h264_mp4toannexb
+Convert an H.264 bitstream from length prefixed mode to start code
+prefixed mode (as defined in the Annex B of the ITU-T H.264
+specification).
+
+This is required by some streaming formats, typically the MPEG-2
+transport stream format ("mpegts").
+
+For example to remux an MP4 file containing an H.264 stream to mpegts
+format with @command{ffmpeg}, you can use the command:
+
+@example
+ffmpeg -i INPUT.mp4 -codec copy -bsf:v h264_mp4toannexb OUTPUT.ts
+@end example
+
@section imx_dump_header
@section mjpeg2jpeg