[FFmpeg-user] Timeout when joining multicast streams from SDP

Ben Barker ben at bbarker.co.uk
Mon Feb 27 11:23:11 EET 2017


ffmpeg -protocol_whitelist file,udp,rtp -i test.sdp -f rawvideo -y /dev/null
ffmpeg version N-83574-g947fdad Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
  configuration: --prefix=/root/ffmpeg_build
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin
--pkg-config-flags=--static --enable-gpl --disable-opencl --enable-ffplay
--enable-nonfree --enable-libfdk-aac --enable-libfreetype
--enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265
  libavutil      55. 47.100 / 55. 47.100
  libavcodec     57. 80.101 / 57. 80.101
  libavformat    57. 66.102 / 57. 66.102
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 73.100 /  6. 73.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[sdp @ 0x29cdc40] Could not find codec parameters for stream 0 (Video:
h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, sdp, from 'test.sdp':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc
Output #0, rawvideo, to '/dev/null':
Output file #0 does not contain any stream


I have tried the above with various timeout parameters, but in all cases
the timout occurs after 10 seconds
I also tried editing READ_PACKET_TIMEOUT_S in rtsp.c to 120 and
recompiling, but this had no effect either...


More information about the ffmpeg-user mailing list