Meet the Totem media player
Totem brings Hollywood to your Linux desktop. We'll show you how to get started with this movie player.
The Totem media player is the Gnome desktop's official movie player, so it's no surprise to find it listed in the Applications | Sound & Video menu as Hardy Heron's default player for video files and DVDs . Given the availability of other popular players, one might wonder why Heron's developers chose Totem, but after spending only a little time with it, I'm not sure I can easily go back to anything else.
Totem is available in two distinct versions. Totem-gstreamer uses the GStreamer media framework for its audio/video back end, whereas totem-xine employs the same services as delivered by libxine, the xine project's A/V engine. Heron's default version is totem-gstreamer, but totem-xine can be installed from the system's Synaptic package manager.
I tested version 2.22.1 of Totem on Hardy Heron as a live system from a CD/DVD drive in a machine powered by a 2.4GHz CPU. The machine's audio and video capabilities are above average because I do some professional audio work and because I like to watch movies on it with better than average sound and visual displays. However, this article is targeted toward the new user of Totem and presumes no special hardware or previous experience with any other similar player.
I have some words of wisdom to share with my readers. Before doing anything else with Totem, determine whether you intend to play files in formats known to be patent-encumbered or that are otherwise restricted. If your answer is yes, then open Synaptic and install all the GStreamer plugin packages. For various reasons, these packages are known as the good, the bad, and the ugly, but if you want to view certain popular file types, you will need the video codecs provided by those packages.
But wait, that's not all: You also need to determine whether you intend to play encrypted DVDs with Totem. If so, you again need a session with Synaptic to install the libdvdcss2 package. Because of legal complications, the library cannot be provided directly by Hardy Heron's default repositories. A quick search on Google led me to the Medibuntu site and its "repository of packages that cannot be included into the Ubuntu distribution for legal reasons" . Those reasons include copyright restrictions, incompatible licensing, country-specific patents, and so forth.
Obviously, Medibuntu is not an official Ubuntu component, but you are free to decide whether to add its repository to Syaptic's default list. Follow the simple instructions on the Medibuntu site's Repository HOWTO, and you'll soon enjoy the pleasure of using Totem to play your legally purchased DVDs.
Of course, Totem plays unencrypted DVDs and video files in open formats (such as Ogg, Theora, or MPEG-4) without extra packages, but alas, the greater number of video files will require the additional codecs and libraries.
Totem's user interface (see Figure 1) is organized for simplicity and speed. A single window presents a top menubar, the viewing screen, its transport controls, and a variably defined sidebar. Starting with the top menubar, I will take a closer look at each part of the Totem user interface.
The Movie menu provides the expected Open File and Open Location items, along with a list of previously opened files, play commands for discs in your CD or DVD drives, an Eject function, and the Quit command.
The Edit menu offers a Take Screenshot function – which is very handy – controls for Repeat and Shuffle modes, and controls access to the Totem Preferences and Plugin Manager dialogs (Figures 2 and 3).
Among other items, the View menu contains controls for Fullscreen and Fit Window To Movie. The Fit function merely sizes Totem's view screen to your movie's original aspect, but I found it to be a very neat feature.
Figure 1 shows off Totem after selecting the 1:1 fit for a widescreen movie, a more pleasing view than the default size. Of course, Totem can also be resized simply by pulling its corner sizing tab, but I found the Fit settings to be more satisfying.
The View menu further contains the expected controls for your video's aspect ratio: deinterlacing, subtitles, and viewing angle. It also includes toggles for the sidebar and the transport controls.
The Go menu provides quick jumps to various points on your DVD, including the audio, title, angle, and chapter menus. This menu also includes Skip To functions and Previous/Next controls for moving quickly to chapters in the currently playing movie or to another selection in your playlist.
The sparsely populated Sound menu offers only a Language control and two items for raising or lowering the volume. Finally, the Help menu provides access to the ever-popular About panel and to the Totem user manual.
On to Totem's main view screen. Left-clicking anywhere within that screen will open a pop-up menu that includes playback controls you've seen in the Movie menu and that are also in the transport control strip. The other feature of note here is that you can drag and drop files directly into the screen for instant play.
By default, the sidebar displays either a playlist or the properties of the currently selected movie. However, the Local Search and YouTube browser plugins also list their results in the sidebar (more about that later).
The +/-- buttons and the up/down arrows under the sidebar's listbox will add, delete, and re-order items in the displayed list. The disk icon opens the Save Playlist dialog.
The transport control strip consists of a location slider, a Play/Pause button, two controls for going to the Next/Previous item in your playlist, a volume control, and a toggle for the sidebar display. Finally, beneath the transport controls is Totem's status line, where you can see the playback state (playing, paused, or stopped), the elapsed time, and the length of the selection in hours/minutes/seconds.
That's about all there is to the Totem user interface. As I said, simplicity is its key design factor. Totem's feature set is not as extensive as some, but better than others. In my opinion, the designers have made the right decisions about what to include in Totem's menus and what to leave out. Even its Preferences dialog restricts itself to a few controls and settings, but they are the controls and settings that will matter most to the greatest number of users.
Buy this article as PDF
Founder of ownCloud launches the Nextcloud project.
Will The Machine change the way future programmers think about memory?
The new Torus distributed storage system is available under an open source license on GitHub
Juries decides Google’s use of Java APIs Was Fair Use
But if you are not using the latest Linux kernel, your system is insecure.
Home routers will give room for custom firmware but still comply with FCC rules
Frank Karlitschek will continue to lead the open source ownCloud project
“Xenial Xerus” comes with a new packages format and several improvements for the enterprise.
Linux users can now download and install the Windows code editor
New initiative will address security and interoperability concerns around container technology.