ffmpeg:subtitles:extract_hdmv_pgs_subtitles
ffmpeg - Subtitles - Extract hdmv pgs subtitles
ffmpeg -i "00000.m2ts" -map 0:s -c copy subtitles.sup
NOTE: PGS is bitmap subtitles.
- In other words, it is a bunch of pictures showing the subtitles that are simply placed on top of the video upon display.
- Meanwhile, SRT is text subtitles: it is a plain text file that contains the text of each subtitle line and the times when the line is to be displayed.
To convert images to text, you need some sort of OCR (optical character recognition) software.
ffmpeg/subtitles/extract_hdmv_pgs_subtitles.txt · Last modified: 2025/01/18 17:15 by peter