Opened 3 years ago

Closed 3 years ago

#8942 closed defect (worksforme)

RTSP-Stream not loading

Reported by: jkleemann Owned by:
Priority: normal Component: avformat
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
ffprobe hangs when trying to open the stream below. The stream works in VLC, so it should be ok.

How to reproduce:

jan@BHA-0111:~/ffmpeg_master_debug/bin$ ./ffprobe rtsp://122.29.249.8/fmsagami_simul
ffprobe version N-99699-gd34e4904cd Copyright (c) 2007-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/home/jan/ffmpeg_master_debug --enable-debug
  libavutil      56. 60.100 / 56. 60.100
  libavcodec     58.111.101 / 58.111.101
  libavformat    58. 62.100 / 58. 62.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 88.100 /  7. 88.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100

Change History (2)

comment:1 by Andriy Gelman, 3 years ago

stream works fine for me with FFmpeg git head.

comment:2 by Carl Eugen Hoyos, 3 years ago

Resolution: worksforme
Status: newclosed
$ ffmpeg -rtsp_transport tcp -i rtsp://122.29.249.8/fmsagami_simul -t 10 out.wav
ffmpeg version N-99816-g3da35b7cc7 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      56. 60.100 / 56. 60.100
  libavcodec     58.112.100 / 58.112.100
  libavformat    58. 64.100 / 58. 64.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 88.100 /  7. 88.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, rtsp, from 'rtsp://122.29.249.8/fmsagami_simul':
  Metadata:
    title           : <No Title>
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: L1
    WMFSDKVersion   : 12.0.7601.17514
    IsVBR           : 0
  Duration: 00:00:00.00, start: 2944360.905000, bitrate: N/A
    Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (wmav2 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'out.wav':
  Metadata:
    INAM            : <No Title>
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: L1
    WMFSDKVersion   : 12.0.7601.17514
    IsVBR           : 0
    ISFT            : Lavf58.64.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc58.112.100 pcm_s16le
size=    1719kB time=00:00:10.00 bitrate=1407.8kbits/s speed=0.724x    
video:0kB audio:1718kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005569%
Note: See TracTickets for help on using tickets.