Opened 3 years ago

Last modified 3 years ago

#8418 reopened defect

ffprobe/ffmpeg fails to connect to rstp stream with multiple variables

Reported by: Marcos E Cossa Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
ffprobe does not include parameters in the RTSP SETUP message, which makes encoder to not send an empty stream.

In attached, I collected tcpdump trace from ffprobe/ffmpeg and compared to VLC, reaching the same rstp url. You can see a clear difference in the SETUP message.

In VLC the url and playback works well.

Follow error message and package version:
root@452232b30264:/# ffprobe -i rtsp://10.2.165.116/?src=1&freq=11362&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,6100,6110,6120,6130
[2] 2159
[3] 2160
[4] 2161
[5] 2162
[6] 2163
[7] 2164
[8] 2165
[9] 2166
[10] 2167
[3] Done freq=11362
[5] Done ro=0.35
[6] Done msys=dvbs2
[7] Done mtype=8psk
root@452232b30264:/# ffprobe version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2007-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

rtsp://10.2.165.116/?src=1: End of file

Attachments (2)

ffprobe.pcap (13.3 KB ) - added by Marcos E Cossa 3 years ago.
vlc-2.pcap (4.5 KB ) - added by Marcos E Cossa 3 years ago.
VLC working stream

Download all attachments as: .zip

Change History (4)

by Marcos E Cossa, 3 years ago

Attachment: ffprobe.pcap added

by Marcos E Cossa, 3 years ago

Attachment: vlc-2.pcap added

VLC working stream

comment:1 by Carl Eugen Hoyos, 3 years ago

Component: ffprobeundetermined
Keywords: rtsp ffprobe ffmpeg removed
Resolution: invalid
Status: newclosed

Did you test it with quotation marks?

comment:2 by Marcos E Cossa, 3 years ago

Resolution: invalid
Status: closedreopened

Yes,

Traces were taken with quotes... Please review pcap files attached, in special the SETUP message.

Follow log message with quotes too..

root@452232b30264:/# ffprobe -i "rtsp://10.2.165.116/?src=1&freq=11362&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,6100,6110,6120,6130"
ffprobe version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2007-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

rtsp://10.2.165.116/?src=1&freq=11362&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,6100,6110,6120,6130: End of file
root@452232b30264:/#

Thanks!

Marcos

Note: See TracTickets for help on using tickets.