LWN.net Logo

Blizzard: bringing theora to youtube (the hard way)

On his blog, Christopher Blizzard writes about using Greasemonkey to turn YouTube's Flash videos into Ogg Theora before playing them. The result is Theoratube. "Anyway, I decided to try and make it so that I could easily play Youtube videos without having to use Flash. (Flash — in many ways — is the weak link in the chain. In this case it’s because I can’t fix/hack it, although I’m happy to not have it because my browser is a lot more reliable.)"
(Log in to post comments)

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 16:09 UTC (Mon) by mosfet (guest, #45339) [Link]

Besides Greasemonkey this script also needs http://firefogg.org/ installed.

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 17:28 UTC (Mon) by sheskar (guest, #51665) [Link]

It would make much more sense to let Firefox play videos through Gstreamer, then it could support H.264 for those people who want it. And then I could embed the Youtube videos directly through Greasemonkey without transcoding first.

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 19:09 UTC (Mon) by foom (subscriber, #14868) [Link]

But it would be <pseudoquote>damaging to Firefox's goal of forcing people to use Ogg Theora to
allow users the freedom use other codecs with the video tag.</pseudoquote>

So they're not going to do that. Sigh. Who'd have thought Mozilla would be one advocating vendor
lock-in?

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 19:35 UTC (Mon) by Trelane (guest, #56877) [Link]

What vendor lockin?

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 3, 2009 0:23 UTC (Tue) by robert_s (subscriber, #42402) [Link]

"Who'd have thought Mozilla would be one advocating vendor lock-in?"

Please try and back up the assertion that an organization publishing full source of their product under a liberal license is trying to create vendor lock-in.

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 3, 2009 21:42 UTC (Tue) by BrucePerens (subscriber, #2510) [Link]

Actually, I suspect Mozilla is fine with those other formats as long as there aren't royalty-bearing patents, trade secrets, or restrictive copyrights - all the things Theora was engineered to be free of.

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 19:14 UTC (Mon) by nim-nim (subscriber, #34454) [Link]

gsteamer-based video was supposed to be done via sfwdec, which sadly seems sleeping upstream

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 19:35 UTC (Mon) by rahulsundaram (subscriber, #21946) [Link]

Gnash uses Gstreamer these days as well (as a option) but a open codec will play out of the box on mainstream distributions unlike Flash.

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 3, 2009 16:57 UTC (Tue) by jengelh (subscriber, #33263) [Link]

>It would make much more sense to let Firefox play videos through Gstreamer, then it could support H.264 for those people who want it.

Or even feed the embedded video to mplayerplugin, which can then play it back in a performant fashion which Adobe fails and fails and fails to do. Not sure *what* Adobe does, because mplayer/ffmpeglibs are faster even without Xv and SSE... just by looking at the CPUmeter from top.

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 18:07 UTC (Mon) by realnc (guest, #60393) [Link]

He can hack it and fix it. It's called Gnash and is actually in need of hacks and fixes.

Blizzard: bringing theora to youtube (the hard way)

Posted Nov 2, 2009 19:03 UTC (Mon) by DOT (subscriber, #58786) [Link]

That's not a compiler.

What about iTheora?

Posted Nov 2, 2009 19:37 UTC (Mon) by gwolf (subscriber, #14632) [Link]

I have been using <a href="http://itheora.org/">iTheora</a> for some of my University's videos recently, and it works fairly well across browsers and platforms. It is based on Javascript deciding whether to offer a Java applet (<a href="http://www.flumotion.net/cortado/">Cortado</a>) or to go with the Gstreamer plugin for Firefox. There is even a site that attempts to mimick YouTube for Ogg video content — <a href="http://en.theorasea.org/">TheoraSea</a>.

What about iTheora?

Posted Nov 3, 2009 6:24 UTC (Tue) by pabs (subscriber, #43278) [Link]

Here is something that works without JavaScript or PHP (just HTML), you might want to try that:

http://camendesign.com/code/video_for_everybody

It doesn't use cortado though.

What about iTheora?

Posted Nov 3, 2009 8:29 UTC (Tue) by gmaxwell (subscriber, #30048) [Link]

Without Cortado it's not much of a fallback though…

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds