Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-19-2007, 11:24 AM   #1
Registered: Oct 2007
Posts: 74

Rep: Reputation: 15
Mplayer doesnt play video

Hi, Ive got Kanotix 2007 RC6 "Thorhammer" installed in VMPlayer with WINXP (NTFS) as guest. Mplayer refuses to play any type of registers instead “Error opening/initializing the selected video_out (-vo) device”. VLAN player has no problem with same files. I would like Mplayer as standard, Ive heard it can play Real files and almost anything else....huh! So off I went to Mplayer site and downloaded and unzipped appropriate codecs to /usr/local/lib/codecs/ change.
Kaffeine player plays same AVI files but way out of synch with too many lost frames.
Also, MP3 files play ok but volume is way down compared to Windows. Im missing out on something here, Im brand new to Linux and its command structure and I need somebodys help...please?
Old 10-19-2007, 12:18 PM   #2
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Error opening/initializing the selected video_out (-vo) device
This is the big clue. MPlayer supports many video_out modes. Obviously the default here is not working. So try the following:

In a terminal:

mplayer -vo help
This will give you a list of available vo devices. As an example, this is what happens when I use the above command:

MPlayer dev-SVN-r24796-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
 Available video output drivers:
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        gl      X11 (OpenGL)
        gl2     X11 (OpenGL) - multiple textures version
        null    Null video output
        mpegpes Mpeg-PES file
        yuv4mpeg        yuv4mpeg output for mjpegtools
My MPlayer is custom compiled and I removed alot of the unnecessary vo modes, so you will probably see alot more modes available.

What you now need to do is find a video_out mode that works.

To do so you need to try some of the modes listed by your MPlayer, it is best to start from the top.

Again in a terminal:

mplayer -vo x11 somevideofile.avi
and so forth replacing x11 with next vo mode etc. Go through your list until you find one that works.

Once you have (hopefully) found one that works, you need to add that mode to your mplayer config file.

Let's say the video mode "gl2" works. Open up ~/.mplayer/config with an editor and add the line "vo=gl2".

After that you should be set.

Of course if none of the modes work then you may have. some other complications brought about by the VM. Unfortunately I don't have the experience here and can't help much.
Old 10-21-2007, 03:50 PM   #3
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks for the help. As Im new to console I decided it might be easier to simply install a new mplayer (tar.gz form) from official site. Ive followed all instructions carefully,carried out instructions "make...." etc. Now the thing sits comfortably in /root/mplayer, I cant open it and console doesnt recognise "mplayer" command. What now?

Last edited by stoppage; 10-21-2007 at 03:51 PM. Reason: type error
Old 10-24-2007, 06:28 PM   #4
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
o.k., for a normal .deb-package install in Kanotix I need to know if its standard procedure that one has to check contents of config files.I thought Kanotix was supposed to be user-friendly? And for "stray" software does Kanotix have any type of clean-up facility?
Old 11-02-2007, 09:40 AM   #5
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
In case anybody has a similar problem with Mplayer, I am reliably informed from other sources of following....Kanotix has Amarak, Xine, Kaffeine, Xawtw and VDR for video formats as default. One or more of the default players above could be on the same port as Mplayer thus blocking mplayer when it tries to play. This is most definitely the likely cause of the problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no video when mplayer play rmvb asert Linux - Software 0 11-25-2006 03:24 AM
mplayer doesnt have my video output device? Simdude90015 Linux - Software 1 07-12-2006 11:46 PM
Xine Doesnt Play Any Video (no Demux Plugin) kromatic Linux - Software 8 11-25-2004 06:19 PM
video doesnt play phatbastard Linux - Software 3 11-14-2004 08:10 PM
can use mplayer to play video, but not gmplayer.... sirpelidor Linux - Software 3 11-23-2003 07:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration