Wikimedia blog

News from the Wikimedia Foundation and about the Wikimedia movement

Posts by Michael Dale

Video Labs: Universal Subtitles on Commons

Universal Subtitles Widget Sync Interface

Universal Subtitles synchronisation interface gives subtitle authors fine grained control over subtitle timing.

For the past 6 months the Participatory Culture Foundation has been hard at work on their latest open web video mission to make captioning, subtitling, and translating video publicly accessible in a way that’s free and open. Part of the Mozilla Drum Beat campaign for a better web, Universal Subtitles is a tool and platform to help bring an open solution to subtitling web video. Commons has supported timed text via the mwEmbed gadget for some time, but up until today it has been very difficult to create the initial subtitle track. I have been watching the development of the universal subtitles efforts, and while at the subtitle summit and open video conference we were finally able to hack on bringing the Universal Subtitles widget to Wikimedia Commons.

Today, I am happy to share our first pass at integrating our open subtitle efforts. Please keep in mind this integration is still very early on in development, but the basic milestone of being able to use the tool on commons to create and sync up subtitle tracks is an important first step. Even without helpful tools in place, the Wikimedia community has been creating subtitles and translations. We hope this new subtitle edit tools will broaden the number of participants and enable the Wikimedia community to set a new standard for high quality multilingual accessibility in online video content.

If you have a moment, feel free to check out the widget and provide some feedback. If you are looking for a video to subtitle, check out the recently created needs subtitling category.

Michael Dale, Open Source Video Collaboration Technology

Video Labs: P2P Next Community CDN for Video Distribution

As Wikimedia and the community embark on campaigns and programs to increase video contribution and usage on the site, we are starting to see video usage on Wikimedia sites grow and we hope for it to grow a great deal more. One potential problem with increased video usage on the Wikimedia sites is that video is many times more costly to distribute than text and images that make up Wikipedia articles today. Eventually bandwidth costs could saturate the foundation budget or leave less resources for other projects and programs. For this reason it is important to start exploring and experimenting with future content distribution platforms and partnerships.

The P2P-Next consortium is an EU-funded project exploring the future of Internet video distribution. Their aims are to dramatically reduce the costs of video distribution through community CDNs and P2P technology. They recently presented at Gdansk Wikimania 2010, and today I am happy to invite the Wikimedia community to try out their latest experimental efforts to greatly reduce video distribution costs. Swarmplayer V2.0 is being released today for Firefox (an Internet Explorer plugin is in testing). The Swamplayer enables visitors to easily share their upload bandwidth to help distribute video. The add-on works with the Kaltura HTML5 library ( aka mwEmbed ) and url2torrent.net, to enable visitors to help offset distribute costs of any Ogg Theora video embed in any web page.

p2p next desing overview

Swarmplayer next design overview, learn more on swarmplayer.p2p-next.org

We have enabled this for Wikimedia video via the multimedia beta. Once you installed the add-on any video you view on Wikimedia sites with the multimedia beta enabled will be transparently streamed via bittorrent. The add-on includes simple tools to configure how much bandwidth you use to upload. Even if you upload nothing, using the add-on helps distribute load by playing the video from the P2P network and the local cache on subsequent views. The Swarmplayer has clever performance tuning which downloads high priority pieces over http while getting low priority bits of the video from the bittorrent swarm. This ensures a smooth playback experience while maximizing use of the P2P network. You can learn more about the technology on the Swam player add-on site

The P2P Next Team from Delft University of Technology will be presenting the P2P-Next project at the Open Video Conference on October 2nd.

Michael Dale, Open Source Video Collaboration Technology

Video Labs: Kaltura HTML5 Sequencer available on Wikimedia Commons

sequence drag drop

Screenshot showing a search for cats and drag an image into the sequence

I am happy to invite the Wikimedia community to try out the latest Kaltura HTML5 video sequencer as part of a Wikimedia/Kaltura Video Labs project that can now be used on Wikimedia Commons with resulting sequences visible on any Wikimedia project. For those that have been following the efforts, it has been a long road to  deliver this sequence editing experience within the open web platform and within the MediaWiki platform. This blog post will highlight the foundational technologies in use by the sequencer in its present state and outline some of the upcoming features in Firefox 4, and enhancements to the sequencer itself that are set to improve the editing experience.

If you want to just jump into editing, please check out the commons documentation page and play around with the editor and let us know what you think. This project is early on in its development. Your bug reports,  ideas, feedback and participation will help drive future features and how these tools are used within Wikimedia projects.

If you’re interested in Video on Wikipedia in general, please consider joining the Wikivideo mailing list which will cover a wide range topics, including the sequencer, collaborative subtitles, timed text, video uploading, video distribution, format guidelines, and campaigns to increase video contributions to the site.

And finally, if you are in the New York area consider checking out the Open Video Conference coming up October 1st to the 3nd, which will be a great space to hack on open video and work on ideas for the future of video on Wikimedia projects.

(more…)

Fun with Subtitles

You can chouse your language

You can select your subtitle language

We have just finished up the Multimedia Usability Project Meeting here in France. I am sure there will be more general wrap up coverage of the meeting shortly… but I wanted to share a hack we worked here.

For a long time people have requested subtitle support for mediaWiki embed videos and at this meeting we were finally able to sit down and hack up an initial solution. The system works by putting the srt files into the wiki so people can collaborate on translation and contribution. The naming scheme is “TimedText” followed by the file name followed by the language code followed by .srt . We include a basic editor to upload srt files and switch between between languages. We presently display the subtitles on the side of the video but they should make there way below the video soon. There are lots of supporting projects to work on if anyone is interested ;)

How do I try it out

To try it out install the mwEmbed gadget and then visit either video linked to in this post. Hopefully we can produce some more documentation soon :)

Some quick ideas for enhancements ( I am sure you can think of some too) :

  • A translation interface maybe borrowing from the techniques used on translatewiki.net
  • A simple search of subtitles from the current video
  • A more complex search system for subtitles across all videos
  • Timed metadata a-la-metavid
subtitles on commons

subtitles on commons using the mwEmbed gadget

Localization Update: As mentioned in the comments we are still missing some of the localizations msgs. They should be making their way in there soon, along with some other updates.

Michael Dale, Open Source Video Collaboration Technology

New Media Features Gadget

I would like to announce that some of the new media features are now available in gadget form on Wikimedia Commons and the English Wikipedia. These include a new ogg player, the add media wizard, and firefogg upload support. I hope having these components in gadget form will enable some more testing and feedback :)

Getting Started to enable these components you must turn on the mwEmbed gadget. You can turn it on by visiting your preferences page. Once you enable the gadget you should shift reload to ensure you have a fresh copy of the JavaScript. (note you will need to enable the gadget for each wiki you want to test (ie both for wikimedia commons and Wikipedia). Once enabled you can check out the following features: (more…)

Theora 1.1 Released

Theora 1.1 has been released

Theora 1.1 has been released

Theora 1.1 has been released. This release reflects the efforts of xiph.org developers who over the past year have done incredible work to greatly improve the core free codec video library. This effort has been support by Mozilla Foundation, Red Hat and others. These improvements include:

  • Better-looking videos or
  • Smaller files at the same quality.
  • Much faster decoder.
  • Two-pass mode for making files just the size you want them.
  • Rigid bitrate controls trade off quality for the needs of live streaming applications.

Chris Blizzard from Mozilla has a detailed blog post about the improvements and what they mean for open video creators, distributors and viewers. Wikimedia foundation makes exclusive use free/open formats and has been a long time supporter of ogg theora and makes use of the free codec in its websites. Wikimedia also helped organize some improvements by administrating a theora improvement grant from Mozilla earlier this year.

Also a new version of ffmpeg2thora has been released using this new codebase making it easy to take advantage of these new features. If you would like to give the new encoder a spin you try it out with the web based firefogg encoding app.

Michael Dale, Open Source Video Collaboration Technology

Massive Theora Encoder Improvements on the Way

As part of the Mozilla development grant Timothy in collaboration with other xiph hackers has been hard at work on improving the theora encoder. I am happy to share an updated report that Monty has put together. I will jump to the zinger:

“Test versions of Thusnelda are pulling *ahead* of h264 in terms of objective quality as bitrate increases”

These objective measurements are based on peak signal-to-noise ratio (PSNR) values which are not always identical to subjective quality measurements. That being said PSNR is pretty standard objective measurement and good for same content comparisons (1)

New theora encoder 1.5x

New Theora encoder 1.5x

Original Theora Encoder 1.5x

Original Theora Encoder 1.5x

Why is this good news for Wikimedia? Wikimedia only supports free file formats. So these improvements mean that every new video uploaded to commons in the near future will be on par with contemporary industry standard high quality proprietary codec. This highly reduces the subjective quality rational for using proprietary codecs.

Why are free codecs important? Wikimedia (and anyone else that wants to switch to free formats) won’t have to pay millions of dollars to in licensing costs to use the h.264 codec and won’t have to sacrifice quality in the process. More importantly it means anyone can encode or decode these files without paying for a license to do so. This means both free and proprietary software can support this format.  Where as previously only controlled free as in beer distributions like adobe flash could support video on the web.   It enables free software projects like firefogg to package the encoder and give it away for free. It helps opens up the video communication platform for distributed two-way communication.

I should also point out the Open video conference is happening mid June for people interested in an open video event.

Add Media Wizard and Firefogg on test.wikipedia.org

I am inviting people to check out the add media wizard and Firefogg on test.wikipedia.org.To help test go to you user preferences on that server and enable the add media wizard gadget. You can add general feedback here.

This post is cross posted on metavid.org

Basic Feature Overview:

add media wizard

The Add Media Wizard adds a little “add media” button to every edit page letting you open up media search system to inject images and movie clips into your page. Presently the media search system searches commons, archive.org and metavid.org. (note archive.org inserts are not yet working because of a redirect bug we should have that fixed soon).

firefog logo

firefogg logo

Firefogg is the really cool extension that everyone using open video on the web should know about! It packages ffmpeg2theora transcoder letting web sites trigger clients uploads of videos from whatever local format they have. Once you have enabled the add media wizard the site upload form gets a little use Firefogg button. Which you can use to enable the transcoder.

You may also want to see Brianna’s blog post made early this year about these media features. Stay tuned for wider gadget deployment ;) … if your can’t wait you can always add

update you can now use the add-media-wizard via the mwEmbed gadget.

to your User:UserName/monobook.js page. (note we have not yet enabled copy by url uploads on the other sites so you can’t import resources from archive sites yet)