This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Feature: Graphics & Multimedia

OggConvert makes Ogg converts (and converts to Oggs)

By Nathan Willis on December 21, 2007 (9:00:00 PM)

Share    Print    Comments   

OggConvert is a simple, GUI-based video transcoder that outputs only to the free Theora and Dirac formats. It couldn't be any easier to use, and it's the quickest way to get a feel for the still-new Dirac codec. No need to tweak pages of arcane settings -- just drag, drop, and watch.

You can download OggConvert as source code, or as a prepackaged binary for Debian, Fedora, SUSE, or Ubuntu. The latest release is version 0.3. OggConvert is written in Python, and uses GStreamer to perform its media conversion work.

In order to convert to the Dirac format, you need at least GStreamer 0.10.11 and the libschrodinger encoding library. GStreamer should be available on every modern Linux distro; libschrodinger is less mature, so packages are not as widespread, but it's available through the standard package management systems of Debian, Ubuntu, and Fedora.

Conversion experience

When you launch OggConvert, you could be excused for thinking "that's it?" The interface is extremely simple. A file selection button is at the top, a couple of option selectors are below it, and a place to specify the output file name and location is at the bottom.

The file selection button opens a GTK file select window that looks for compatible input files. Compatible files include all formats with a MIME type of video/* or audio/* -- which does not include existing .ogg media, which are typed application/ogg. Once your input file is selected, you have your choice of Theora or Dirac for the video codec. Two sliders allow you to separately set Video Quality and Audio Quality on a one-to-ten scale.

Under Advanced, you can choose between Ogg and Matroska for the media container format. Matroska support is new in version 0.3; like Ogg, the Matroska format is patent-unencumbered and open source, and is supported by GStreamer. Matroska's creators assert its superiority over Ogg in a number of areas; the one distinction no one argues about is that Matroska is designed to encapsulate any codec, while Ogg is designed specifically for Xiph.org codecs like Theora.

With the settings to your liking, all you need do is click the Convert button. OggConvert will pop up a progress window, counting the percentage of the job done and estimating the time left until completion. Both factors require some interpretation; in all of my tests, the job was not completed until the progress meter reached well over 130 percent. Running on a single-core 2.4GHz Athlon CPU, I acheived approximately 2x encoding speed using Theora, and just under 1x using Dirac.

I hope to see other minor issues fixed in future releases. For instance, I got several warning messages alerting me that conversion had "stalled" and I should cancel the process, even though conversion continued to churn (as evidenced in the progress meter, console messages, and system monitor)and the final result was a good file.

On the whole, though, OggConvert achieves point-and-grunt simplicity while producing high-quality output. Thanks to GStreamer, all meta-data from the source file is automatically preserved and reproduced in the destination file.

If you have ever used a Swiss Army transcoder like DVD::Rip, you know how many options there really are to codecs like Theora. OggConvert hides them from view, and for a casual user it is the correct move.

I must admit, the first time I used OggConvert, I wanted the one-to-ten quality sliders to present some detailed explanations of each level. But ultimately, "quality" is entirely a subjective measurement; what matters is whether you are satisfied with the look of the video and the size the file occupies on your hard drive. If you feel like experimenting, you can systematically encode the first few seconds of your video at each quality level, cancel the job, then compare the results.

Dirac: delta, equation ... codec

Aside from its practical value converting video files to a free format, OggConvert is also noteworthy for letting regular users (i.e., not video codec programmers) experiment with the free Dirac codec.

Dirac was created at the BBC, uses wavelet compression, and is still technically undergoing revision -- meaning that the format itself is still changing, not just the libschrodinger software that OggConvert uses to write to it. When you start a Dirac conversion, OggConvert warns you of the codec's experimental status.

You are likely to see a visible difference between Theora and Dirac, both on screen and on disc. Since libschrodinger is a GStreamer project, you will need a GStreamer-based video player to watch Dirac-encoded files. Theora video is supported by GStreamer too, but also by several non-GStreamer players such as VLC and MPlayer.

OggConvert's creator Tristan Brindle is excited to see a Dirac encoder nearing the point of real usability. Theora, he says, "is nowhere near as good as Xvid, let alone modern codecs like H.264 and VC-1. The one and only thing it's got going for it is that it's free (as in speech), but the majority of people simply don't care about that.

"With Dirac though, we have (or will soon have) a free video codec that is completely state-of-the-art. Especially with the BBC's name attached to it, there's a really good chance to grab mainstream attention in a way that Theora has never been able to. That's why I added Dirac support to OggConvert very early on, because I think it's really important that we push it as much as possible."

In my tests, given the same source material and the same quality settings, the Dirac-encoded files were always larger in size than Theora-encoded versions, took longer to convert, and had more visual compression artifacts. So for the time being, Theora remains the better choice, and OggConvert's warnings about Dirac justified. But it is encouraging to use a working implementation of Dirac. As libschrodinger is updated, I plan to revisit the codec and watch the improvement.

Last year I wrote about Thoggen, a simple drag-and-drop video converter to easily transcode DVD video into Theora format. OggConvert has a slightly different focus, but my assessment of it is much the same: it works without making you worry about the job, and which is all that matters. The fact that it helps propagate patent-free video formats is icing on the cake.

Share    Print    Comments   

Comments

on OggConvert makes Ogg converts (and converts to Oggs)

Note: Comments are owned by the poster. We are not responsible for their content.

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 69.1.39.138] on December 21, 2007 10:00 PM
libschrodinger is not listed at packages.debian.org : so why is it stated that it is in the standard packaging repositories?

#

Re: OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Nathan Willis on December 21, 2007 11:08 PM
Because, for some reason, some people spell it libschroedinger: http://packages.debian.org/libschroedinger-0.9-0

#

Re(1): OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 84.61.190.3] on December 22, 2007 12:45 PM
some reason: it is not letter 'o', but letter 'ö' in Scrödinger, and in ascii it is standard to write 'ö' as 'oe'.

#

Re(2): OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Nathan Willis on December 22, 2007 03:24 PM
Well, that's an interesting theory. The trouble is that the project itself doesn't do so: http://schrodinger.sourceforge.net/ . One might could argue that they are asking for trouble by choosing a name that doesn't easily encode, but as has just been observed, lack of consistency on the part of third-parties can introduce some big problems.

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 66.102.84.250] on December 22, 2007 12:47 AM
Great project - site lacks support or documentation (docs probably not required). Gave it a try and found that it converted some of my mp3 files from stereo to mono and left many artifacts (pops, crackles and skips) converting wma files. I think I will stick with using mplayer to encode to wav file and oggenc to convert wav to ogg file - much cleaner result with many options to tweak. Ultimately I guess I am a command line / script junkie and will probably stay that way.

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 77.99.72.140] on December 22, 2007 01:05 AM
Good article.

If you ever want to convert mp3's to ogg/vorbis check out ogg2mp3 at http://emptybits.com/ogg2mp3

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 71.61.206.220] on December 22, 2007 06:25 AM
I wish it had resize options. Then, it would be entirely and wholly useful unto itself.

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 69.179.110.89] on December 23, 2007 01:32 AM
> It couldn't be any easier to use

Yes it could. I could type "oggconvert filename". Why do I need a GUI for something this simple? Why don't you want to make it possible to use the program in scripts?

BTW the instructions for your CAPTCHA say "Copy the word from the image on the left into the input box" but the image is above.

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 76.105.101.95] on December 23, 2007 07:10 AM
I am all for Ogg format, but the problem home users face is that not that many portable devices out there support Ogg. Most will definitely support mp3 and wma.

I am not expert and certainly don't keep track with all devices available out there, but from my last research a year or two ago before I bought a Creative ZEN Vision:M, very few if any support Ogg.

Maybe things have change a lot since.

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 155.104.37.17] on December 23, 2007 01:13 PM

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 189.70.155.108] on December 23, 2007 02:48 PM
LiVES (http://lives.sourceforge.net) is still the only video editor which will allow you to save in Dirac format. It's had support for Dirac for over 2 years now.

Surely that's worth a mention as well ?

#

Re: OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 189.70.155.108] on December 23, 2007 02:51 PM
BTW, LiVES also supports encoding to ogg vorbis, theora, and another free codec, Snow.

#

VLC does a good job on transcoding too

Posted by: Anonymous [ip: 82.71.1.109] on December 23, 2007 05:43 PM
VLC does this stuff very nicely too (I frequently use it to rip DVDs) except Dirac.

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 67.185.44.237] on December 23, 2007 07:55 PM
OggConvert also converts various audio formats to Vorbis, in case that wasn't clear.

#

Ogg support needed on MP3 Players!

Posted by: Anonymous [ip: 70.185.160.3] on December 26, 2007 06:26 PM
I would transcode my entire music library to Ogg Vorbis if my iPod supported it. I am tied to AAC just because of my iPod. And before you reply about Rockbox, I cannot use it. Unfortunately, my iPod is a second-generation aluminum Nano. The firmware on the 2nd-gen nano has not yet been cracked by anyone. =/

And how do you rip DVDs via VLC?

#

LGPL

Posted by: Anonymous [ip: 200.140.129.159] on December 30, 2007 05:38 PM
Why would a 'front-end' use LGPL as its license?

#

OggConvert makes Ogg converts (and converts to Oggs)

Posted by: Anonymous [ip: 212.67.187.169] on January 31, 2008 01:15 AM
I have seen some great tips here. <a href="http://www.theworldofoffice.com" title="The World of Office, XP and Vista Tips and Tricks.">The World of Office, XP and Vista Tips and Tricks.</a>

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya