So, according to Thoggen’s count, it took 4.45 hours to encode into Theora. At least with this DVD it seems that the coding team has fixed their error where the software seems to keep going past the end of the DVD. As far as I recall from one year ago, it didn’t add more infomation in - the thread just didn’t get the message that the title was done encoding.

I have not watched the file yet as I went straight into encoding the DVD into xvid. According to ls, the file took 706600062 bytes or 674 Megabytes. I told it to target 650 - but these algorithms are notorious for not being able to get it just right. I think it’s a general programming problem - not something that these guys just haven’t figured out because they are lazy. So, I would say, if you have a 700 MB CD-R (pretty much the standard nowadays), tell it to aim for 650 and you’ll be ok.

Now, for the Xvid side of things, I wanted to be fair to the Thoggen folks. Just as I didn’t use libtheora and some command line tools to encode the file (which may have been faster or different in some way), I decided not to encode the Xvid file with raw mencoder on the command line. I used dvd::rip, a perl frontend to transcode. It is pretty complex and capable of encoding to avi, mpeg, and ogg containers. I told it to try and reach a target size of 650. I also told it to rip subtitles (since it can) and so it predicts that the filesize will be 651 MB. We’ll see how close it ends up being.

Specifically, I told it to use Xvid4 with MP3 128kbit/s audio. I’m not sure how that compares to the Vorbis encoding Thoggen chose. Again, Thoggen is very Gnome-like and doesn’t provide too much configuration. It’s both a blessing and a curse. I told it to use smart deinterlacing as I didn’t know if the video was interlaced or not. I only gave the documentation a quick read today, so I’m not sure if there’s a way to encode the file in only one pass. That’s usually what I do with mencoder on the command line. Apparently the two pass encoding seems to make it take just as long as Thoggen. It appears to be taking somewhere in the vicinity of 4 hours to encode. Again, with my command line settings it usually only takes 20-30 minutes - but I wanted to compare automated solution to automated solution. (And, with ffmepg2theora, I think it also takes somewhere in the realm of 20 minutes)

So, I think the file may not be ready for me before I hit the hay so join me tomorrow for our conclusion in part 3.

  

Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • De.lirio.us
  • Netscape
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati

Thoggen is a tool for backing up DVDs to the ogg container with the theora video codec and vorbis audio codec. Theora is the darling video codec in Linux because it is unencumbered by patents. There are other free formats, such as Xvid - a format compatible with Divx, but it is based on MPEG-3, which is patented by the group the controls the MPEG standard. Technically all encoders need to pay them a fee to encode to MPEG formats. This can get expensive - M$ is curently being sued by one of the patent holders of MPEG Layer 3 Audio (AKA MP3) for a very large amount of money. I *think* it’s in the billion range, but I could be off by an order of magnitude. So, theora, which was licensed to the open source community, is the safest bet.

Due to the explosion of Divx, kazaa, and bit torrent culture, anyone can play Xvid files because they can play Divx files. I know that my Xvid encoded files play in Windows Media Player and I didn’t have to do anything outside of installing Divx. Mplayer and Xine can also play it in Linux and BSD. I also think it will play in Quicktime. So what about Theora? Sure, you’ll be making patent-free videos (how responsible of you) that Linux purists can watch. But will they be the only ones watching? Hardly! Both VLC and Democracy Player will play Theora files on Windows computers. So if you create Theora files, you will be able to make videos that EVERYONE (even rms) can watch.

Last time I looked at Thoggen (approximately 1 year ago) they were at version 0.4 - they are now at version 0.6. That version is about 6 months old, so hopefully another one is coming out soon. I am running Thoggen on my DVD of The Birdcage. This is a hilarious movie with Robin Williams, Gene Hackman and a slew of other A-listers which ecape my mind right now. Well, the beginning screen to Thoggen is very simply and professionally done. You select the movie you wish to encode and go on. The next screen allows for cropping, selection of language, and selection of saving location. Again, very well done! Well, except cropping didn’t work the way it should. No matter where I “seeked” to, all I got was a black screen so I had no idea how much I would be cropping. Then I hit save and, after all this wonderful professionalism, we hit a snag.

This was present back in 0.4 and it’s still here - the encoding is slower than a group of elderly ladies jazzercising in the water. I cam 6 minutes into the movie and it says it will take another 5 hours to encode. It’s encoding at 14 frames per second or half the speed of watching the movie. I forget if this is Thoggen’s fault or libtheora’s fault. Either way it’s unacceptable. Only rms would patiently wait to convert his DVDs this way when Xvid encodes with at least 4 times the speed. Usually a decent enough quality 1-pass encode in Xvid (in mencoder) only takes about 20 minutes for the average length movie. In fact, I’ll time it with The Birdcage when this one finishes up.

I’m not going to stick around for another five hours - that’s about the time I am eating my breakfast. Tomorrow or tonight….er…basically 3 April in the evening or 4 April in the 0000 hours of the night/morn, I’ll put up part 2. My focus will be on the following:

  • how fast does Xvid encode (in mencoder) vs Theora (in Thoggen)
  • What are the final file sizes?
  • How does the quality compare?

I may think of other things later, but those are my main comparisons. I’ll have to make sure I scale the video to the right size in Xvid to make suer I have a valid comparison. So join me tomorrow!

  

Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • De.lirio.us
  • Netscape
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati