[MPlayer-dev-eng] [PATCH] Online audio stream switching

Loren Merritt lorenm at u.washington.edu
Wed Mar 30 01:23:16 CEST 2005


On Tue, 29 Mar 2005, D Richard Felker III wrote:
> On Tue, Mar 29, 2005 at 03:33:51PM +0200, Guillaume Poirier wrote:
>>> On Thu, Mar 24, 2005 at 12:55:18PM -0500, D Richard Felker III wrote:
>>>
>>>> It skips over all streams with different codec, so it might actually
>>>> be safe...
>>
>> I guess I should really consider to give it a try, as indeed, I find
>> this feature really interesting. All the more important to add to
>> MPlayer that xine (and vlc I think) allows that.
>> Is there any reason you can't make your patch do the same with
>> Matroska or OGM files?
>
> Yes, that would be really nice, with idiotic groups putting dub audio
> first in anime files.. Of course I doubt this stream-switching is
> valid with vorbis, since the vorbis global header might be different
> for each stream...

Not strictly safe, but libvorbis at least creates global headers based 
entirely on the encoder settings, not the content. So it's quite possible 
for two audio streams in the same movie to be compatible.

--Loren Merritt




More information about the MPlayer-dev-eng mailing list