[FFmpeg-trac] #9169(ffmpeg:new): RTSP stream with UDP are use TCP
FFmpeg
trac at avcodec.org
Wed Mar 31 17:54:20 EEST 2021
#9169: RTSP stream with UDP are use TCP
-------------------------------------+-------------------------------------
Reporter: VidarHUN | Type: defect
Status: new | Priority: important
Component: ffmpeg | Version: 4.2.4
Keywords: rtsp, udp, | Blocked By:
tcp, stream |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
ffmpeg -loglevel repeat+level+trace -re -i input.mp3 -f rtsp
-rtsp_transport udp rtsp://localhost:8554/live
}}}
The error message:
{{{
[tcp @ 0x561618cb8b00] [debug] No default whitelist set
[tcp @ 0x561618cb8b00] [debug] Original list of addresses:
[tcp @ 0x561618cb8b00] [debug] Address 127.0.0.1 port 8554
[tcp @ 0x561618cb8b00] [debug] Interleaved list of addresses:
[tcp @ 0x561618cb8b00] [debug] Address 127.0.0.1 port 8554
[tcp @ 0x561618cb8b00] [verbose] Starting connection attempt to 127.0.0.1
port 8554
[tcp @ 0x561618cb8b00] [verbose] Connection attempt to 127.0.0.1 port 8554
failed: Connection refused
[tcp @ 0x561618cb8b00] [error] Connection to
tcp://localhost:8554?timeout=0 failed: Connection refused
[error] Could not write header for output file #0 (incorrect codec
parameters ?): Connection refused
[error] Error initializing output stream 0:0 --
}}}
I think this should work with UDP and there is a related ticket already
#6807.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9169>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list