[MPlayer-dev-eng] Re: ogm subtitles are a little weird
Andriy N. Gritsenko
andrej at lucky.net
Mon Mar 29 11:03:58 CEST 2004
Sometime (on Monday, March 29 at 11:32) I've received something...
>On Mon, 2004-03-29 at 10:06, Andriy N. Gritsenko wrote:
>> >> >1. I must now run mplayer _manually_ from command line to see subtitles.
>> >> >Nor -sid nor -slang never worked. I can't use -sid X since I never know
>> >> >what is first text substream, it may be 2,3 or even 4, so I can't find
>> >> >out it before I play and then I have to manually run mplayer. I can't use
>> >> >-slang either since ogm format may define language only in comment and
>> >> >that is optional. It's too weird for me since I used to play video by
>> >> >just pushing 'Enter' from Midnight Commander or by clicking on it from
>> >> >gui filebrowser. All old versions of MPlayer played it well and now it
>> >> >want me do two manual operations to play each file. Any other format
>> >> >except ogm never want me do such weird thing.
>> >> I've found a solution for this myself. I see '-sid 0' has no sense
>> >> because text stream never could be first stream in .ogm file. So let's
>1. imho it makes things too complicated
If you could propose another way to do the same, feel free to tell. :)
>2. why don't use -sid -1?
Because -1 means 'no -sid switch defined' and it'll switch subs off
as for mpeg. It was argued before so let it be.
>3. even that auto-find-first-subtitle-stream stuff won't help much if
>there are more subtitle tracks....
Of course. Only way to select it except -sid is -slang but language
isn't in stream parameters so it's a problem. Another way to find out
which language is used is to parse stream comment sinse it usually have
something like "LANGUAGE=English" in it.
>4. btw. with ogm, the same problems apply to audio, because some
>"CLEVER" anime encoders (zhentarim, are u listening) set up english as
>the default language :))
The same as above. May be I'll find some time later to find out how
to do that parsing and implement -slang and -alang for ogm. The problem
is I don't have spare time right now. :(
With best wishes.
More information about the MPlayer-dev-eng