LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-02-2008, 10:24 AM   #1
Knaps
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
mplayer doesn't play any video files


Hi!
I've just compiled and installed the mplayer 1.0rc2. Audio files work good and everything seems to be fine, however, when i'm trying to play video files the error occurs:

Code:
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing /fat-d/Aliens.Vs.Predator.Requiem.R3.XviD-AKCPE/avpr-akcpe.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  704x288  12bpp  23.976 fps  923.0 kbps (112.7 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2540/release)
SUB: Detected subtitle file format: microdvd
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: Read 459 subtitles.
SUB: Added subtitle file (1): /fat-d/Aliens.Vs.Predator.Requiem.R3.XviD-AKCPE/avpr-akcpe.txt
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 112.0 kbit/7.94% (ratio: 14000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
After that, video starts to play, but i can hear only sound... no video at all I see that there's a problem with xvideo or something, but i have completely no idea what to do with this (i'm just starting my adventure with linux, so i'm still pretty green in these things).

Codecs what i've installed are:
live
libsndfile 1.0.17
"all" - pack of codecs downloaded from mplayer website
lame 3.97
twolame 0.3.10

During ./configure of mplayer, he found something like this:
Code:
  Enabled optional drivers:
    Input: ftp pvr tv-teletext tv-v4l2 tv-v4l tv live555 cddb cdda libdvdcss(internal) dvdread(internal) vcd dvb smb network
    Codecs: libavcodec qtx real xanim win32 faad2 libmpeg2 liba52 mp3lib libtheora tremor(internal) twolame libmad liblzo gif
    Audio output: alsa esd arts oss sdl mpegpes(dvb)
    Video output: sdl gif89a pnm jpeg png mpegpes(dvb) fbdev svga caca aa xvidix cvidix opengl dga xv x11 xover md5sum tga
    Audio filters:
  Disabled optional drivers:
    Input: dvdnav vstream radio nemesi
    Codecs: x264 xvid libdv libamr_wb libamr_nb faac musepack libdca speex toolame
    Audio output: sun openal jack polyp v4l2 ivtv dxr2 nas
    Video output: v4l2 ivtv dxr3 dxr2 vesa zr zr2 ggi xmga mga winvidix 3dfx xvmc dfbmga directfb bl xvr100 tdfx_vid s3fb tdfxfb
    Audio filters: ladspa
Please, if you have some ideas how to help me, i'll really appreciate that.

I've followed instructions from this topic: http://www.linuxquestions.org/questi...hlight=mplayer
and I would really love to play all these file types on mplayer on Linux, so please, help me with this, guys!

P.S. And just small question at the end, do you know how to change font color of the fonts in the mplayer menu (i mean there where you choose a file path etc.) in the GUI? Cause now i have white background and white fonts, so i can't see anything... and i don't want to change a background color for something else...

Last edited by Knaps; 02-02-2008 at 10:26 AM.
 
Old 02-02-2008, 10:50 AM   #2
TheOracle
Member
 
Registered: Nov 2004
Posts: 87

Rep: Reputation: 15
The logs seem to hold a clue

This is from your logs...


[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.



Try this and otherwise try other source to understand if it's on certain formats etc.

Hope this helps
G
 
Old 02-02-2008, 04:56 PM   #3
Knaps
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Yeah, i've tried this one before and that's what i've get:

Code:
root@home:~# xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present
and

Code:
root@home:~# mplayer -vo help
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
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
and

Code:
root@home:~# -vo x11
-bash: -vo: command not found
So what i got to do now? Download one of these what mplayer wrote and try to install?
 
Old 02-02-2008, 05:10 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
Quote:
Originally Posted by Knaps View Post
Code:
root@home:~# -vo x11
-bash: -vo: command not found
So what i got to do now? Download one of these what mplayer wrote and try to install?
Erm nope, the command is an mplayer command, e.g.

mplayer -vo x11 file.avi

But having no adaptors present is a problem.
 
Old 02-02-2008, 05:18 PM   #5
Knaps
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
so how can i get these adaptors? Download from somewhere and install/compile?
 
Old 02-02-2008, 05:26 PM   #6
MyHeartPumpsFreon
Member
 
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
Run these commands from a terminal (these will install almost every conceivable codec):
Code:
$ cd ~/Download
$ wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
$ tar -jxf all-20071007.tar.bz2
$ sudo mkdir -p /usr/local/lib/codecs
$ sudo cp all-20071007/* /usr/local/lib/codecs
$ sudo ln -sf /usr/local/lib/codecs /usr/lib/codecs
$ sudo ln -sf /usr/local/lib/codecs /usr/local/lib/win32
$ sudo ln -sf /usr/local/lib/codecs /usr/lib/win32
$ rm -rf all-20071007
Let us know how that works out for you.

Regards,

Brandon

edit: Where it says 'sudo', you can do it as sudo or root. I'm not sure if Slack automatically makes you a sudoer like Ubuntu does... I imagine not though. So use root. I'm also going on a guess when it says 'adaptor' it means codec. However, I'm not sure. It's possible that one of the other fine LQ'ers can confirm or disprove that.

Last edited by MyHeartPumpsFreon; 02-02-2008 at 05:29 PM.
 
Old 02-02-2008, 05:55 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
Quote:
Originally Posted by MyHeartPumpsFreon View Post
Run these commands from a terminal (these will install almost every conceivable codec):
Code:
$ cd ~/Download
$ wget http://www1.mplayerhq.hu/MPlayer/rel...071007.tar.bz2
$ tar -jxf all-20071007.tar.bz2
$ sudo mkdir -p /usr/local/lib/codecs
$ sudo cp all-20071007/* /usr/local/lib/codecs
$ sudo ln -sf /usr/local/lib/codecs /usr/lib/codecs
$ sudo ln -sf /usr/local/lib/codecs /usr/local/lib/win32
$ sudo ln -sf /usr/local/lib/codecs /usr/lib/win32
$ rm -rf all-20071007
Let us know how that works out for you.

Regards,

Brandon

edit: Where it says 'sudo', you can do it as sudo or root. I'm not sure if Slack automatically makes you a sudoer like Ubuntu does... I imagine not though. So use root. I'm also going on a guess when it says 'adaptor' it means codec. However, I'm not sure. It's possible that one of the other fine LQ'ers can confirm or disprove that.
It's *not* a codec problem. I just noticed that you are trying to play video as root. Does it work as normal user. Are you logged into X as root (you shouldn't) or are you logged in as user and trying to play video as root?

Last edited by dive; 02-02-2008 at 05:57 PM.
 
Old 02-02-2008, 07:17 PM   #8
Knaps
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
from normal user it's still the same and I have already installed all20011007, even before mplayer installation
 
Old 02-02-2008, 07:32 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
It's saying that your card doesn't have xv capabilities. Try using another video output like -vo x11 -vo gl etc. I.e.

mplayer -vo x11 movie.avi

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
 
Old 02-04-2008, 12:41 AM   #10
Knaps
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Ok, that works Thanks a lot guys!
 
Old 02-04-2008, 02:37 AM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
If you find a vo that works you can put the line 'vo=x11' in ~/.mplayer/config
 
  


Reply


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 02:24 AM
mplayer does not play video files in FC4 chirayan Linux - Newbie 2 08-01-2005 12:36 AM
video files dont play on mplayer mayasedai Linux - Software 4 01-17-2005 10:30 AM
Mplayer won't play video files! MustangCSA Linux - Software 6 10-23-2004 12:54 AM
can use mplayer to play video, but not gmplayer.... sirpelidor Linux - Software 3 11-23-2003 06:02 AM


All times are GMT -5. The time now is 09:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration