Page 1 of 1

extract subtitles stream from avi

Posted: Mon Apr 09, 2012 16:35
by msdobrescu
Hello,

I have a bunch of avi's with an additional subtitles stream.
How could I extract them (they are sub, not DVD or hardcoded).

Thank you.

Re: extract subtitles stream from avi

Posted: Wed Apr 25, 2012 21:45
by ShadowCat8
Well,

I know that you can do it with 'ffmpeg'. Ffmpeg supports the following subtitle codecs:
  • ass - Advanced SubStation Alpha subtitle
  • dvbsub - DVB subtitles
  • dvdsub - DVD subtitles
  • pgssub - HDMV Presentation Graphic Stream subtitles
  • srt - SubRip subtitle
  • xsub - DivX subtitles (XSUB)
And, if you're not sure which one you need, you can usually get an idea from running the following command on the avi file:

Code: Select all

 ~ $ ffplay -an -vn -stats <path to AVI file> 
HTH. Let us know.

Re: extract subtitles stream from avi

Posted: Sat May 12, 2012 8:35
by msdobrescu
Hello,

Sorry to reply so late.
I don't know what's wrong, but it didn't work.
I have used mkvmerge to remux it and extract it from the mkv.