LinuxQuestions.org
Visit Jeremy's Blog.
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 01-10-2009, 07:53 PM   #1
Polanski
Member
 
Registered: Sep 2004
Posts: 234

Rep: Reputation: 30
mplayer


I am running mplayer-nogui from ubuntu 8.10 and I can get the audio from an avi file, but not the video.

Here is what I get when I run the command.

MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Mobile Intel(R) Celeron(R) CPU 1.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Wanted[2008]DvDrip-aXXo.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DX50] 668x278 12bpp 25.000 fps 809.0 kbps (98.8 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.1 (build 2366/release)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 668 x 278 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [xv] 668x278 => 668x278 Planar YV12
A: 29.7 V: 29.7 A-V: 0.000 ct: 0.000 743/743 7% 0% 2.7% 5 0

Any kind of help would be greatly appreciated to fix this problem.
 
Old 01-10-2009, 08:53 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by Polanski View Post
I am running mplayer-nogui from ubuntu 8.10 and I can get the audio from an avi file, but not the video.

Here is what I get when I run the command.

MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Mobile Intel(R) Celeron(R) CPU 1.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Wanted[2008]DvDrip-aXXo.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DX50] 668x278 12bpp 25.000 fps 809.0 kbps (98.8 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.1 (build 2366/release)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 668 x 278 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [xv] 668x278 => 668x278 Planar YV12
A: 29.7 V: 29.7 A-V: 0.000 ct: 0.000 743/743 7% 0% 2.7% 5 0

Any kind of help would be greatly appreciated to fix this problem.
How did you install it? Through apt-get/synaptic? Because I suppose that would install the codecs (which I guess is what you are missing).

Anyway, try this on a terminal:

Code:
sudo apt-get install w32codecs libdvdcss2
and try to play the file again.

Regards!
 
Old 01-11-2009, 09:50 AM   #3
Polanski
Member
 
Registered: Sep 2004
Posts: 234

Original Poster
Rep: Reputation: 30
I installed the codecs and I still have the same problem. Here is what comes up after I installed the codecs when I run the command:

MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Mobile Intel(R) Celeron(R) CPU 1.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Forgetting.Sarah.Marshall[2008][Unrated.Edition]DvDrip-aXXo.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DX50] 612x320 12bpp 25.000 fps 745.7 kbps (91.0 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.1 (build 2366/release)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 612 x 320 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.91:1 - prescaling to correct movie aspect.
VO: [xv] 612x320 => 612x320 Planar YV12
A: 31.0 V: 31.0 A-V: 0.001 ct: 0.000 776/776 7% 0% 2.8% 5 0
===== PAUSE =====
 
Old 01-11-2009, 09:51 AM   #4
Polanski
Member
 
Registered: Sep 2004
Posts: 234

Original Poster
Rep: Reputation: 30
Any kind of help would be greatly appreciated.
 
Old 01-11-2009, 11:15 AM   #5
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Rep: Reputation: 50
try adding the option "-demuxer mov"
 
Old 01-11-2009, 07:05 PM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Have you successfully played anything else with mplayer?

I assume you're running it from a terminal window on the desktop. Is it just that no new window opens up to show the video?

Are you running any fancy special-effects stuff like compiz?

You can try different video-out drivers. Run

mplayer -vo help

for a list. Then 'mplayer -vo <driver-name> <movie-file>' to try them out. Most likely choices for desktop use would be xv, x11, gl or gl2. I don't use Ubuntu but am guessing what you call 'mplayer-nogui' is what other distros just call 'mplayer'
 
  


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
Mplayer build: configure finds ALSA, but mplayer doesn't galle Linux - Software 5 10-13-2007 06:14 PM
Mplayer codecs - running 32bit mplayer on 64bit OS sleepyrob Linux - Software 2 08-12-2006 05:08 AM
In Kubuntu I have compiled MPlayer and it works fine, MPlayer Plug-in is not working kickass331 Linux - Newbie 10 08-11-2006 09:12 PM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM

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

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