Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need Codec and Filters
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Fissile
Guru
Guru


Joined: 23 Nov 2003
Posts: 470

PostPosted: Sun Dec 14, 2003 9:13 pm    Post subject: Need Codec and Filters Reply with quote

hey ppl i just merged mplayer and tried to play a few files... what happes is that mplayer just freezes and i have to shut it down manually in a sm... i believe the problem is occurign because i do not have the firght codec/filters....

is it possible for someoen to give me the names/commands for the these codec's?
1] Divx (preferable 5.01 or the latest version) I would love to have Dr. Divx..
2] Xvid

i also need an ac3 audio filter...

ps: can mplayer play dvds? just to confirm it can play mpeg and avi's rite??

thxx...
_________________
The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!...
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 802

PostPosted: Sun Dec 14, 2003 9:21 pm    Post subject: Reply with quote

mplayer should play divx and xvid out of the box. I know I've never had any problems with anything MPEG4 that wasn't corrupt. And even in the case of corruption, mplayer usually handles them better than anything does in the Windows world IMO.

mplayer can also support DVDs, but it has to be emerged with the "dvd" USE flag.

I'm not sure about AC3, personally; I don't have anything that has AC3 audio in it to test.
Back to top
View user's profile Send private message
Fissile
Guru
Guru


Joined: 23 Nov 2003
Posts: 470

PostPosted: Mon Dec 15, 2003 2:11 am    Post subject: Reply with quote

Y do i wonder does my mplayer keep on crashing.. it just freazes for no reason...
does anyone know how to fix this? sry i cant give more info.. cause i don't have ny..
_________________
The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!...
Back to top
View user's profile Send private message
Fissile
Guru
Guru


Joined: 23 Nov 2003
Posts: 470

PostPosted: Mon Dec 15, 2003 2:16 am    Post subject: Reply with quote

hey ky i got some new info.. i didn't notice it before... hummm i just tried to play some simple mp3s just to check if their was somethign wrong with the file or mplayer indeed and it froze again!!!... this is the msg that it gave:
Code:
Fatal Error - MPlayer interrupted by signal 15 in module: ao2_init
someone plz help...
_________________
The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!...
Back to top
View user's profile Send private message
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Mon Dec 15, 2003 11:18 am    Post subject: Reply with quote

What audio output are you using?
mplayer -ao help
_________________
mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec)
Back to top
View user's profile Send private message
Fissile
Guru
Guru


Joined: 23 Nov 2003
Posts: 470

PostPosted: Mon Dec 15, 2003 11:21 am    Post subject: Reply with quote

I am not sure what you mean by audio output. This is however the result of the code "mplayer -ao help" that you posted:
Code:
MPlayer 0.92-3.2.3  (C) 2000-2003 MPlayer Team
CPU: Intel  (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
 
Reading config file /usr/share/mplayer/mplayer.conf
Creating config file: /root/.mplayer/config
Reading config file /root/.mplayer/config
Available audio output drivers:
        mpegpes Mpeg-PES audio output
        oss     OSS/ioctl audio output
        alsa9   ALSA-0.9.x audio output
        arts    aRts audio output
        esd     EsounD audio output
        sdl     SDLlib audio output
        null    Null audio output
        pcm     RAW PCM/WAVE file writer audio output
        plugin  Plugin audio output

someone plz help!!...
_________________
The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!...
Back to top
View user's profile Send private message
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Mon Dec 15, 2003 11:27 am    Post subject: Reply with quote

Are you using alsa?
then mplayer -ao alsa9
or oss? (the sound modules from the kernel)
then mplayer -ao oss

Try them, when you found what works put it into your /etc/mplayer.conf

Robelix
_________________
mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec)
Back to top
View user's profile Send private message
Fissile
Guru
Guru


Joined: 23 Nov 2003
Posts: 470

PostPosted: Mon Dec 15, 2003 11:31 am    Post subject: Reply with quote

humm one sec bud.. lol u r 2 fast for me.. or i am 2 slow... :p... i am using alsa... this is what i get when i type "mplayer -ao alsa9":
Code:
MPlayer 0.92-3.2.3  (C) 2000-2003 MPlayer Team
CPU: Intel  (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
 
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': Nosuch file or directory
Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
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
 -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 * * *
Robelix said:
Quote:
Try them, when you found what works put it into your /etc/mplayer.conf
how do i do this? can someone perhaps copy and past the relevant part of the mplayer.conf to guide me along...

thx...
_________________
The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!...
Back to top
View user's profile Send private message
b-llwyd
Guru
Guru


Joined: 24 Jul 2002
Posts: 302
Location: Uppsala, Sweden

PostPosted: Mon Dec 15, 2003 1:39 pm    Post subject: Reply with quote

You have to tell mplayer to play something. Examples:
mplayer -ao alsa9 yourmoviefile.avi
mplayer -ao oss yourmoviefile.avi
mplayer -ao sdl yourmoviefile.avi


when you find one that works - edit your /etc/mplayer.conf (ao=whatever ... make sure to remove the # in front of the line)


...I have successfully played divx,xvid,ac3,wmv,mov...and quite a few others with mplayer. No problem.
Back to top
View user's profile Send private message
Fissile
Guru
Guru


Joined: 23 Nov 2003
Posts: 470

PostPosted: Sat Dec 20, 2003 4:29 am    Post subject: Reply with quote

Hey all, mplayer is working fine now, this is how i solved it incase anyone runs into the same problem again.

I noticed that i could play using mplayer in root, but not in user, therfore i modified the /etc/group and added my user to the video option. I am not sure if that is what is enabled the mplayer to not crash or was it just a fluke. Can someone confirm this?

Thx all...
_________________
The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum