extract subtitles stream from avi

Discussions Regarding Software

Moderator: Moderators

Post Reply
msdobrescu
Old Dear Hen
Posts: 750
Joined: Sun Aug 21, 2011 8:48

extract subtitles stream from avi

Post by msdobrescu » Mon Apr 09, 2012 16:35

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.

ShadowCat8
Baby Hen
Posts: 12
Joined: Tue Nov 15, 2011 22:07
Location: That shadow you thought you saw something moving in...

Re: extract subtitles stream from avi

Post by ShadowCat8 » Wed Apr 25, 2012 21:45

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.
Regards,

ShadowCat8
==========

"I do not feel obliged to believe that the same God who has endowed
us with sense, reason, and intellect has intended us to forgo their use."

-- Galileo Galilei

msdobrescu
Old Dear Hen
Posts: 750
Joined: Sun Aug 21, 2011 8:48

Re: extract subtitles stream from avi

Post by msdobrescu » Sat May 12, 2012 8:35

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.

Post Reply