]> git.sesse.net Git - ffmpeg/blobdiff - doc/bitstream_filters.texi
Support detecting and demuxing EIA-608 subtitles in mov.
[ffmpeg] / doc / bitstream_filters.texi
index ae56b355a7d0da615945b329851dd9fe35bc29bb..2ee00c134baadf596c0eb75a12f03c6255e79bc2 100644 (file)
@@ -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
@@ -57,7 +71,7 @@ stream (carrying the AVI1 header ID and lacking a DHT segment) to
 produce fully qualified JPEG images.
 
 @example
-ffmpeg -i mjpeg-movie.avi -c:v copy -vbsf mjpeg2jpeg frame_%d.jpg
+ffmpeg -i mjpeg-movie.avi -c:v copy -bsf:v mjpeg2jpeg frame_%d.jpg
 exiftran -i -9 frame*.jpg
 ffmpeg -i frame_%d.jpg -c:v copy rotated.avi
 @end example