W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] [mimesniff] Handling container formats like Ogg

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 27 Nov 2012 11:39:02 +0200
Message-ID: <CAJQvAufOCj9Y+UPXoanoHzOiHGErrLXPnWFeUjbb-Mkedr9j2w@mail.gmail.com>
To: whatwg List <whatwg@whatwg.org>
On Tue, Nov 27, 2012 at 12:59 AM, Gordon P. Hemsley <gphemsley@gmail.com> wrote:
> Container formats like Ogg can be used to store many different audio
> and video formats, all of which can be identified generically as
> "application/ogg". Determining which individual format to use (which
> can be identified interchangeably as the slightly-less-generic
> "audio/ogg" or "video/ogg", or using a 'codecs' parameter, or using a
> dedicated media type) is much more complex, because they all use the
> same "OggS" signature. It would requiring actually attempting to parse
> the Ogg container to determine which audio or video format it is using
> (perhaps not unsimilar to what is done for MP4 video and what might
> have to be done with MP3 files without ID3 tags).
>
> Would this be something UAs would prefer to handle in their Ogg
> library, or should I spec it as part of sniffing?

What would be the use case for handling it as part of sniffing layer?

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 27 November 2012 09:43:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT