About these ads

David Vassallo's Blog

If at first you don't succeed; call it version 1.0

Video and Volume woes in Ubuntu : GMplayer and VLC


I finally moved my home laptop (an Acer Aspire) to Ubuntu 9.10. Everything ran smoothly and I was impressed at the ease of setup. This distro definitely has come a long way since I first tried it. However I did have one major issue. After upgrading to all the latest updates and attempting to play a movie using Ubuntu’s default movie player totem, nothing would show :(

That is, I would be able to hear the audio of the .avi that was being played, but the video output itself would be black. Changing the different outputs made no difference. Eventually I changed to using VLC (video lan player) and the gnome mplayer. Both these players were displaying video with no issues. Each of the players had its own minor issue however.

Gnome Mplayer had very low volume. On windows, the files would play with quite a high volume, but in GMplayer, the sound was lower than what I wished for. I checked the volume levels on all the audio outputs, for both the alsa and pulse sound mixers, to no avail. Turns out there is actually another way to increase the volume:

- Go to the home folder of the user (cd ~)
– cd into hidden folder “.mplayer
– Edit the config file in this folder
– changed audio output to alsa (first line)
– added the last two lines to the output, so the whole config file follows:

————————————————————————————————-

# Write your default config options here!

[gnome-mplayer]
ao=alsa
msglevel=all=5
softvol=1
softvol-max=800

————————————————————————————————-

This solved my volume problem and I could play the movies at a comfortable level using the hardware volume control.

The minor issue I had with VLC is that the VLC version that is currently included in the Ubuntu repository is 1.0.2. In this version, attempting to change the order of the videos/songs in the playlist would not work, and sorting the playlist by title or date or any other criteria would cause the program to crash. This issue got fixed in 1.0.3, and the easiest way I found to install this version is to do the following:

- Download and install the “Ubuntu Tweak” program from here:

http://ubuntu-tweak.com/

- Go to the “Source Centre” section and download VLC from there

The alternative which is still very easy involves downloading VLC from a ppa (personal package archive), such as is outlined in the article below:

http://tuxarena.blogspot.com/2009/07/how-to-install-vlc-10-from-ubuntu-ppa.html

In the above article, note that you should change the occurances of jaunty into karmic for Ubuntu 9.10

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 155 other followers

%d bloggers like this: