[MPlayer-users] appreciate your help: Can play anything but realvideo(Linux), see detail inside

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Wed Mar 8 10:54:28 CET 2006


On Wednesday, 08 March 2006 at 08:54, JJ Tang wrote:
> hi, guys
> 
> sorry if this issue seems pretty easy for you, i wasn't able to find
> anything useful from the archives. basically, the problem is, i can play
> *.avi files, *.mov files, but not *.rm and *.rmvb files. the system keeps
> reporting that certain files can't opened, while they actually CAN in the
> linux terminal.
> 
> so i came here to ask, hope you can throw some insights on me. thanks in
> advance.
> 
> technical details for your debugging:
> 
> system information is :
> ===========
> % uname -a
> Linux rhas25 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64
> x86_64 x86_64 GNU/Linux
> ===========
> 
> my command line for configure is
> ./configure --prefix=/remote/u/jjtang/tools/mplayer-1.0 --enable-largefiles
> --with-codecsdir=/remote/u/jjtang/tools/codecs
> --with-reallibdir=/remote/u/jjtang/tools/codecs
> 
> i am using "MPlayer-1.0pre7try2" and "essential-20050412" as the codec
> ===========
> 
> and i have the following WARNING messages at the end of the compiling.
> honestly i dont know what these things mean.
> ===========
> make: warning:  Clock skew detected.  Your build may be incomplete.

Use any search engine. This is a common problem and unrelated to MPlayer.

> ===========
> 
> after "make install", i could watch XviD avi, QuickTime, and other stuffs.
> but when i tried to watch a realvideo file, i got the following error
> messages:
> ===========
> MPlayer 1.0pre7try2-3.2.3 (C) 2000-2005 MPlayer Team
> CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 10)
> Detected cache-line size is 64 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
> 
> 
> Linux RTC init error in ioctl (rtc_irqp_set 1024): Inappropriate ioctl for
> device
> Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
> startup scripts.
> Playing [APTX4869][CONAN][426][V2].rmvb.
> REAL file format detected.
> Stream description: Audio Stream
> Stream mimetype: audio/x-pn-realaudio
> Stream description: Video Stream
> Stream mimetype: video/x-pn-realvideo
> Stream mimetype: logical-fileinfo
> VIDEO:  [RV40]  640x480  24bpp  23.000 fps    0.0 kbps ( 0.0 kbyte/s)
> Clip info:
>  name: [ÃûÕì̽¿ÂÄÏ][µÚ426»°.¸øСÀ¼µÄÇéÊé]
>  author: [ÃûÕì̽¿ÂÄÏÊÂÎñËùM2R&AС×é][NicoleѹÖÆ]
>  copyright: http://www.aptx.cn
> ==========================================================================
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> FAAD: compressed input bitrate missing, assuming 128kbit/s!
> AUDIO: 32000 Hz, 2 ch, s16le, 128.0 kbit/12.50% (ratio: 16000->128000)
> Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
> ==========================================================================
> SDL: Using driver: x11
> ==========================================================================
> Opening video decoder: [realvid] RealVideo decoder
> opening shared obj '/remote/u/jjtang/tools/codecs/drvc.so'
> Error: /remote/u/jjtang/tools/codecs/drvc.so: cannot open shared object
> file: No such file or directory
> ERROR: Could not open required DirectShow codec drvc.so.
> Read the RealVideo section of the DOCS!
> VDecoder init failed :(
> Opening video decoder: [realvid] RealVideo decoder
> opening shared obj '/remote/u/jjtang/tools/codecs/drv4.so.6.0'
> Error: /remote/u/jjtang/tools/codecs/drv4.so.6.0: cannot open shared object
> file: No such file or directory
> ERROR: Could not open required DirectShow codec drv4.so.6.0.
> Read the RealVideo section of the DOCS!
> VDecoder init failed :(
> Opening video decoder: [realvid] RealVideo decoder
> ERROR: Could not open required DirectShow codec drv43260.dll.
> Read the RealVideo section of the DOCS!
> VDecoder init failed :(
> Opening video decoder: [realvid] RealVideo decoder
> opening shared obj
> '/remote/u/jjtang/tools/codecs/drvc.bundle/Contents/MacOS/drvc'
> Error: /remote/u/jjtang/tools/codecs/drvc.bundle/Contents/MacOS/drvc: cannot
> open shared object file: No such file or directory
> ERROR: Could not open required DirectShow codec drvc.bundle
> /Contents/MacOS/drvc.
> Read the RealVideo section of the DOCS!
> VDecoder init failed :(
> Cannot find codec matching selected -vo and video format 0x30345652.
> Read DOCS/HTML/en/codecs.html!
> ==========================================================================
> Checking audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
> AF_pre: 32000Hz/2ch/s16le
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: Permission denied
> [AO ARTS] can't connect to aRts soundserver
> [AO ESD] esd_open_sound failed: Connection refused
> [AO SDL] Samplerate: 32000Hz Channels: Stereo Format s16le
> [AO SDL] Unable to open audio: No available audio device
> AO: [null] 32000Hz 2ch s16le (2 bps)

There's another problem here, something else is occupying the sound device.

> Building audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
> Video: no video
> Starting playback...
> =========
> 
> the errors message seems ridiculos, since i DO have the so-called "missing
> codecs" at exactly the place where mplayer is trying to find!  i tried
> several different codecs which i can find on the mplayer webpage, and they
> all give the similar result.
> 
> what do you gurus think ?

I think you should learn to use strace. Insert strace -eopen -f at the
beginning of your command for starters and watch the output for any failed
file open operations.

My other theory is that some of the XAnim real codecs (*.so*) require
additional libs on your system, which you don't have, but you'll be able to
see that on strace. Either that, or use ldd on them.

R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and oppression
to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan




More information about the MPlayer-users mailing list