LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-21-2004, 12:48 AM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 33
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
 
Old 10-21-2004, 04:08 AM   #2
n3tw0rk
Member
 
Registered: Sep 2003
Location: Rawalpindi, Pakistan
Distribution: Slackware
Posts: 86

Rep: Reputation: 15
Thats because X is not running in runlevel 3
 
Old 10-21-2004, 01:53 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 12-07-2004, 10:34 PM   #4
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
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?
 
  


Reply



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
Error playing video Dillius Mandriva 5 01-24-2005 07:57 AM
Is mplayer0.91-2pl good? akihandyman Linux - Newbie 9 01-01-2004 05:38 PM
Trouble playing video files under Suse 8.2 redman13 Linux - Software 5 10-12-2003 10:42 PM
mplayer playing trouble bihan Linux - Software 3 08-02-2003 01:00 PM
Trouble playing audio CD wolfzAz Linux - Newbie 2 12-28-2001 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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