[MPlayer-users] 1 second latency and complain about GStreamer when accessing to RTSP stream from AXIS camera

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Mar 8 01:43:13 EET 2017


On Tue, Jan 24, 2017 at 03:49:56PM +0100, Faisal Mozher wrote:
> Hi,
> I'm using ubuntu 14.04. I'm trying to play the audio from an `rtsp` audio
> stream provided by Axis P5515 camera but I have about a second latency. I'm
> using the following command:
> 
> mplayer rtsp://username:password@10.10.210.2/axis-media/media.amp
> -rtsp-stream-over-tcp -novideo -nolirc -prefer-ipv4 -benchmark -nocache
> 
> I get the following reply in the terminal:
> MPlayer SVN-r37881 (C) 2000-2012 MPlayer Team

That year is weird. Maybe should do a "make clean"?

> How to get rid of this complain?
> 
>     librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
>     rtsp_session: unsupported RTSP server. Server type is 'GStreamer RTSP
> server'.

It's using MPlayer's really old, weird and unmaintained librtsp.
You could try
ffmpeg://rtsp://username:password@10.10.210.2/axis-media/media.amp
instead, maybe it works better.


More information about the MPlayer-users mailing list