LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-08-2009, 03:28 AM   #1
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
mplayer is not playing .avi and .flv files


Hi
I am using Slackware 12.1. Recently installed mplayer and smplayer. Also copied all codecs files to /usr/lib/codecs. But mplayer is not playing .avi or .flv files. (It is playing .mpg files)
These files are played in xine and vlc although xine runs very slowly and drops frames in fullscreen mode.

I am using x11 as video output driver

Few commands which I tried and its output are:

$ mplayer -vo x11 <filename.avi>
MPlayer interrupted by signal 6 in module: uninit_vcodec

$mplayer -vo xv <filename.avi>
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.


$xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present

but

$xdpyinfo | grep XVideo
XVideo

I also added Load "v4l" to my xorg.conf file but no use

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)

I am really confused whether my system supports XVideo extension or not..

My system has 256 MB RAM with Pentium 4 processor. Please tell me how to enable xv in my system and also how to make mplayer play avi and other files...
 
Old 11-08-2009, 06:51 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Either attach your /var/log/Xorg.0.log file to a post here, or use a service like http://pastebin.com/ to show us the file.
 
Old 11-08-2009, 07:03 AM   #3
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry I forgot
http://pastebin.com/m1dd71610

$less /var/log/Xorg.0.log | grep XVideo
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
 
Old 11-08-2009, 07:12 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
It looks like you are specifying the vesa driver in the Device section of your xorg.conf file. You should switch that to the "intel" driver.
 
Old 11-08-2009, 07:36 AM   #5
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks that solved problem of XVideo

But still mplayer is not playing avi files
This is what I got when played an avi file using mplayer
http://pastebin.com/m2b29e403
 
Old 11-08-2009, 07:48 AM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Hopefully someone else can help you that. It appears that mplayer is crashing when trying to decode the video.

You know, you may want to consider updating slackware. The version you have installed is over a year and half old, after all.

Adam
 
Old 11-08-2009, 08:01 AM   #7
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Yeah... I will upgrade soon. But don't know whether Slack 13 (with KDE 4.2.4) will be as light as Slack 12.1 for my system
 
Old 11-09-2009, 09:04 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
It's hard to say for sure (because it segfaulted), but you might be missing the xvid codec.

videolan.org

apt-get install xvid4conf libxvidcore4 libxvidcore4-dev

(for debian)
Or just download and compile/install them from videolan.org. Click on the developers link and it should list a number of usefull video stuff to download. Not for the faint at heart, but serviceable for the most part.

(Or just install / use VLC)
 
Old 11-09-2009, 11:00 AM   #9
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I already have xvid !!
 
  


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
[SOLVED] no thumbnail for flv file though present for mpg,avi & mp4 files sumeet inani Ubuntu 7 05-07-2010 04:53 AM
Mplayer and flv files: audio trouble Changes Linux - Software 4 03-20-2009 07:32 PM
Need help playing flv files kabith Linux - Newbie 7 02-19-2009 12:12 AM
Inability of Mplayer to play flv files gregorian Linux - Software 5 01-18-2007 01:53 AM
Playing .FLV files off a CD russrulesabout Linux - General 0 01-05-2005 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 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