Linked by Thom Holwerda on Sun 31st Jan 2010 14:20 UTC, submitted by lemur2
Internet & Networking Despite the recent interest in adopting HTML5's video tag, there is still one major problem: there is no mandated standard video codec for the video tag. The two main contestants are the proprietary and patended h264, and the open and free Theora. In a comment on an LWN.net article about this problematic situation, LWN reader Trelane posted an email exchange he had with MPEG-LA, which should further cement Theora as the obvious choice.
Thread beginning with comment 407110
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[7]: Theora
by KAMiKAZOW on Sun 31st Jan 2010 20:02 UTC in reply to "RE[6]: Theora"
KAMiKAZOW
Member since:
2005-07-06

Surely for a static file, the webserver will sent a size header?

Read the quote. There is no size information in Ogg headers -- at least not yet.

Reply Parent Score: 2

RE[8]: Theora
by cosmotic on Sun 31st Jan 2010 20:56 in reply to "RE[7]: Theora"
cosmotic Member since:
2010-01-31

The size information would be in the HTTP header.

Reply Parent Score: 1

RE[9]: Theora
by KAMiKAZOW on Sun 31st Jan 2010 21:53 in reply to "RE[8]: Theora"
KAMiKAZOW Member since:
2005-07-06

I miswrote. Not size. Length. HTTP doesn't tell you whether a clip is 3 or 5 minutes long.

Reply Parent Score: 2

RE[8]: Theora
by hashnet on Mon 1st Feb 2010 09:14 in reply to "RE[7]: Theora"
hashnet Member since:
2005-11-15

He meant HTTP headers, no Ogg headers.
For a static file the web server *will* send the Content-Size header.
In bytes, not in duration.

Reply Parent Score: 1

RE[9]: Theora
by lemur2 on Mon 1st Feb 2010 09:31 in reply to "RE[8]: Theora"
lemur2 Member since:
2007-02-17

He meant HTTP headers, no Ogg headers.
For a static file the web server *will* send the Content-Size header.
In bytes, not in duration.


Hence, the obvious solution is to still use Theora as the codec for HTML5 video, and because the ogg data-stream does not include the length (duration) information, to include that length (duration) of the video clip as a parameter within the HTML5 tag.

There could be other solutions as well, but the fact that there is a patently obvious solution such as this makes one believe that people who bring this type of objection up are just desperately trying to find things wrong with using Theora, and not succeeding BTW.

Reply Parent Score: 2