LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 11-08-2009, 04:28 AM   #1
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0
mplayer is not playing .avi and .flv files


[Log in to get rid of this advertisement]
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...
linux yaaru is offline     Reply With Quote
Old 11-08-2009, 07:51 AM   #2
adamk75
Member
 
Registered: May 2006
Posts: 347
Thanked: 44
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.
netbsd adamk75 is offline     Reply With Quote
Old 11-08-2009, 08:03 AM   #3
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0

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

$less /var/log/Xorg.0.log | grep XVideo
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
linux yaaru is offline     Reply With Quote
Old 11-08-2009, 08:12 AM   #4
adamk75
Member
 
Registered: May 2006
Posts: 347
Thanked: 44
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.
netbsd adamk75 is offline     Reply With Quote
Thanked by:
Old 11-08-2009, 08:36 AM   #5
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0

Original Poster
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
linux yaaru is offline     Reply With Quote
Old 11-08-2009, 08:48 AM   #6
adamk75
Member
 
Registered: May 2006
Posts: 347
Thanked: 44
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
netbsd adamk75 is offline     Reply With Quote
Old 11-08-2009, 09:01 AM   #7
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0

Original Poster
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
linux yaaru is offline     Reply With Quote
Old 11-09-2009, 10:04 AM   #8
Shadow_7
Member
 
Registered: Feb 2003
Posts: 458
Thanked: 19
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)
linuxdebian Shadow_7 is offline     Reply With Quote
Old 11-09-2009, 12:00 PM   #9
yaaru
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0

Original Poster
I already have xvid !!
linux yaaru is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration