[MPlayer-users] [BUG] -slang broken for Ogg Media files
Rich Felker
dalias at aerifal.cx
Thu Mar 23 09:04:23 CET 2006
On Wed, Mar 22, 2006 at 09:57:57AM +0100, Nico Sabbi wrote:
> vitko wrote:
> >Nico Sabbi napsal(a):
> >
> >...
> >>> [Ogg] Language for -sid 0 is '-slang "en"'
> >>> [Ogg] Language for -sid 1 is '-slang "cs"'
> >...
> >
> >>a lack of feature: -slang was never implemented for ogg files
> >
> ><sigh> But the mplayer output above looks like someone was
> >playing with the idea, which is promising (or is there any other
> >reason to mention -slang at all?). It would be great if -slang
> >worked for Ogg files, just for the consistency of mplayer.
>
> it requires some buffering of packets in the demuxer to detect the
> languages available; it's a matter of spare time and patience to deal
> with ogg
It's not a matter of buffering. It's just a matter of reading the file
headers correctly. These 'packets' need to be considered as part of
the file header, not packets, and converted appropriately into
'extradata'.
Rich
More information about the MPlayer-users
mailing list