Skip to content.

Free Software Foundation

Join now
You are here: Home » FSF Blogs » Community

Community Community

Free software as a movement and community
Submitted by root. on 2009-08-19 12:45 PM. PlayOgg

The Free Software Foundation's Holmes Wilson is just back from Berlin, where he participated in the Ogg Theora book sprint put on by FLOSS Manuals. Here is a broad look at Ogg Theora and how it fits into the push for free formats: where we're winning, what works, and what could be improved.

Translations: العربية(Arabic)

UPDATE: In response to comments on this post I've added an update and FAQ (see below).

Introduction:

Ogg Theora is becoming a big deal, and that's exactly what we hoped for when we launched the PlayOgg campaign in May 2007. The free, patent-unencumbered video codec now works in over 24% of the world's web browsers with no plugins required. The latest 1.1 release of the Theora encoder is coming out any day now. And when it does, the huge improvements in quality and functionality made over the past year with support from Wikimedia and others will percolate out into the major GNU/Linux distributions, arriving at the fingertips of those who build and maintain the world's biggest video sites. Most of all, people are excited, releasing new tools that make the Theora easier to use, as well as jaw-dropping demos of what free formats and web standards can do.

I'm freshly arrived from Berlin, where FLOSSManuals just hosted a book sprint on everything Theora, from politics to playback, encoding, hosting and even streaming--all using free software and web standards. The main goal of the trip was to get an idea of where Theora is at: what's working well, what's still difficult, and the best ways to push adoption forward (both by organizing people and by making easier-to-use tools). Overall, I think we're close to something that can work for large numbers of people watching and publishing video, though there are still some tricky bits and sacrifices that--in an ideal world--you wouldn't have to make. Wherever possible I've linked to the relevant bits in our new Theora manual for anyone who wants to learn more.

Playing Theora videos

For anyone who wants to play a Theora video on their desktop, there's always a simple answer: get VLC (the same answer to the question of how to play almost any format). Since the 1.0 release, VLC has almost 25 million downloads, so lots of people already have it. For GNU/Linux users, Theora playback should be included with almost every distribution. And of course, you can also just open the file with Icecat 3.5 or later, or any equivalent Gecko-based browser.

Video quality

Don't believe the FUD: the quality of Theora-encoded video for a given bitrate is excellent. While there are some reasons to consider h.264 to be technically superior, the difference for web-quality video just isn't noticeable. See for yourself, here and here.

Theora isn't ideal yet for HD video (something about the motion vector being too small) but the consensus was that this is very fixable. Also, for web video publishing, you can use a tool like Firefogg to go straight from your original video (in any format) to the smaller web version-- instead of transcoding once before upload and again on the site (like you would while publishing to sites like Dailymotion, Youtube, Vimeo or Blip.tv)

Video hosts

Most video publishers just want a place to put their video where they don't have to worry about formats, bandwidth, and hosting. And while Youtube doesn't support Ogg Theora yet, there are several smaller sites that do. See the Hosting Sites section in the Theora manual for an overview, or here's a quick list:

So if you're looking for a quick way to post videos for distribution in Theora, there are some great options to choose from. Unfortunately, with the exception of Dailymotion, most of these sites do not have the large built-in audience or the advanced rating / sharing features of a site like Youtube. As advocates for free formats, we need to figure out how to push more large video sharing communities like Youtube to take the plunge (as Dailymotion already has) and offer videos in Theora.

Putting videos on your own site.

Now that HTML5 and Theora support in browsers has made video a "first class citizen of the web", it's easier than ever to post a video to your own site without relying on a middleman like Youtube. The Theora Cookbook includes an excellent overview of how to post videos using HTML5 and Theora. You can upload and display videos on your site just like images or HTML pages, but there are a few tricky parts:

Tricky part #1: Mimetypes.

Since the video tag is a new thing, your web host might not set the mime types correctly. One of the Theora developers at the event told me that, when somebody comes on the Theora IRC channel and says "Hey, I just posted a video and it doesn't work!" it's almost always a problem with mime types and headers. If your host isn't setting the mime types right, you either need to edit your .htaccess file or (if that's off limits) offer the videos using a PHP script. The Hosting Theora Yourself chapter describes both of these solutions in detail.

Tricky part #2: Allowing remote access or direct linking

Remember how sites used to (or sometimes still) get irritated when people link directly to their images? For better or worse, the HTML5 video spec defines a way to prevent this. So if you want people to be able to link directly to videos on your site, you need to enable it. See here for how to do this for all sites, or for specific sites.

Tricky part #3: Fallbacks for non-compatible browsers

Even before several browsers supported Theora natively, the free software community had a reliable (if slightly non-ideal) way to play Theora videos in the browser: the Cortado java applet. Now, Cortado is handy as a way to let all those weird IE and Safari users (at least the vast majority of them who have Java installed) watch the Theora videos you post to your site. The HTML5 Video chapter in the manual explains how to automatically fallback to Cortado for non-compatible browsers, and it includes sample code. The one major drawback of Cortado, which seems unavoidable, is the long loading time--your viewers will spend a good several seconds watching the Java teacup logo wondering why the video isn't playing. When using a Cortado fallback, it's probably best to include a link recommending a Theora-capable browser.

Making it easy for others to upload Theora.

If you're running a video host or some kind of community video site, you will need a way for people to upload Theora without necessarily knowing what Theora is. The standard way to do this is to allow uploads in any format and then transcode them all (like Youtube et al). The ffmpeg2theora tool will convert practically any video under the sun to a Theora video with the quality, bitrate, and other characteristics desired. Check out the ffmpeg2theora chapter in the manual for more on how to use it.

Firefogg--a browser extension for transcoding and uploading Theora videos--is another way to address the transcoding problem, and it has some unique advantages. Once users have installed Firefogg in their browser, sites can call it in their upload form. When users select a file, Firefogg will convert it to Theora as part of the upload process. With some extra configuration on the server side, Firefogg can even upload pieces of the file as it's doing the conversion to save time. Firefogg will also ensure that, if the connection goes down, the upload will resume as soon as the connection comes back.

Firefogg brings two important advantages. First, sites (or web applications like Wordpress) could rely on Firefogg instead of having to develop a transcoding system on the server side. Second, the video quality can be better, because the video only gets converted once (instead of twice-- once before upload, and once on the hosting site). The main disadvantage of Firefogg is that users need to install a browser extension. But perhaps someday Icecat itself could include this feature.

Conclusions

The push for free video formats is at an important moment: the necessary parts of an online video space based on free formats are in place, and it's all a matter of how we use them (and who uses them). Theora playback now has a mass user base: tons of people use VLC, and orders of magnitude more people use Gecko-based browsers. Anyone who wants to distribute their video on the web in a free format can upload it to Dailymotion, Tinyvid, or the Video Bay with minimal hassle. With Cortado, we have a fallback for people with older or non-compatible browsers that doesn't require non-free software or non-free formats. HTML5 and the video tag give developers new ways to manipulate video on the fly, setting the stage for entirely new kinds of interaction around video.

To me, the missing pieces seem to be in video publishing and general awareness. Specifically, we need:

More Theora support from video hosting sites So far, only one large video host supports Theora. The free software community needs to find effective ways to push Youtube, Facebook, Blip, Vimeo (as well as the large video advertising services) to run pilot projects and move towards full HTML5/Theora support.

A Theora upload plugin for popular free software publishing platforms If you could upload any video to web publishing systems like Wordpress using Firefogg, and automatically present it with a Cortado fallback, this would dramatically reduce the number of steps required to post a Theora video on your own site.

Effective evangelism We need organized ways that people can convince the sites they like to publish in free formats. We also need ways for sites that use free formats to declare their support for the cause, and make the social mission behind their decision visible to users.

The FSF will be working on all these angles and more as part of its PlayOgg campaign. If you'd like to help out, get on playogg-discuss. Or if you have any specific comments on this article, email me at holmes at fsf dot org. Finally, anyone looking to become an expert on Theora should check out FLOSS Manuals' Theora Cookbook. The event was a great experience and the end result is solid. If you like it, buy a copy!

Update and FAQ

This article spurred some excellent discussion on Digg, so I thought I'd include the highlights, and some of my responses in a mini-FAQ:

What about hardware acceleration for improved battery life on mobile devices?

Theora doesn't have that yet, but if it becomes a popular way to post videos to the web, it could happen soon. In the meantime I'm okay with putting a bigger battery in my phone to be able to watch videos in formats other than h.264.

Most of the cheap "MP4" players (aka the iPod of the developing world) now support the free audio format Ogg Vorbis. They don't even advertise it, but the one manufacturer that makes all the chips simply included Ogg Vorbis support. Hardware support will probably happen, it just takes a little while.

What about Dirac?

There are other important projects with similar goals, like Dirac, an effort spearheaded by the BBC. But the exciting thing about Theora is that it's here now, supported by popular tools, and ready for mass adoption.

We expect Ogg Theora to have its strength in online video distribution, whereas Dirac will most likely have its strength in high definition footage.

Didn't Google just buy a more advanced codec that it's going to offer as a free format?

That would be awesome, but it's not a good idea to base a free formats strategy on what Google might do.

Advocates for free formats aren't trying to privilege Theora over other free video formats. We're just trying to get a foothold with something that we have now, and that works now. If some better patent unencumbered format comes along, we'll rush to include that under the umbrella.

Submitted by root. on 2009-08-11 05:14 PM. Community
With video streaming site Dailymotion offering the free Ogg Theora video format, FSF urges other video sites to follow.

Dailymotion has transcoded over 300,000 videos to the free Ogg Theora format, which will play without the need for plugins in the latest free software web browsers. Dailymotion is among the world's largest video streaming sites, making this a major advance for Ogg Theora format,

The Free Software Foundation and its PlayOgg campaign welcomed the news, "A creative art such as video production that is dominated by proprietary software can limit freedom of expression," said FSF executive director Peter Brown, "Dailymotion's support for Ogg Theora will let videomakers reach a large audience without compromise or concern for their software freedom."

“Our users expect the best possible experience and we are excited to be supporting free software and standards,” said Sebastien Adgnot, lead developer of Dailymotion's new Theora-driven portal.

"This is a milestone for free standards and free formats," continued Brown, "Dailymotion has taken a strong stand in support of Ogg Theora, and they've demonstrated that you can deploy Theora video on a mass scale."

Theora ready for primetime

With the release of the new HTML5 specification and its support in new versions of popular web browsers, Ogg Theora is easier than ever to use. Over 22% of users have browsers that will play Theora, and video publishers can use Java-based fall-backs like the free software player Cortado to support the browsers that still lack built-in Theora support. It's hard to overstate the importance of this step by Dailymotion. But it's also part of a broad movement by video makers, web developers, and online video companies toward independence from proprietary software and non-free formats, a movement in which supporters of the FSF and its PlayOgg campaign have played--and will continue to play--a vital role.

Beyond Flash

One of the most exciting recent developments for free software in the online video realm is the "video tag." This new HTML5 standard lets web developers build new ways of interacting with video without the need for proprietary software like Flash (Gnash is great after all, but you shouldn't need a plugin to play a video). The video tag provides web developer flexibility such as the ability to control and modify videos on the fly using web standards like JavaScript and cascading style sheets (CSS).

Ahead of Youtube

Dailymotion has a history of supporting the free software community, and now they're the first major video sharing site to implement significant support for Theora (here's a full list). With their support for free video standards, Dailymotion has jumped ahead of industry giant YouTube. Google's recent purchase of On2 - the company behind many advanced proprietary video codecs - gives Google an opportunity to help the free software community by freely licensing additional codecs. But until that happens (and it may be far off) Youtube will depend on non-free formats like h264 and proprietary software like Flash--while Dailymotion lets you publish using free formats right now.

Submitted by peterb. on 2009-08-11 12:01 PM. Community
Bob Naugle's final report on the Gnash "Summerbash" internship.

Episode 3 – Final Week


Hello fellow free software enthusiasts! Last week on the Gnash project blog I took the chance to introduce you to some of the team members, and gave you an idea of what we were currently working on. I am proud to report various levels of success across the board! We (the interns) are now cleaning up loose ends, and turning in final fixes to our code contributions. This will continue into next week, which is the last week of the Gnash “Summerbash” internship. The Leader Of The Interns, Rob Savoye, is planning on a Gnash release at the end of August, which means everything needs to be clean and tidy before then.

We are now faced with the somewhat daunting task of documenting our changes, ideas, and to-do lists, and basically securing our progress. This is an important step, as it will make it easier for someone else to understand and continue our work, hopefully without too much trouble.

The end of the summer is approaching quickly, and with it comes the end of the Gnash “Summerbash” internship. As always, there is still much to be done, so I'm getting back to work. Please stop by the #gnash IRC channel for more information on our progress and the upcoming release, or visit http://wiki.gnashdev.org/Gnash_2009_Summer_Project for a better idea of what this summer's “Bash” was all about!


P.S. Congratulations to Si, our newly-wed intern!

Submitted by johns. on 2009-08-10 03:38 PM. Community

by John Sullivan
Operations Manager

The Canadian government has set up an online public consultation process to revise its copyright policy, running until September 13, 2009. If you live in Canada, now is your chance to take back your copyright law.

You can participate at http://copyright.econsultation.ca/.

The last 3 of the 5 questions listed on the submissions page invite people to focus on only the hypothetical benefits of copyright while disregarding the question of the harm done to the public.

Here are some articles that might help in questioning this framing of the debate, and in emphasizing the public's interest:

While these articles talk about US copyright law, the idea that copyright's purpose is to promote authorship and thus benefit the public is accepted in the legal tradition of the English-speaking world, not just in the US.

To coordinate with other activists on this effort, see the LibrePlanet wiki page.

If people don't speak up, we may be facing a Canadian version of the Digital Millennium Copyright Act, which would restrict the freedoms of programmers, authors, readers, and technology users. Please make your voice heard now!

More information can be found at: speakoutoncopyright.ca

Submitted by peterb. on 2009-08-04 09:48 AM. Community
Bob Naugle's update report on the Gnash "Summerbash" internship.

by Bob Naugle

Gnash Summer Internship

Episode 2 – Progress

Greetings again from Colorful Colorado, the home of the Gnash “Summerbash” internship, where we five interns have been working on this FSF high-priority project for a few weeks now. While it is a fairly large project in size and scope, we have all managed to contribute some valuable pieces at an individual level. Despite the fact that there are so many pieces, it is nice to see some aspect of Gnash, even if it's tiny, behave correctly because of the work you've done. It's certainly been an interesting and rewarding project thus far.

That is not to say we haven't had our speed bumps. Gnash is the free flash player, so it has to do tons of things, some of which are show an animation, respond to user input, display text correctly, and even communicate over the web, and all this functionality must be decoded from a compiled .swf file. That's a lot of separate functionality, and it all has to happen at the same time. A hang-up in almost any area can upset the whole process, so progress comes in chunks.

I thought it might be nice to share some of our current campaigns, forgive me if any of it is too technical (or too watered-down, if you're into this kind of thing)...

  • Sharad and I have been working for about a week on text formatting. Things like wordwrap, cursor position, etc... It may not sound very exciting, but there is a LOT to consider, and I enjoy fiddling with minutia more than most.
  • Si has had his hands full with the LocalConnection class, which facilitates communication between local flash movies, through the use of shared memory. This involves things like creating and attaching to a shared memory segment, filling it, and reading it later.
  • Jon seems to want to get his hands filthy, and has tackled HTTP protocol issues. It's messy business, but extremely important to the Gnash core.
  • Ben jumped on the chance to build camera functionality nearly from scratch. He's been working on the camera and microphone classes for a while now, and is plugging them into the Gnash interpretation classes as I type.

There is only one more scheduled week in our internship, but lots to be done. If you are interested at all in the grungy details of our work, please check out the #gnash IRC channel. More updates to follow! Gnash "Summerbash" project.

Personal tools
 

Powered by Plone