LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-11-2005, 09:11 PM   #1
simplebob
LQ Newbie
 
Registered: Mar 2005
Location: Pennsylvania
Distribution: Damn Small Linux
Posts: 16

Rep: Reputation: 0
Unhappy MPlayer help


ok here is my problem, i have had a recent hd crash and i built a new machine. i just compiled MPlayer and when i go to associate a mpeg in a nautilis window all i get is sound. i compiled it under root, so thats why im guessing nothing but sound is playing because it has to access a file that is not executable from just a regular user. so my first question is how do i make it so that all users can use MPlayer.

my second question is: when i launch an mpeg file it goes to a full screen play back. instead of a smaller screen that has a nautilis window looking thing around it. i have tried to pass off many different switches and i still have no luck in making it a smaller screen. if this has happened to any one else and you know how to fix it please let me know. here is the output of MPlayer when i go to play an mpeg. hopefully this will help.

[root@limpy Movies]# mplayer 1014958_lar.mov
MPlayer 1.0pre7-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE


Playing 1014958_lar.mov.
QuickTime/MOV file format detected.
Compressed header uses zlib algo!
Compressed header size: 23801 / 53421
--------------
MOV track #0: 902 chunks, 3376 samples
MOV: Found unknown movie atom SMI (18)!
Image size: 320 x 240 (24 bpp)
Display size: 320 x 240
Fourcc: SVQ3 Codec: 'Sorenson Video 3'
--------------
MOV track #1: 901 chunks, 3520 samples
Audio bits: 16 chans: 2 rate: 16000
Audio extra header: len=103 fcc=0x77617665
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: mp4a
--------------
MOV track #2: 2 chunks, 2 samples
Generic track - not completely understood! (id: 2)
--------------
MOV: longest streams: A: #1 (3520 samples) V: #0 (3376 samples)
VIDEO: [SVQ3] 320x240 24bpp 14.985 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
Can't open /dev/fb0: No such device
[fbdev2] Can't open /dev/fb0: No such device
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffsvq3] vfm:ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
==========================================================================
Checking audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
AF_pre: 32000Hz/2ch/s16le
AO: [oss] 32000Hz 2ch s16le (2 bps)
Building audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [vesa] 320x240 => 320x240 Planar YV12
 
Old 05-11-2005, 09:33 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
This file "1014958_lar.mov" is the only one that wont play... You said .mpeg plays fine, but just in full screen?

I see your VO is vesa try xv output device

mplayer -xv 1014958_lar.mov

As for the full screen issue it's probably defaulted to FS...
check your mplayer.conf file:

cat /etc/mplayer/mplayer.conf

See what the fs= parameter is set too if it's yes just change to no...
fs=no

KC
 
Old 05-12-2005, 08:54 PM   #3
simplebob
LQ Newbie
 
Registered: Mar 2005
Location: Pennsylvania
Distribution: Damn Small Linux
Posts: 16

Original Poster
Rep: Reputation: 0
actually i guess my question was a little vague but, here the thing every mpeg, mov, avi etc, etc... plays fine albeit in full screen. the only problem i am having is when i am a regular user i get no picture, which i think has something to do with permissions.

and to answer your question about -xv option it says: Unknown option on the command line: xv but if i just use mplayer with no other options it plays, but like i said in full screen though.

i tried to cat /etc/mplayer/mplayer.conf and it did not find it, then i went in my /usr/share/MPlayer-1.0pre7 where mplayer is, and looked for the mplayer.conf myself, it wasn't there.

any other ideas?
 
Old 05-12-2005, 09:26 PM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Sorry... syntax error... should be:
mplayer -vo xv 1014958_lar.mov

As for the blank screen in user mode does sound like a permission issue or it's looking in the wrong place for the codecs.

See if you have an "mplayer.conf" here: (its a hidden folder)

cat ~/.mplayer/mplayer.conf

I don't have one in my home folder, however, you can create one there and I beleive it overides the config in etc.

KC
 
Old 05-13-2005, 08:02 AM   #5
simplebob
LQ Newbie
 
Registered: Mar 2005
Location: Pennsylvania
Distribution: Damn Small Linux
Posts: 16

Original Poster
Rep: Reputation: 0
ok i did some further research on this and i'm now wondering why i don't have an /etc/mplayer/mplayer.conf file? when i compiled mplayer shouldn't that have created one? i have never had this problem on any other machine.

i did however find the /home/bob/.mplayer/conf file and i also found one in roots directory. should i try recompiling it?

this is the main error i get when i run mplayer as a regular user:

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.

you wouldn't happen to know what that means would ya?

oh yeah the -vo xv option i have tried before and i don't have the right output for that.
 
  


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
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 08:12 AM
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
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 09:09 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 10:55 PM

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

All times are GMT -5. The time now is 01:29 PM.

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