LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-23-2006, 03:03 AM   #31
parahack
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0

It works. Use mplayer <file> to play something.
 
Old 03-23-2006, 03:19 AM   #32
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
Have you tried specifying the input for mplayer :?
Code:
$ mplayer <somefile>
OR
$ gmplayer <somefile>
Also, you wondered whether mplayer was installed, to check what rpm you have installed:
Code:
$ rpm -qa |grep mplayer
mplayerplug-in-3.17-0.pm.0
Where is mplayer installed (or gmplayer) :?
Code:
$ whereis mplayer
gmplayer: /usr/bin/mplayer
 
Old 03-23-2006, 11:13 AM   #33
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 278

Rep: Reputation: 41
Test Two

Quote:
Originally Posted by dougelephant
i couldnt find mplayer in the list, but when i typwed it in console.....

MPlayer dev-Fedora-GS-CVS-051128-12:25-4.0.1 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo (Family: 15, Stepping: 2)
So you have an Athlon 64 - lucky stiff. I should think mplayer would run anyway. Try doing what it asks:

mplayer /path/to/file

See if it plays. Make sure the file you try to play is encoded with a codec you actually have. That's the next issue you face.

There is an excellent thread in the forum where I got coached by a real pro on the Logical Volume Manager. If you put your existing partitions under the control of LVM, you can shrink and grow the volume at will without losing any data. That should clear the room you need to install a second distro.
 
Old 03-23-2006, 12:17 PM   #34
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,239
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Novell has a nice walkthrough for configuring YAST for updates..
http://www.novell.com/coolsolutions/feature/16592.html

this mentions how to install mplayer as well..
http://www.softwareinreview.com/cms/content/view/2/17/

Neither of these will be as painful as trying to compile it yourself using the sources..
 
Old 03-24-2006, 01:06 AM   #35
dougelephant
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Original Poster
Rep: Reputation: 0
this is excellent folks, u have all been a real help

the version i have said...

mplayer-1.0pre8-0.4.20051128

when ever i try to play something it says i dont hvae permission

Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Playing xgl-demo1.xvid.avi.
File not found: 'xgl-demo1.xvid.avi'
Failed to open xgl-demo1.xvid.avi
 
Old 03-24-2006, 01:50 AM   #36
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
I think you are just left with a permissions problem. Please, when you post ouput of commands you ran, also post the command itself!
Otherwise we don't know what's 'cooking'.
You are trying to play "xgl-demo1.xvid.avi"? Go to konsole; cd to the dir with "xgl-demo1.xvid.avi".
Please post the output of the following commands: ls -al xgl-demo1.xvid.avi
mplayer xgl-demo1.xvid.avi
 
Old 03-24-2006, 11:39 AM   #37
dougelephant
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Original Poster
Rep: Reputation: 0
oh sorry, i typed in konsole....

mplayer xgl-demo1.xvid.avi
 
Old 03-24-2006, 12:34 PM   #38
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
Please post the output of the following commands:
Code:
ls -al xgl-demo1.xvid.avi
 
Old 03-24-2006, 05:01 PM   #39
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Rep: Reputation: 30
See this

Sounds like dougelephant is getting a lot of pain in getting Mplayer to work properly. Trust me, it's not that difficult. Anyway, I have some *.wmv files with me. So after viewing your posts, I changed the file permissions on one od my files but the video still plays.
Here's the output.
Code:
Manish:~/hotty # ls *.wmv -l
-rw-r--r--  1 root root 2253140 Mar 23 01:20 bada_gosht.wmv
-rw-r--r--  1 root root 4364598 Mar 24 04:30 beautyb.wmv
-rw-r--r--  1 root root 1026926 Mar 23 01:11 extremrap.wmv

Manish:~/hotty # chmod 0000 extremrap.wmv

Manish:~/hotty # ls *.wmv -l
-rw-r--r--  1 root root 2253140 Mar 23 01:20 bada_gosht.wmv
-rw-r--r--  1 root root 4364598 Mar 24 04:30 beautyb.wmv
----------  1 root root 1026926 Mar 23 01:11 extremrap.wmv

Manish:~/hotty # mplayer extremrap.wmv
MPlayer 1.0pre7try2-3.3.3 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing extremrap.wmv.
ASF file format detected.
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: hum_hum_hey
 author: hum_hum_hey
 copyright: hum_hum_hey
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4006->88200)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:230400  align:1
StreamCount r=0x0  1  1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU   ▒
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Checking audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le...
AF_pre: 22050Hz/2ch/s16le
AO: [oss] 22050Hz 2ch s16le (2 bps)
Building audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le...
Starting playback...
A:  32.0 V:  32.2 A-V: -0.255 ct: -0.105 878/878 15%  1%  1.7% 0 0

Exiting... (End of file)

Manish:~/hotty #
I think, it's not merely a file permission problem. I don't know much about it but the file still plays.

Last edited by manishsingh4u; 03-24-2006 at 07:50 PM.
 
  


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
my arm hurts paddy General 11 02-15-2006 03:54 PM
So new it hurts TyBarton Linux - Newbie 5 10-25-2005 02:25 PM
Shell Scripting: {..}, ${..}, [[..]], [..], (..), ((..)), $((..))... .my brain hurts! frankie_DJ Programming 6 08-25-2005 05:33 AM
I'm so newbie it hurts M2tM Linux - Newbie 10 01-07-2004 04:22 PM
Linux Hurts My Eyes.... Nukem Linux - General 35 01-05-2004 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration