[FFmpeg-trac] #8828(avformat:new): avformat_open_input hangs on non-existent RTSP url
FFmpeg
trac at avcodec.org
Wed Jul 29 10:16:59 EEST 2020
#8828: avformat_open_input hangs on non-existent RTSP url
-------------------------------------+-------------------------------------
Reporter: MaxRiffs | Type: defect
Status: new | Priority: critical
Component: avformat | Version: 4.2
Keywords: | Blocked By:
avformat_open_input |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I use the 4.2.3 build for Windows in 64Bits
When I use avformat_open_input on a non existant rtsp url it hangs all my
code because they are no call back in this case.
Work very good on a working rtsp url, return a callback if the url are
malformed but hangs if the url is good formed like :
rtsp://login:password@192.168.0.67:554 but do not exist.
For exemple, if this url work and exist :
rtsp://login:password@192.168.0.68:554
this will hangs because the good adress are in "554" :
rtsp://login:password@192.168.0.68:553
It's a real issue for me because I don't see how to properly make this
working wihout a callback from avformat_open_input.
I noticed the same hangs if I have "//" in the password, but the first
issues is more critical.
Thank you in advance and excuse me if I do a error.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8828>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list