[MPlayer-users] "librtsp: buffer overflow in rtsp_get" error when trying to play RTSP stream

Lissanro Rayen Lissanro at Dragon.Studio
Thu Aug 29 17:35:37 EEST 2019


I'm trying to play RTSP stream from IP camera. With mpv, vlc, ffplay or 
gst-launch-1.0 it plays fine. But with mplayer it just crashes with 
"librtsp: buffer overflow in rtsp_get" error. This happens both in 
mplayer 1.4 (compiled myself) and mplayer 1.3 (it comes with Ubuntu). 
Any suggestions what can I do to fix or debug this issue?

The reason why I'm interested in mplayer is that there is a chance that 
it may give lower latency than other players, like mentioned here 
https://github.com/mpv-player/mpv/issues/4213 - with RTSP my issue with 
mpv seems to be similar, no matter what options I try it introduces very 
noticeable lag even even with low resolution MJPEG substream. So I would 
like to try mplayer instead and I would really appreciate any help.

For now I'm trying to use mplayer without any options to reduce latency, 
just trying to get it working with RTSP. Terminal output (I tried 
playing H.264 or MJPEG substream but the output is the same, 
login/password are not needed to play the stream):

% mplayer rtsp://192.168.1.88
MPlayer 1.4-8 (C) 2000-2019 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing rtsp://admin:admin@192.168.1.88.
Resolving 192.168.1.88 for AF_INET6...

Couldn't resolve name for AF_INET6: 192.168.1.88
Connecting to server 192.168.1.88[192.168.1.88]: 554...

librtsp: buffer overflow in rtsp_get



More information about the MPlayer-users mailing list