HTML 5 Video and Audio
Summary
- There are 3 posts — by 1 authors — in this topic.
-
Posts with files From File Date Michael JasonSmith 2010 Feb 13 04:54 UTC - Latest post made by Michael JasonSmith at 2010 Sep 20 07:30 UTC
I was playing around with HTML 5 video and audio elements. Specifically, I was looking at how hard it would be to add video and audio to posts. From the coding-side it looks like it will be easy to provide support for them, but there is one rather large catch when it comes to video encoding formats. HTML is the language used to describe the content of web pages. The language has been very stable since last version of the standard, HTML 4, which was released over ten years ago. However, work is almost complete on the new version, called HTML 5. One of the new features of HTML 5 are elements that describe video and audio content, in much the same way as the "img" element describes images. Work is already under-way implementing the video and audio elements in all new web browsers, except for Microsoft Internet Explorer. GroupServer could add video and audio tags whenever someone posted a video or audio as an attachment. The results would look like the screenshots "video1.png" and "audio.png" below. The HMTL code itself is very small — no more than what we do for the existing thumbnail images, and is a lot less that the code required to embed Flash video <http://dev.opera.com/articles/view/introduction-html5-video/>. There is one fly in the ointment: not all audio and video formats are supported. Currently Mozilla Firefox and Opera support the free Ogg Theora for video <http://www.theora.org/> and Ogg Vorbis for audio <http://www.vorbis.com/>. Google Chrome supports Ogg Theora and the commercial H.264 video; Apple Safari only supports H.264 video (Apple claims that the lack of hardware support is a problem for Theora, which is a bit odd as Apple is a hardware company). A video in an unsupported format (such as H.264 in Mozilla Firefox or Opera) will come up with a box much like the "video2.png" screenshot below. For more complete support the videos could be converted from H.264 to Theora or vice versa. I am unsure if software that will do the conversion requires a payment of fees to the MPEG LA. (Apple and Google has paid their fees, which is why H.264 is supported in the commercial browsers Apple Safari and Google Chrome, but not their open-source equivalents, Webkit and Chromium). Once a common video format is supported for viewing video I suspect that content-creation in that format (from cameras and their supporting software) will become common. The standards battle between Ogg Theora and MPEG LA H.264 will be an interesting one to watch from the sidelines. My guess is that Wikipedia will be the one to force Theora support into all browsers, as they only support open standards (which is also why all the audio on Wikipedia is in Ogg Vorbis format <http://en.wikipedia.org/wiki/Helter_Skelter_%28song%29>). Anyway, that is enough fun for a rainy Saturday ☺
[ From http://groupserver.org/r/post/qYtFjzK59Jle7nejgJqlF ] Hi Jim, GroupServer does support video in posts, using links to YouTube, Vimeo and Splashcast. For example, this video: The hard bit is when someone posts a video. In my earlier post in this topic¹ I discussed how it is not *technically* tricky if we only consider HTML 5. I even have a ticket for implementing my ideas.² The horrid, tricky, nasty part is all legal. If someone posts a video encoded with WebM we can embed it in our pages without a problem. Anyone with Google Chrome, Opera or Mozilla Firefox will be able to view the video.³ If someone posts a video encoded with Ogg Theora, or M-JPEG we can convert it to WebM, and then any all the main browsers can view the video. (Fanbois are punished, but they should be used to that by now ☺) Sadly, the chances of someone actually posting a file encoded with WebM, Ogg Theora, or M-JPEG are slim to none. People are more likely to post a video encoded with h.264. I *think* we can convert from h.264 to WebM, or anything to h.264, and then embed it in a page.⁴ However, I need far more tea, and far more time, to figure out who is required to pay what to do what with h.264. I am preferring to play with WebM for that very reason. *Footnotes* 1. My earlier post on HTML 5 video can be found at <http://groupserver.org/r/post/6uy1GnCzGYWd1uXDVkfnrF> 2. Ticket 333: Video in Posts <https://projects.iopen.net/groupserver/ticket/333> 3. Even Microsoft Internet Explorer 9 will play WebM video, but you have to install the codec first. In the following post Microsoft use the term "VP8", which we can take a synonymous with WebM for the level of detail we are working at <http://windowsteamblog.com/windows/b/bloggingwindows/archive/2010/05/19/another-follow-up-on-html5-video-in-ie9.aspx> 4. It is all a bit confusing, but this is as clear as I could get it. <http://www.theregister.co.uk/2010/08/26/mozilla_on_h264/>
I could not leave it there. I found two articles to read when I have tea and time. The first is from Ars Technica: “Decoding the HTML 5 video codec debate” <http://arstechnica.com/open-source/news/2009/07/decoding-the-html-5-video-codec-debate.ars> The second is from OS News: “MPEG-LA Will Not Change h264 Licensing” <http://www.osnews.com/story/22828/MPEG-LA_Will_Not_Change_h264_Licensing>. OS News is not an unbiased source, by any stretch, but I am beginning to see why it describes h.264 as “a patent-encumbered mess”. However, I still have hope that civilisation will not fall, despite the fears of Eugenia Loli-Queru <http://www.osnews.com/story/23236/Why_Our_Civilization_s_Video_Art_and_Culture_is_Threatened_by_the_MPEG-LA>.
Loading…
Privacy | Acceptable Use | Terms of Service | About OnlineGroups.Net | Contact OnlineGroups.Net
Start an OnlineGroups.Net site for easier email collaboration in your organization.
Powered by GroupServer, the open source web-based mailing list manager.
