ogg-theora

HTML5 video (mp4 and ogv) problems in Safari and Firefox - but Chrome is all good

大憨熊 提交于 2019-12-27 17:32:05
问题 I have the following code: <video width="640" height="360" controls id="video-player" poster="/movies/poster.png"> <source src="/movies/640x360.m4v" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src="/movies/640x360.ogv" type='video/ogg; codecs="theora, vorbis"'> </video> I'm using Rails (Mongrel in development and Mongrel+Apache in production). Chrome (Mac and Win) can play either file (tested by one then the other source tags) whether locally or from my production servers.

Multi core theora encoding

五迷三道 提交于 2019-12-21 20:54:34
问题 We convert uploaded video to MP4 and OGV, but while trying to speed up the process we've hit a wall. We found the bottleneck is the OGV encoding, While it might take 5 minutes to convert a 350mb AVI to MP4, it takes roughly 25-30 minutes to convert the same file to OGV. avconv supports multithreading/multiple cores but it seems that libtheora doesn't, does anyone have any way of encoding over multiple cores? I found an old mail group which discussed a patch but I can't find much else about it

Best way to implement HTML5 video

时光怂恿深爱的人放手 提交于 2019-12-07 06:11:14
问题 I understand that HTML5 video is way more complicated than its proponents would like us to believe. Safari uses the proprietary H.264 codec, whereas Firefox, Chrome and Opera all support the open-source Theora. Internet Explorer doesn't support either, so needs a fallback, such as .mov or Flash. I found a superb guide somewhere that put together a step-by-step guide for HTML5 on all these browsers, but I can't find it anywhere. Very annoying :( What's the best way to implement HTML5 video so

Best way to implement HTML5 video

十年热恋 提交于 2019-12-05 09:45:33
I understand that HTML5 video is way more complicated than its proponents would like us to believe. Safari uses the proprietary H.264 codec, whereas Firefox, Chrome and Opera all support the open-source Theora. Internet Explorer doesn't support either, so needs a fallback, such as .mov or Flash. I found a superb guide somewhere that put together a step-by-step guide for HTML5 on all these browsers, but I can't find it anywhere. Very annoying :( What's the best way to implement HTML5 video so that all these browsers are covered? (Unfortunately, Flash is not an option.) Edit: Ok, from what I've

Multi core theora encoding

笑着哭i 提交于 2019-12-04 12:03:56
We convert uploaded video to MP4 and OGV, but while trying to speed up the process we've hit a wall. We found the bottleneck is the OGV encoding, While it might take 5 minutes to convert a 350mb AVI to MP4, it takes roughly 25-30 minutes to convert the same file to OGV. avconv supports multithreading/multiple cores but it seems that libtheora doesn't, does anyone have any way of encoding over multiple cores? I found an old mail group which discussed a patch but I can't find much else about it, or if it even still works 5 years on. So. Is multi-core theora processing possible and what should I

How to write bitmaps as frames to Ogg Theora in C\C++?

房东的猫 提交于 2019-11-27 21:04:02
问题 How to write bitmaps as frames to Ogg Theora in C\C++? Some Examples with source would be grate!) 回答1: Here's the libtheora API and example code. Here's a micro howto that shows how to use the theora binaries. As the encoder reads raw, uncompressed 'yuv4mpeg' data for video you could use that from your app, too by piping the video frames to the encoder. 回答2: The entire solution is a little lengthy to post on here as a code sample, but if you download libtheora from Xiph.org, there is an

HTML5 video (mp4 and ogv) problems in Safari and Firefox - but Chrome is all good

和自甴很熟 提交于 2019-11-26 22:06:35
I have the following code: <video width="640" height="360" controls id="video-player" poster="/movies/poster.png"> <source src="/movies/640x360.m4v" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src="/movies/640x360.ogv" type='video/ogg; codecs="theora, vorbis"'> </video> I'm using Rails (Mongrel in development and Mongrel+Apache in production). Chrome (Mac and Win) can play either file (tested by one then the other source tags) whether locally or from my production servers. Safari (Mac and Win) can play the mp4 file fine locally but not from production. Firefox 3.6 won't play the