[FFmpeg-user] Error playing an rtsp stream with ffplay:

Paolo Meridiani paolo.meridiani at gmail.com
Thu Jan 16 12:02:06 EET 2020


The stream is from a camera (victure PC530) and works nicely with VLC:

Looking more in detail:
ffplay  rtsp://XXXXXX-loglevel verbose
ffplay version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2003-2019 the FFmpeg
developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmp3lame --enable-libmysofa --enable-libopenjpeg
--enable-libopenmpt --enable-libopus --enable-libpulse
--enable-librubberband --enable-librsvg --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx
--enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394
--enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r
--enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Initialized opengl renderer.
[rtsp @ 0x7f2aec000b80] SDP:aq=    0KB vq=    0KB sq=    0B f=0/0
v=0
o=- -1375660018 -1375660018 IN IP4 192.168.1.113
t=0 0
c=IN IP4 192.168.1.113
a=packetization-supported:Puwell
m=video 0 RTP/AVP 96
a=control:trackID=0
a=rtpmap:96 H264/90000
a=framerate:0S
a=fmtp:96 profile-level-id=640028; packetization-mode=1;
sprop-parameter-sets=Z2QAKKw7UDwBE/LCAAADAAIAAAMAUQg=,aO484QBCQgCEhARMUhuTxXyfk/k/J8nm5MkkLCJCkJyeT6/J/X5PrycmpMA=
m=audio 0 RTP/AVP 8
a=control:trackID=1
a=rtpmap:8 PCMA/8000

rtsp://XXXX/: Invalid data found when processing input

With the trace log level the command ends like this:
[rtsp @ 0x7fab40000b80] line='x-Dynamic-Rate: 1'
]rtsp @ 0x7fab40000b80] ret=1 c=0d [
[rtsp @ 0x7fab40000b80] ret=1 c=0a [
]
[rtsp @ 0x7fab40000b80] line=''
rtsp://XXXXX: Invalid data found when processing input
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

I suspect it is something connected to the "empty line". Is there a way to
skip this error ot has someone any clue?

Best

P.


More information about the ffmpeg-user mailing list