LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trouble playing video with MPlayer0.9 (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-playing-video-with-mplayer0-9-a-245385/)

koodoo 10-21-2004 12:48 AM

trouble playing video with MPlayer0.9
 
Hi,

I am using FedoraCore1. I got the mplayer0.9.tar.gz file ,uncompressed
and installed it using ./configure , make and make install commands.
It worked fine and the package was installed . But whenever i try to play video with it only audio output is heard and no video is seen.

When i tried the command mplayer -vo vesa song.mpeg
it gave an error
Failed to initialize/open video drivers
I even tried using x11 display but again it gave an error
Failed to open x11 display

I tried these commands from runlevels 3 and 5

I then installed gmplayer from an rpm package.
The GUI player plays video from runlevel 5 but whenever i try to play video
from runlevel 3 using gmplayer it gives an error
failed to open the requested (vo) video output device

n3tw0rk 10-21-2004 04:08 AM

Thats because X is not running in runlevel 3 :)

acid_kewpie 10-21-2004 01:53 PM

that does not imply he is not running X in the slightest.

You ARE running X right??

normally vesa output only runs as root due to device permissions. but inside X, xv, xover or x11 outputs should be fine. there can be the opposite problem here, that root can't open a display on a X screen that isn't roots in the first place.

in x, as your normal user, run "mplayer -vo x11 file.avi" and see what happens. if that fails, see what outputs you actually have using "mplayer -vo help". if you compiled it from sourc,e it mightn't have been able to find the X hedaers it needs. if so, install the xfree86-devel rpms form your distro cd's and recomiple mplayer

koodoo 12-07-2004 10:34 PM

i was running X


when i did mplayer -vo help i got a long list which included
xv, xover, x11,xmga......

moreover when in gui mode i do

right click --> open terminal
and then run mplayer it works fine and i get audio as well as video

but when i do CTRL-ALT-F2 and try to run mplayer from there then i get the problem of only audio and no video

is it possible to do CTRL-ALT-F2 and the play video from there with mplayer?


All times are GMT -5. The time now is 06:25 PM.