gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] 2nd try: How can Internet Archive flash script pick code


From: strk
Subject: Re: [Gnash-dev] 2nd try: How can Internet Archive flash script pick codec to use?
Date: Sun, 21 Sep 2008 20:59:56 +0200

On Sun, Sep 21, 2008 at 10:04:15AM +0200, Benjamin Wolsey wrote:
> > > A third way, though, could be to implement the codec information class
> > > from Flash Lite, as Adobe is unlikely to make the two versions of flash
> > > incompatible. I think the decision needs time, whatever the case.
> > 
> > I'd be for this third way, what are your concerns about it ?
> > How does this flash lite interface look like ?
> 
> The following return arrays of MIME types:
> 
> System.capabilities.videoMIMETypes
> System.capabilitites.MIMETypes
> System.capabilities.audioMIMETypes
> 
> It should be noted, though, that a MIME type like video/ogg or audio/ogg
> only shows that the OGG container can be handled, and doesn't reveal
> whether codecs for the contained video or audio streams are present, so
> there's still guesswork involved. The type video/ogg could be
> Theora/Vorbis, Theora/Speex, Theora/FLAC, Dirac/FLAC, Dirac/Vorbis,
> MNG/FLAC or OggUVS inside OGG (whatever that is). (See
> http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions)

What about finding also codec MIME types in those arrays ?
Like, if the SWF wants to check whether the player supports
playing an OGG contaning Theora/Vorbis video it would check
mime types to contain *both* video/ogg *and* Theora/Vorbis.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]