如何正确地将pgssub字幕提取到txt文件?
我有这个目标输入流:
Stream#0:2(eng):字幕:hdmv_pgs_subtitle,1920x1080(默认)
我想将这个字幕像srt一样保存到txt文件中:
$ ffmpeg -i inp.mkv -map 0:2 eng.srt
ffmpeg说:
blah blah blah...
Stream mapping:
Stream #0:2 -> #0:0 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
如何正确提取这个字幕?