Revisiting Linux Part 1: A Look at Ubuntu 8.04
by Ryan Smith on August 26, 2009 12:00 AM EST- Posted in
- Linux
Applications: Video Playback
Windows Default: Windows Media Player
What I use: Media Player Classic – Home Cinema
Ubuntu Default: Totem (Used: VLC)
Moving on to video, we have Totem, Ubuntu’s other media player. As we previously mentioned it’s already the default for audio files opened via the file browser, and along with that it’s also Ubuntu’s only video player. In concept it’s close to VLC or Media Player Classic, as it’s a solitary program that has a single window to play whatever the currently opened file is.
The single biggest strength of Totem is that once the restricted codec pack is installed, it can play anything and everything under the sun. MP3, AAC, MKV, H.264, MPEG-4 ASP, FLAC, and more are all available. This makes both Mac OS X and Windows Vista pale in comparison – the former can play about half of that, the latter even less. Codec hell has always been a nuisance under Windows and Mac OS X, but Ubuntu gets things right and avoids it altogether. I really can’t overstate this; from a fresh install it’s much, much easier to play media out of the box with Totem on Ubuntu than it is any other OS. This is the experience everyone else should be shooting for.
The key to Totem’s ease of use stems from the fact that the restricted codec pack includes the FFmpeg project’s libavcodec library of audio/video codecs. As the project seeks to offer playback support for every significant codec in existence, this gives Totem a clear advantage over Windows and Mac OS X, neither of which use libavcodec. This does mean, however, that Totem is not unique. Its playback abilities can be found in any other application that implements libavcodec, such as Media Player Classic, MPlayer, VLC, and others. As such the real magic is that Totem is the only default media player to include these abilities, rather than that it’s a completely superior media player.
As it stands there are two big kinks in Totem. The first of which is that it’s an extremely simple media player that lacks any kind of advanced features. It offers a single deinterlacing mode, no control over post-processing, and no audio/video filters. As such advanced users are going to find it unsatisfactory, and accordingly it’s one of the only default Ubuntu programs I specifically replaced when using Ubuntu. Instead I ended up using VLC, which has the advanced features I was looking for and I was already familiar with it since it’s a cross-platform media player.
The other kink in Totem is that it’s only as good as libavcodec, which in turn is only as good as the version of libavcodec that came with Hardy due to Ubuntu’s software update policy. As it stands the version of libavcodec that comes with Hardy has issues playing back a small number of Windows Media Video files, something which newer versions correct.
Furthermore it suffers from libavcodec’s continuing weakness: H.264 playback. Only the single-threaded H.264 decoder is considered stable, as such all libavcodec players using it will run in to problems when decoding high bitrate material. Our 30Mbps test clip won’t play back correctly under Totem or VLC 1.01, for example. There is a multithreaded H.264 decoder available in libavcodec, but as it’s not stable (on players that I have that include it, it crashes from time to time) it’s not suitable for general distribution. All of this is compounded by the fact that there’s no other H.264 decoder that can be installed on Ubuntu (e.g. CoreAVC) which means Ubuntu is limited to the best that libavcodec can do. For this reason none of the regular Ubuntu media players are well suited for material such as full quality BluRay rips.
Now we have yet to touch on hardware accelerated playback, which is something we’re going to hold off on until we take a look at Ubuntu 9.04. Linux does not have a common media framework like Windows and Mac OS X have DirectShow/DXVA and QuickTime respectively. Rather the desktop environment that Ubuntu is based off of (GNOME) includes a lesser framework called GStreamer, which is closer to a basic collection of codecs and an interface to them. As such hardware accelerated playback is not as easy to do under Ubuntu as it is under Windows and Mac OS X. We’ll take look at the APIs and the software for this in our look at Ubuntu 9.04.
But so long as you don’t need hardware accelerated playback, then Totem or another libavcodec based player will do the job nicely. Compared to the other applications in Ubuntu, I would put Totem/VLC up there with Firefox in terms of being a jewel of the OS. Like Firefox they may not be OS-exclusive applications that can be used to drive users towards Ubuntu, but they help solidify Ubuntu by giving it the ability to do a common task just as well as (or better than) any other operating system. At least until Windows 7 hits the shelves, no one has a better default media player.
Final Verdict: Meets My Needs
195 Comments
View All Comments
sheh - Thursday, August 27, 2009 - link
Also, it's "into", not "in to".Anyway, an interesting read. Thanks.
sheh - Thursday, August 27, 2009 - link
Also, it's "into", not "in to".Other than that, an interesting read. Thanks.
ssj4Gogeta - Thursday, August 27, 2009 - link
nevertheless is one "world"?:P
Ryan Smith - Wednesday, August 26, 2009 - link
Noted and fixed. Thank you.ClownPuncher - Wednesday, August 26, 2009 - link
Web browsing page - Ariel should read Arial when talking about fonts?pcfxer - Wednesday, August 26, 2009 - link
Ease of use of Ubuntu is superseded by PC-BSD and its PBI packages. PC-BSD also takes MUCH less time to install than Ubuntu.Souka - Wednesday, August 26, 2009 - link
I use PC-DOS 1.0aRuns very fast on my Core i7 setup, and I haven't even overclocked it yet.
ap90033 - Friday, August 28, 2009 - link
You probably can run more games in that than linux LOL...Penti - Tuesday, September 1, 2009 - link
You can run dosbox or dosemu in Linux just like in Windows...superfrie2 - Wednesday, August 26, 2009 - link
I'm not quite sure I agree with your criticism of .iso mounting in linux. The mount -o loop command is very easy to use after you've done a couple of times. In fact, I think it is far better than using D tools in windows because you don't have to worry about unclicking all the gay-ware it tries to get you to install.Also, I'm not sure I agree with your pseudo dislike for some forms CLI. CLI is far more powerful than what its GUI based copies tries to accomplish. As a matter of fact, the more I learn about linux's CLI, the less I use the GUI. I find myself only using the GUI for web browsing on a regular basis.
However, when looking at the linux GUI, compiz fusion is simply amazing. When I have a shitload of stuff open, compiz allows me to organize all of my windows and access them very efficiently. In fact, when I use windows for games, I feel handicapped.
The most interesting part your testing was that windows applications running under wine outperformed linux native applications. I look forward to hearing more about that aspect like you mentioned.