[MPlayer-users] How to generate soft subtitles with mencoder ?

a a you2bepie at yahoo.com
Thu Feb 2 11:08:20 CET 2012


These files definitely do not look like what is in the wiki (if that is ascii). Someone said that the original format for the subtitles were bitmaps and I would have to ocr them - arrg.

btw here is how mkvinfo describes them:
--
I presume the first one is english because it does not list the language; the second is french:
--
|  + Track number: 6
|  + Track UID: 6
|  + Track type: subtitles
|  + Lacing flag: 0
|  + Codec ID: S_HDMV/PGS
| + EbmlVoid (size: 28)
| + A track
|  + Track number: 8
|  + Track UID: 8
|  + Track type: subtitles
|  + Default flag: 0
|  + Lacing flag: 0
|  + Codec ID: S_HDMV/PGS
|  + Language: fra
| + EbmlVoid (size: 35)



--- On Wed, 2/1/12, Mark Blain <mblain2 at yahoo.com> wrote:

From: Mark Blain <mblain2 at yahoo.com>
Subject: Re: [MPlayer-users] How to generate soft subtitles with mencoder ?
To: mplayer-users at mplayerhq.hu
Date: Wednesday, February 1, 2012, 7:37 PM

a a <you2bepie at yahoo.com> wrote in
news:1328053863.7022.YahooMailClassic at web112908.mail.gq1.yahoo.com: 

> Ok. I extract the subtitles via mkvextract tracks #:output.srt
> -
> but how do I play the avi file with the subtitles in the srt file
> ? Both vlc and mplayer do not recognize the format of the srt file
> ? 

Both those programs can be configured to automatically open a
subtitle file with the same base name as the video. If it is not 
recognized even when opened manually, check the contents. Here's 
what .SRT data should look like:
<http://en.wikipedia.org/wiki/SubRip#SubRip_.srt_file_example>

MKVMERGE -i filename.MKV will list tracks by number and show 
the type of each.  'S_TEXT/UTF8' should be SRT data.
<http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvextract.html#mkvextract.output_file_formats>

_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users


More information about the MPlayer-users mailing list