[whatwg] <video> application/octet-stream

Chris Double chris.double at double.co.nz
Wed Jul 21 06:46:37 PDT 2010


On Thu, Jul 22, 2010 at 1:15 AM, Mike Shaver <mike.shaver at gmail.com> wrote:
> Could you be more specific about the incorrect information?  My
> understanding, from this thread and elsewhere, is that video formats
> are reliably sniffable, and furthermore that the appropriate MIME type
> for ogg-with-VP8 vs ogg-with-theora isn't clear (or possibly even
> extant).

How much data are you willing to sniff to find out if the Ogg file
contains Theora and/or Vorbis? You have to read the header packets
contained within the Ogg file to get this. WebM is easier as we can
make the assumption the if it's WebM it's VP8/Vorbis.

Chris.
-- 
http://www.bluishcoder.co.nz


More information about the whatwg mailing list