Showing posts with label multimedia. Show all posts
Showing posts with label multimedia. Show all posts

Saturday, August 9, 2008

mplayer no video with ATI fglrx driver

After I have installed Gmlive, I found mplayer doesn't render any video output. My graphic card is ATI Radeon X1600, and the driver for this graphic card is the default proprietary driver shipped with Ubuntu 8.04 Hardy Heron.

It is the relevant error message of mplayer:
gnome_screensaver_control()It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Error opening/initializing the selected video_out (-vo) device.
The solution is quite simple. Just edit /etc/X11/xorg.conf and add the red-colored line (Option "TexturedVideo" "on") to the Device section.


Section "Device"
Identifier "Configured Video Device"
Driver "fglrx"
Option "PowerState" "1"
Option "OpenGLOverlay" "off"
Option "TexturedVideo" "on"
BusID "PCI:1:0:0"
EndSection


Restart X-Window or reboot, and then mplayer should play any video seamlessly.

How to install gmlive on Ubuntu to watch P2P TV and videos

Gmlive is a software which supports mms, sopcast, nslive P2P TV and stream video. I found this project when I was looking for pplive for linux. pplive is another windows only P2P TV software which a lot of people has recommended to me. I am installing this because of I missed the Beijing 2008 Olympic opening and someone told me that the last scene of igniting the Olympic torch is amazing.

This following is how to install gmlive on Ubuntu 8.04 Hardy Heron:
  1. download gmlive here http://code.google.com/p/gmlive/
  2. install dependencies
    sudo aptitude install intltool libglibmm-2.4-1c2a libglibmm-2.4-dev libxml2 libxml2-dev libgtkmm-2.4-dev libglademm-2.4
  3. compile and install
    tar xf gmlive-0.20.3.tar.bz2
    cd gmlive-0.20.3
    ./configure
    make
    sudo make install
  4. type gmlive and enjoy