LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do you play mpeg files on redhat 9?? pelase explain it simple because i am a noob (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-play-mpeg-files-on-redhat-9-pelase-explain-it-simple-because-i-am-a-noob-107796/)

qod 10-23-2003 07:31 PM

how do you play mpeg files on redhat 9?? pelase explain it simple because i am a noob
 
how do you play mpeg files on redhat 9?? pelase explain it simple because i am a noob.:newbie:

vincebs 10-23-2003 07:41 PM

one option is installing mplayerhq from mplayerhq.hu but I haven't succeeded in installing it due to a few dependencies failing to compile.

tearinox 10-23-2003 07:51 PM

theres two options, mplayer or xine... i prefer mplayer.. go to http://www.mplayerhq.hu/homepage/design6/dload.html and download one of the source files... To install:
1)go to your CLI (Command Line Interface) which should be konsole, xterm or something like that
2)go to the directory using this syntax | cd <dir> | cd .. (goto previous directory) and use the command ls to view whats in your current directory
3)type tar -zxvf "filename"
4)it will create a folder, cd into that folder
5)type ./configure
6)type make
7)type su and enter password for r00t
8)type make install

now in the command line, there should be a command mplayer, have fun!

qod 10-24-2003 12:19 AM

i did that here is what it says
[QUOTE] [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: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv[:dev]> select video output driver & device ('-vo help' for a list)
-ao <drv[:dev]> select audio output driver & device ('-ao help' for a list)
vcd://<trackno> play VCD (Video CD) track from device instead of plain file
dvd://<titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <timepos> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
up or down seek backward/forward 1 minute
pgup or pgdown seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
z or x adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vop expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
/QUOTE]

now what, is there a gui??

jsmith22046 10-24-2003 02:44 AM

You can add a rpm for XMMS so that it will play mp3's. This is available at http://www.icewalkers.com/download/L...ayer/1976/dls/

Note: i had to install by
rpm -i --force xmms-1.2.7-21.i386.rpm

Hope this is helpful

Jeff Smith

ps: when you start XMMS again you have to clear your playlist and readd all your songs to it

qod 10-24-2003 07:45 AM

do you have any ideas how to install the addons for mplayer, for example the gui and some more codecs??

jsmith22046 10-24-2003 10:51 AM

I have noida but XMMS comes with Red Hat Gnome if you chose to install it. I would update that and use that. I'm not familiar with mplayer but I did use mp3blaster until I ffound this patch. mp3blaster is a weak commandline mp3player and didn't even have a gui addon. It might be the same with mplayer. The easiest solution, I believe, would just be to update X Media Player as described before.

Jeff Smith

halfhaggis 10-25-2003 01:07 AM

I don't know if you want to compile them, but I downloaded the rpms which made life easy.

I am running version 0.90, so I downloaded the following packages.

mplayer-0.90-1.i386.rpm
mplayer-0.90-1.i386.rpm
mplayer-0.90-1.i386.rpm
mplayer-0.90-1.i386.rpm

The packages have circular dependecies (except the skins I think) so you need to install them all simultaneously with the following command (logged in as root)

rpm -Uvh mplayer-0.90-1.i386.rpm mplayer-0.90-1.i386.rpm mplayer-0.90-1.i386.rpm mplayer-0.90-1.i386.rpm

After that you should have a helpful mplayer icon somewhere in your panel.
If not, run the gui with the command gmplayer from a console

qod 10-25-2003 09:46 AM

thanks it worked


All times are GMT -5. The time now is 12:24 AM.