[libav-api] Extracting srt file from mkv file

Anton Khirnov anton at khirnov.net
Thu Oct 3 09:01:54 CEST 2013

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

Anton Khirnov

More information about the libav-api mailing list