[MPlayer-users] [REQ] Ogg Media idiosyncrasies (was: OggVorbis: 2 sound streams and subtitles)

Alban Bedel albeu at free.fr
Sun Jul 7 22:27:02 CEST 2002


Hi Robert R. Wal,

on Sun, 7 Jul 2002 22:08:26 +0200 you wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On 02.07.02 Dominik Benninger pressed the following keys:
> 
> > my question now is: how can i tell mplayer to use different audio stream out 
> > of the ogg stream
> 
> You can specify it using
> 
>    -aid X
> 
> (where X is 1, 2, 3 etc - number of audio stream)
> 
> For now it is impossible to use the other form (-alang en,sk), since
> mplayer doesn't parse language information contained in Ogg comment
> field.
> 
> > and to use the text of the ogg stream as subtitles?
> 
> As far as I know you cannot yet use ogg/text streams, which is pitty,
> since all OGM files I create contain internal subtitles and they
> work fine in Windows/BSPlayer.
> 
> I don't know if it is being worked on.
> 
> So, here goes my feature request regarding Ogg Media files:
> 
> 1. Every Ogg stream contains mandatory comment field that contains
> information about stream in form of ``environment variables''. Typically
> it contains line "LANGUAGE=LangName" [1]. Would it be possible that Ogg
> demuxer parsed those informations and allowed to use use the form:
> 
>    -alang pl,en
> 
> ?
> 
> 2. Ogg Media files can contain OggText streams. These are just simple
> ascii (or cp1250, iso-latin-2 etc) streams containing subtitles. Similar
> to OggVorbis streams they contain "LANGUAGE=Name" line in their comment
> field.
> 
> Would it be possible to implement those features in mplayer? I can
> provide several movies with multiple audio and subtitle streams, or just
> samples of them for someone to work on.
> 
> Even if it is the only option I won't be able to implement it myself:
> I already looked into mplayer sources, only to find out, that it is
> beyond my abilities and knowledge... :(
> 
> But I can bribe someone ;) If someone implements those features he will
> receive my eternal gratitude, and a small gift[3] ;)
> 
> Robert
> 
> [1] e.g. LANGUAGE=Polish, LANGUAGE=English, LANGUAGE=Hungarian[2];
> [2] typically language names are in English, but no one says mplayer
>  can't properly recognise LANGUAGE=Magyar, LANGUAGE=Polski etc.
> [3] 30 CDs containing four seasons (87 episodes) of Stargate SG1,
>  packed with 2-pass DivX4 at 700 512x288, and OggVorbis -q 1 ;)
> 

I plan to implement all this but after the 0.90 release as the demuxer layer
will be rewrited.
	Albeu




More information about the MPlayer-users mailing list