Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

theora ogv and webm compression?

I was wondering if anyone has had any luck using compressor and the xiph theora and webm components to compress video for html5 websites? I can't seem to figure out the settings and i'm sure I'm doing something wrong. The only way I can find to compress them requires me to set the file format to Quicktime and then under video settings select the compression type. for some reason, i believe the compression is wrong which makes them not viewable in web browsers. Any thoughts?

MacPro 2x3.2GHz Quad-Core, Mac OS X (10.6.7)

Posted on Mar 31, 2011 2:24 PM

Reply
22 replies

Mar 31, 2011 2:50 PM in response to David Bogie Chq-1

Spent some time over at theora. If you're running that stuff voluntarily,, you should be able to figure it out. I can't make heads or tails out of the descriptions because they seem to indicate you must have not only the components to handle comrpession, you must also have a playback component. That cannot possibly be correct but that's what they say about QT7. Insane.


*Xiph QuickTime Components (XiphQT) is, in short, the solution for Mac and Windows users who want to use Xiph formats in any QuickTime-based application, e.g. playing Ogg Vorbis in iTunes or producing Ogg Theora with iMovie.*

*Learn more about XiphQT...*

*Latest News.*

*14.06.2009 - XiphQT 0.1.9 released*

*We're happy to announce XiphQT release 0.1.9!*

*This is another bugfix release, where fixes are few but significant: reduced memory usage, fixed playback of HD content and fixed compatibility with iMovie '08. As always, release notes have a bit more details.*

*Also, the official 0.1.9 builds have been linked against recent versions of codec libraries. Most notably, that means Theora release 1.0, bringing performance improvements, especially in encoding.*

Mar 31, 2011 8:53 PM in response to David Bogie Chq-1

Thanks for looking into that David. Yeah, html5 doesn't really play anything. It all depends on the browser. Safari plays anything your quicktime plays, but ff, google chrome, and opera don't use anything with the h.264 codec. ie, firefox, chrome, opera, and android are all going to the webm codec. So apparently when you encode video for html5, you need 3 different files. One in an mp4 wrapper with a h.264 video file for safari, iphone, and ipad, one in an ogg wrapper with a a theora and vorbis codec, and one with a webm codec. My problem is actually getting my source footage compressed correctly into those codecs so they play on everything other than safari since i seem to be able to make nearly any codec play on safari. It might just be easier to convert the world to safari. who knows?

Aug 10, 2011 4:47 PM in response to BLP01

Bumping this.


Looking for a solution for converting OGG/Theora & WEBM with Apple Compressor4. Miro only has one compression setting and doesn't intergrate with the FinalCut / Compressor workflow. This is a major oversight on Apple's part.


Any info would be helpful. OGG & WEBM are needed for HTML5 video, this is not the some wacky edge case.


Cheers!

Aug 11, 2011 5:53 AM in response to MotoNomad

I agree that it's a major oversight. Everything I've tried to do with HTML5 ends up being a huge workaround.


I'm curious as to what you are trying to accomplish. I take the final version of the video out of Compressor as an H264 and feed that through Miro to output the OGG and WEBM. I don't think I've ever tried to put an OGG back through Final Cut. If further edits are required I'm forced to edit the original Final Cut doc and output it again and convert it again. A huge pain, but that's the only way I've found to do it ...

Sep 22, 2011 4:59 PM in response to BLP01

Been playing with OGG and WebM recently and my workflow has been as follows:


FCP > Quicktime Conversion > H.264


Using the Firefox plugin Firefogg to then convert that to OGG or WebM. Easy setup, few clicks and you are on your way. Or you can tweak some advanced options.


Using Export > Quicktime Movie does NOT work (at least with a ProRes timeline). You get an audio file without video for both WebM and OGG conversions.


Hope this helps!

Sep 22, 2011 8:34 PM in response to BLP01

Just wanted to throw out an overview of the landscape of delivering video to a browser.


The HTML5 way:

  • H.264 in mpeg 4 for Internet Explorer, Safari, iOS, and Android (although I think H.264's days in Android are numbered, like they were for Chrome)
  • WebM or Theora for Firefox, Chrome, Opera, and Android
  • Flash backup needed for people with older browsers
  • Conditionals you have to code to serve the right video to the right browser.



The Flash way:

It quite simply works for everyone except iOS clients. You can add on Adobe Flash Media Server to send flash video to the crippled iOS devices.


You can **** around with this fantasy world, but today HTML5 video is as much bag of hurt as HD-DVD

Sep 23, 2011 1:57 AM in response to soundman1024

HTML5 video a "bag of hurt"? What is Adobe Flash Media Server? A Matrix of Hurt? Everything in digital video has a bloody learning curve.


My issue is batching my encoding of H.264, WebM & OGG. If my current project could justify Sorensen Squeeze I'd buy it and be done. (Thanks @Shawn Birmingham) I know Sorensen makes great stuff... but that doesn't let Apple & Compressor off the hook. IMO, Apple needs to support HTML5 video workflows.


@chucktown guy and @ShouldaBeenNamedMurphy

Thanks for the tip on converting H.264 to OGG/Theora !!!!! I thought that transcoding from H.264 to OGG would kill the quality, but it looks fine for my use. Export > Quicktime Movie >> Miro/ffmpeg > WebM works for me with DV NTSC 48kHz (obviously not using ProRes)


My current workflow


1) Export > Quicktime Movie


#Then I use a bash script to trigger the final conversions with ffmpeg (using Miro settings) and go to bed while my Mac churns away.


2) Quicktime Movie > Miro/ ffmpeg > WebM

3) Quicktime Movie > Miro/ ffmpeg > H.264 (iPad setting)

4) H.264 > Miro/ ffmpeg > OGG/Theora


#My Step 4 starts with the H.264 file because Miro/ ffmpeg OGG doesn't convert my NTSC DV QT to square pixels like it's WebM & H.264 conversions do successfully. (???)


This is far from ideal... but it gets the job done for the moment.

Dec 31, 2011 5:36 PM in response to BLP01

I've found the QT components to install that will let you easily render out of QT7. After installing the components, and running a couple of tests, the ogg option in QT seems a bit better quality. You can simply open the vid in QT7 and go to export and find an ogg option or webM option. Simple. I haven't created the Compressor preset yet. I'll play with that later this week. Again, these are third party components that can fit with QT; but not official/approved.


http://code.google.com/p/webm/downloads/list

http://www.xiph.org/quicktime/download.html

Jan 1, 2012 11:53 AM in response to Greg Knollmeyer

I've gotten the QT7 encodes using Xiph tools to produce a decent quality ogg file. I've been able to open the ogg in Firefox on my Macbook Pro as well as an android device. So the basic problem of simply getting something into the open format is solved for me.


However, the webm format seems unstable within QT, delivering poor quality, and at one point a crash. Ogg has worked reliably in several tests.


Also, I've been unable to configure a solid preset for this in Compressor. It seems as though the wrapper may be as much of an issue as the codec. I've installed other components (DNxHD and X264) and gotten those transcodes to work in Compressor. But I can't seem to get it right for ogg/vorbis. Nor have I been able to successfully configure this in Adobe Media Encoder CS4.


So, I've got a decent QT solution; but not what I really want. I'd like to simply be able to render directly to these in Compressor (3 & 4) and/or Adobe Media Encoder. If anyone has better success configuring Compressor, I'd love to hear about it.

theora ogv and webm compression?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.