[FFmpeg-devel] [PATCH] doc/bsf: document movsub2txt and txt2movsub

Lou Logan lou at lrcd.com
Thu May 29 02:19:03 CEST 2014


Signed-off-by: Lou Logan <lou at lrcd.com>
---
* I could not figure out an example for text2movsub
* mov_text sample: http://samples.ffmpeg.org/mov/subtitles-embedded/water_phase_diagram_cap.mov

 doc/bitstream_filters.texi | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index 9bcb12c..6bd3e9c 100644
--- a/doc/bitstream_filters.texi
+++ b/doc/bitstream_filters.texi
@@ -115,7 +115,13 @@ ffmpeg -i frame_%d.jpg -c:v copy rotated.avi
 
 @section mjpega_dump_header
 
- at section movsub
+ at section mov2textsub
+
+Converts mov_text subtitles to plain text subtitles.
+
+ at example
+ffmpeg -i input.mov -map 0:s -bsf:s mov2textsub -codec:s copy -f rawvideo out.txt
+ at end example
 
 @section mp3_header_decompress
 
@@ -123,4 +129,8 @@ ffmpeg -i frame_%d.jpg -c:v copy rotated.avi
 
 @section remove_extra
 
+ at section text2movsub
+
+Converts plain text subtitles to mov_text subtitles.
+
 @c man end BITSTREAM FILTERS
-- 
1.9.3



More information about the ffmpeg-devel mailing list