[MPlayer-users] Trouble with RTSP stream; works with Quicktime and VLC

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Nov 16 16:39:40 CET 2007


Hi Aaron!

Aaron Greenhouse <aarong <at> cs.cmu.edu> writes:

> > Could you _PLEASE_ find out if your camera also supports G726 audio  
> > format? I'd
> > really like to support it, but never found a camera to test.
> 
> Yes, it supports G726, as well as G711 mu-law and AAC.  I'd be happy  
> to help you test G726 if I could get things to work at all.

I'll send you a patch next week, I fear you will have to compile anyway.

[...]

> A few things:
> 
> - My example above is incorrect, I am using the URL rtsp:// 
> 192.168.23.200:554/mpeg4/1/media.amp.  As I said, this works with  
> QuickTime Player and VLC.  With mplayer it fails.  It tries to load  
> avisynth.dll and fails.  If I set the DYLD_BIND_AT_LAUNCH env  
> variable it still fails.  If i try adding the -playlist flag it fails.

Your problem neither has anything to do with avisynth.dll (that just shows there
was a problem), nor can it be fixed with -playlist.

> - I tried changing the audio to G711 mu-law from AAC, and the same  
> thing happened.

I'm not totally sure, but AFAICT, G711 over rtsp is not supported at all (does
it work with vlc? I don't think so).

> - I didn't build mplayer.  I am using"MPlayer OS X 1.0rc1" plus "Mac  
> OS X x86 20060611" codecs from the download page.

As I wrote, you will have to find out if mplayer was compiled with live555
support (try mplayer -rtsp-stream-over-tcp
rtsp://192.168.23.200:554/mpeg4/1/media.amp - that might give an error about
live555 not supported), and if not, compile it yourself after installing live555
to /usr/lib or /usr/local/lib.
You will not be able to play (or record) the stream with the native demuxer if
mplayer was built without live555 support.

> (My interest in this is that I want to be able to archive the audio  
> and video stream sent by the camera.  I have been using EvoCam to  
> control 2 of these cameras, and I can save a nice time-lapse movie,  
> or archive the video stream, but it is a QuickTime-based product and  
> QuickTime won't let me save the audio stream.  VLC is supposed to  
> allow me to save it, but while it views the stream correctly, the  
> stream it saves craps out after 1 second.  I was hoping mplayer would  
> do better.)

You will be able to either -dumpaudio or -dumpvideo (unfortunately not both at
the same time), and you can use mencoder to save the stream in another container.

Carl Eugen





More information about the MPlayer-users mailing list