[MPlayer-users] Help with Mplayer and SRT subtitles

Jason Garrett-Glaser darkshikari at gmail.com
Mon Mar 26 02:11:30 CEST 2007


Thanks a bunch, it worked.  Is there any way to get mplayer to use the
fonts included in the MKV stream, as in:

[mkv] |  + Name: English Subs (ASS)
[mkv] /---- [ parsing attachments ] ---------
[mkv] | + an attachment...
[mkv] |  + FileName: Clearface_SSi_Bold.ttf
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 45420
[mkv] Attachment: Clearface_SSi_Bold.ttf, application/x-truetype-font,
45420 bytes
[mkv] | + an attachment...
[mkv] |  + FileName: Haro.ttf
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 13376
[mkv] Attachment: Haro.ttf, application/x-truetype-font, 13376 bytes
[mkv] | + an attachment...
[mkv] |  + FileName: impact.TTF
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 136076
[mkv] Attachment: impact.TTF, application/x-truetype-font, 136076 bytes
[mkv] | + an attachment...
[mkv] |  + FileName: trebuc.TTF
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 134108
[mkv] Attachment: trebuc.TTF, application/x-truetype-font, 134108 bytes
[mkv] | + an attachment...
[mkv] |  + FileName: TT0209M_.TTF
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 61352
[mkv] Attachment: TT0209M_.TTF, application/x-truetype-font, 61352 bytes
[mkv] | + an attachment...
[mkv] |  + FileName: X360.ttf
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 64884
[mkv] Attachment: X360.ttf, application/x-truetype-font, 64884 bytes
[mkv] \---- [ parsing attachments ] ---------

On 3/25/07, John Brown <johnbrown105 at hotmail.com> wrote:
>
> Hello,
> >Jason Garrett-Glaser wrote:
> >On 3/25/07, John Brown <johnbrown105 at hotmail.com> wrote:
> >>
> >>Hello,
> >>
> >> >On 3/25/07, info at danielerossi.net <info at danielerossi.net> wrote:
> >> >>
> >> >>
> >> >>
> >> >> >  I've run into one problem; the subtitles don't show up,
> >> >> > either in mencoder or mplayer.
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>why  not post a -v output and post a sample?
> >> >>On my win xp .mkv files show up with subtitles.
> >> >>You should probably do the following:
> >> >>
> >> >>Run the file and read the console:
> >> >>it give you a reference about the "tags" it uses for the tracks
> >> >>give the option corresponding to the subtitle you need like:
> >> >>-sid 0
> >> >>
> >> >>daniele
> >> >>
> >> >>___________
> >>
> >>Jason Garrett-Glaser wrote:
> >> >
> >> >How do you record the output of -v in Windows?  Obviously in Linux I
> >> >could easily just pipe it to a file.
> >> >
> >>
> >>Just the same as in Linux:
> >>mplayer -v > filename.txt 2>&1
> >>
> >> >I did find an error though:
> >> >
> >> >C:\windows\fonts\arial.ttf doesn't look like a bitmap font
> >> >description, ignoring.
> >> >Cannot load bitmap font C:\windows\fonts\arial.ttf
> >> >
> >> >The font file is there though.  Its name is uppercase, but then I
> >> >remembered Windows isn't case sensitive anyways.  What's up with that?
> >> >
> >>
> >>You can copy arial.ttf (or any TrueType font file) as subfont.ttf to the
> >>mplayer folder. I mean the one that corresponds to $HOME/.mplayer on
> >>Linux.
> >>I believe that on Windows it is path\to\mplayer.exe\mplayer.
> >>
>
> >
> >I put the font file in there and the "can't find subfont.ttf" error
> >disappeared, but it still can't read arial and it still doesn't play
> >subtitles.
> >
>
> I believe that it always prints that message about being unable to load
> the font. You can check that it works by pressing the 'o'
> key to cycle through the various OSD options; you should see the timer
> displayed in Arial, or whatever font you copied to subfont.ttf.
>
> Anyway, as daniele said, and I forgot, you also have to use -sid to turn on
> subtitles.
>
> And please put your reply below the text to which you are replying.
>
> _________________________________________________________________
> 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free
> quotes - *Terms
> https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list