LinuxQuestions.org
Review your favorite Linux distribution.
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 05-16-2003, 02:11 AM   #1
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Rep: Reputation: 15
mplayer problem


when i played vedio file with mplayer ,i can just hear the sound but no vedio
what's wrong? Could anyone kindly help me?
 
Old 05-16-2003, 02:26 AM   #2
Shaddy
Member
 
Registered: Apr 2003
Location: Germany
Distribution: PC1: Xandros 4 Prof, PC2: Debian Sarge, NB: SLED10+Windows XP
Posts: 39

Rep: Reputation: 15
Codecs

Maybe you just haven't installed the needed codecs, for example divx, mpeg2 or others. I know this problem just because of missing codecs.
But try to find out more by having a look at the log-file, I think mplayer will write on....
 
Old 05-16-2003, 02:33 AM   #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
show us the **FULL** output from mplayer when run from a console, how did you install the software? what video output are you attempting to use?
 
Old 05-16-2003, 02:37 AM   #4
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
i have copied the win32codecs to /usr/lib/win32
i have installed like this:
./configure
make
make install
 
Old 05-16-2003, 02:43 AM   #5
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
sorry, coud you plese tell me how to get the full output from the console?
 
Old 05-16-2003, 05:24 AM   #6
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
when i try to play DVD,i act like this and no vedio

# mplayer -dvd 1 -alang en -slang hu -dvd-device /dev/hdc
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No
such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
Font /root/.mplayer/font/font.desc loaded successfully! (233 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing DVD title 1
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 37 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
Selected DVD audio channel: 128 language: en
No matching DVD subtitle language found!
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.97 fps 6218.0 kbps (777.2 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
fbdev: Can't open /dev/fb0: No such device
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [null] 720x480 => 854x480 Mpeg PES
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or Dxr3/DVB card))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
A: 11.6 V: 11.6 A-V: 0.016 ct: 0.044 341/341 0% 0% 3.8% 0 0 0%

Exiting... (End of file)
 
Old 05-16-2003, 05:42 AM   #7
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
ok, it says you're trying to use fbdev, which (by divine inspriartion) tells me that you don't have the XFree86-devel package installed on your system. if you did then MPlayer would have access to the XWindows based output's which is what you are expecting. install that package, reconfigure, and make and install again. check the output of configure and you should see somethign like
Code:
Checking for X11.......... yes
currently that will be saying no due to that package not being found.
 
Old 05-16-2003, 05:42 AM   #8
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
i think the problem are:

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory

Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No
such file or directory

Can't open input config file /root/.mplayer/input.conf : No such file or directory

Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory


but how to fix it?
 
Old 05-16-2003, 05:43 AM   #9
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
also you don't appear to be running a framebuffer... you're missing on some cool bootup logo's and other pretty things... but that's irrelevant here...
 
Old 05-16-2003, 06:34 AM   #10
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you very much!
i installed the XFree86-devel package(and it require many other package) follow what you said, then it works now!!

could i ask one more question ?

how did you find out the problem from the output message?

it's important to me because i m new to Linux and face to many problem . i want to learn to fix problems .you know linux is good, it aways shows the details
 
Old 05-16-2003, 06:34 AM   #11
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
and on top of everything when you run ./configure step on Mplayer, run first
./configure --help
to see what is there for you!!!
Just my $0.02
 
Old 05-16-2003, 06:38 AM   #12
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
Quote:
===============================================
fbdev: Can't open /dev/fb0: No such device
===============================================
i just happen to know that that is the last resort when it can't find any other video output to use. you can also see later on that it says "vo [null]" so it's actually given up trying to show the video by that stage.
 
Old 05-16-2003, 06:43 AM   #13
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
thank you
i 'll try
 
Old 05-16-2003, 06:51 AM   #14
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
you said i missed some pretty things so how can i get them?

when i used ./configure --enable-gui
it said that i didn't install the libpng-devel package
i 'll install it later
 
Old 05-16-2003, 06:58 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Those pretty things are a penguin at boot time, along with other fancies that come with framebuffering. The coolest of which, tux at boot time..



Cool
 
  


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
mplayer problem saipraveen Linux - Newbie 10 06-13-2005 11:56 PM
yet another MPlayer problem raffi Slackware 5 01-13-2005 03:19 PM
mplayer problem cool_ashwin22 Fedora 0 10-20-2004 09:50 AM
Mplayer Problem. Itsu Linux - Software 5 02-02-2004 09:27 PM
MPlayer Problem #1 Micro420 Linux - Software 9 09-12-2003 04:54 PM

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

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