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

a a you2bepie at yahoo.com
Thu Feb 2 11:26:19 CET 2012


Opps - thanks! 

mkvmerge did work; even though the file didn't look right I went ahead and tried mkvmerge and it worked fine so I think I'm set. It is a bit painful since I can't script the entire thing because I have to manually find the track to extract but there are only a few films where they mix languages that I need this.

Thank you very much for the assitance !

(kind of wish mencoder could do this automagically; maybe a future version ?)

--- On Thu, 2/2/12, a a <you2bepie at yahoo.com> wrote:

From: a a <you2bepie at yahoo.com>
Subject: Re: [MPlayer-users] How to generate soft subtitles with mencoder ?
To: "feature requests bug reportsMPlayer usage questions" <mplayer-users at mplayerhq.hu>
Date: Thursday, February 2, 2012, 5:08 AM

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
_______________________________________________
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