[PlanetCCRMA] mplayer - error opening movie

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Sep 11 12:15:11 2002


> I have a problem with Mplayer.
> Can you help me?
>
> i have
> i686 linux 2.4.19-1.ll redhat7.3
> video card:
> ATI RAGE 128 PF/PRO AGP 4x TMDS
>
> when i attempt to play a video (mpg1)
> this error message appear:
>
> >Playing /root/tesi.mpg
> >Cache fill:  0,00% (0 bytes)    Detected MPEG-PS file format!
> >VIDEO:  MPEG1  320x240  (aspect 1)  25,00 fps  2621,5 kbps (327,7 kbyte/s)
> >Detected audio codec: [mp3] afm:1 (MPEG layer-2, layer-3)
> >Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> >AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->176400 (128,0 kbit)
> >open: No such device
> >Couldn't open /dev/mga_vid
> >Error opening/initializing the selected video_out (-vo) device!

You have to select a video output driver (option -vo) that
matches what your hardware can do. There are tons of
options... see the man page for mplayer for all the details
(in particular go to the "Video Output" section") or visit
their web site. I would try first:

  mplayer -vo x11 whatever...

That should play using the x11 interface, slow but should work.
After that I'd try:

  mplayer -vo xv whatever...

That uses the Xv overlay interface which should most probably
work with your card (I don't have one so I cannot be sure).
This is much faster and can do hardware scaling so that, for
example, you can play full screen.

-- Fernando