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

Faisal Mozher faisal.mozher at humediq.com
Tue Jan 24 16:49:56 EET 2017


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

    Playing rtsp://username:password@10.10.210.2/axis-media/media.amp.

    Connecting to server 10.10.210.2[10.10.210.2]: 554...

    librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
    rtsp_session: unsupported RTSP server. Server type is 'GStreamer RTSP
server'.
    libavformat version 57.44.100 (internal)
    libavformat file format detected.
    [lavf] stream 0: video (h264), -vid 0
    [lavf] stream 1: audio (pcm_mulaw), -aid 0
    Clip info:
     title: Session streamed with GStreamer
     comment: rtsp-server

==========================================================================
    Opening audio decoder: [alaw] aLaw/uLaw audio decoder
    AUDIO: 8000 Hz, 1 ch, s16le, 64.0 kbit/50.00% (ratio: 8000->16000)
    Selected audio codec: [ulaw] afm: alaw (uLaw)

==========================================================================
    AO: [pulse] 8000Hz 1ch s16le (2 bytes per sample)
    Video: no video
    Starting playback...

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'.

Is this the reason why it has about one second latency? Could you please
suggest me any idea regarding reducing the latency?

-- 
Best regards
Faisal


More information about the MPlayer-users mailing list