Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-27-2003, 04:48 PM
|
#1
|
Member
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284
Rep:
|
Mplayer
Hi,
i installed MPlayer 0.91 (tar.bz2 version), but if i play a MPEG file i could only hear without watching.
Am i doing something wrong?
Can i use the same player also using gnome?
Thank'you. Franco
|
|
|
08-27-2003, 04:52 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
How are you playing the file? From command? Any output or error messages?
Yes you can play mplayer from Gnome or any Desktop/Window Manager, you just need to enable the gui when compiling.
|
|
|
08-27-2003, 05:43 PM
|
#3
|
Member
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284
Original Poster
Rep:
|
No, any error.
I played the file from command:
mplayer namefile.mpeg and i only heard voices and sounds without images.
How cqn i enable the gui?
|
|
|
08-27-2003, 05:48 PM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Well when you play the file, there is some sort of output in the terminal. Do you see anything regarding video or video output at all? Can you post that output when its playing the file, etc?
|
|
|
08-27-2003, 06:05 PM
|
#5
|
Member
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284
Original Poster
Rep:
|
Ok, after mplayer filename.mpg this is what it writes:
MPlayer 0.91-3.2.2 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices (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 directo
ry
Reading config file /home/franco/.mplayer/config
Reading /home/franco/.mplayer/codecs.conf: can't open '/home/franco/.mplayer/cod
ecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf
font: can't open file: /home/franco/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Using usleep() timing
Can't open input config file /home/franco/.mplayer/input.conf: No such file or d
irectory
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 sigla_chobin.mpg
MPEG-PS file format detected.
VIDEO: MPEG1 352x240 (aspect 12) 30,00 fps 1089,6 kbps (136,2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 14000->176400 (112,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
fbdev: Can't open /dev/fb0: No such device
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [null] 352x240 => 352x264 Mpeg PES
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or Dxr3/DVB c
ard))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
A: 70,1 V: 70,1 A-V: 0,013 ct: 0,039 2094/2094 0% 0% 2,6% 55 0 0%
Exiting... (End of file)
Is this what you need to help me?
Could you please also teach me how to run it in graphical mode?
|
|
|
08-27-2003, 09:27 PM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Quote:
fbdev: Can't open /dev/fb0: No such device
|
I wonder why it's using that...
Try the following:
mplayer -vo xv filename.mpg
And alternatively:
mplayer -vo x11 filename.mpg
To enable the gui, check around the board, there are literally (probably) over 100 threads on it
Cool
|
|
|
08-28-2003, 04:20 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally posted by MasterC
I wonder why it's using that...
|
ahh c'mon chad haven't i taught you anything
99% sure that mplayer has been compiled from source WITHOUT having the relevant XFree86-devel package installed. This means that X11 and XV outputs are not availble, and so MPlayer will then fall back to fbdev as a last resort, which also failed here.... so install xfree86-devel and recompile mplayer
|
|
|
08-28-2003, 04:22 AM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
 It's one thick skull, I'll do my best to keep that one on the surface though, thanks (again) for the info
Cool
|
|
|
All times are GMT -5. The time now is 08:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|