[FFmpeg-trac] #5970(undetermined:new): No valid multicast port obtained from RTSP
FFmpeg
trac at avcodec.org
Mon Nov 21 13:53:13 EET 2016
#5970: No valid multicast port obtained from RTSP
-------------------------------------+-------------------------------------
Reporter: ioeir2 | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Cannot get multicast RTSP stream from camera via ffmpeg/ffplay.
ffmpeg/ffplay tries to connect to UDP port 0 instead of 40000.
It sends in SETUP:
Transport: RTP/AVP/UDP;multicast
But should something like
Transport: RTP/AVP;multicast;destination=224.1.2.4;port=40000-40001
How to reproduce:
IP camera: Amcrest IPM-HX1, sw. version 2.420.AC00.15.R, build :
2016-09-08. Very popular at the moment IP camera.
{{{
./ffplay-3.2 -rtsp_transport udp_multicast
'rtsp://admin:password@10.0.1.20/cam/realmonitor?channel=1&subtype=0&proto=Dahua3&unicast=false'
ffplay version 3.2 Copyright (c) 2003-2016 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration:
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.100 / 57. 64.100
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
[udp @ 0x7fb20bc9d500] bind failed: Permission denied 0B f=0/0
[udp @ 0x7fb20bc9b1a0] bind failed: Permission denied
[udp @ 0x7fb20bc9b220] bind failed: Permission denied
Segmentation fault: 11
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5970>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list