PDA

View Full Version : [ubuntu] Problem with Mplayer in Ubuntu


prabath_fun
June 23rd, 2008, 08:11 AM
--------------------------------------------------------------------------------

Hi,
I have got some problem with playing DVD. I have installed mplayer from source code in Ubuntu 8.04 (in wubi) with ./configure, sudo make, sudo make install after package is extracted. Installation went fine witout problem. Then I tried to play an DVD from terminal with
mplayer dvd://3 -dvd-device /dev/hdc
command. It playes, but, I am getting only audio. No video. Worked without any problem in Fedora 8 earlier. But, Now I am using ubuntu, because of huge support and impressed with it.



Also I installed .deb package available in ubuntu packages website. But, while trying to play DVD I am geting the following message.
"Error opening/initializing the selected video_out (-vo)device"

Please update me, what is the wrong I am doing?
Prabath

andrew.46
June 24th, 2008, 05:42 AM
Hi,

Have a look at:

$ mplayer -vo help

and this should tell you what video out devices are available to you. On my system for example I have:

andrew@ilium~$ mplayer -vo help
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9)
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:
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev Framebuffer Device
fbdev2 Framebuffer Device
svga SVGAlib
aa AAlib
caca libcaca
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
mpegpes Mpeg-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame


Then try an available video codec in the following fashion:

$ mplayer -vo xv etc etc etc

You can make your successfull video out device the default by placing it in ~/.mplayer/config in the following manner:

vo = xv

And hopefully all will be well.

Andrew

Pjotr123
June 24th, 2008, 05:45 AM
You probably don't have all the codecs yet. Apply this how-to for 100 % multimedia support:

Step 1:
http://ubuntutip.googlepages.com/multimediaubuntustep1

Step 2:
http://ubuntutip.googlepages.com/multimediaubuntustep2

That should do the job. :-)

prabath_fun
June 24th, 2008, 01:27 PM
Thanks. Actually I got it with mplayer .deb package installation. I selected different codec for audio and video and checked. For few codecs mplayer hangs.

Now, I am looking for enabling 5.1 surround with Mplayer. My Mother board got 5.1 support. Help me to enable 5.1.
With Thanks,
Prabath

Pjotr123
June 24th, 2008, 03:09 PM
See what alsamixergui can do for you:
http://ubuntutip.googlepages.com/sound
(number 2 )

prabath_fun
June 25th, 2008, 11:31 PM
No improvement. Any other methods?
Prabath