[libav-api] Extracting srt file from mkv file
yuta.ooka at gmail.com
Thu Oct 3 10:03:56 CEST 2013
I'm sorry, I found that the mkv file doesn't contain any subtitles.
On 2013年10月3日 at 16:30:14, Yuta Ooka (yuta.ooka at gmail.com) wrote:
Do you mean "avconv -i <mkv input file> -map 0:s:0 -codec:s:0 copy sub.srt"?
I did it, but it doesn't work.
Thanks, Yuta Ooka
On 2013年10月3日 at 16:01:57, Anton Khirnov (anton at khirnov.net) wrote:
On Tue, 1 Oct 2013 19:28:44 +0900, Yuta Ooka <yuta.ooka at gmail.com> wrote:
> Thank you.
> I understood. I also want to know how to extract srt file from mkv file.
> I ran this command:
> avconv -i <mkv input file> -vn -an -codec:s:0.1 srt sub.srt
Try -map 0:s:0 -codec:s:0 copy
More information about the libav-api