Opened 4 years ago
Last modified 4 years ago
#8828 new defect
avformat_open_input hangs on non-existent RTSP url
Reported by: | Max | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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.
Change History (4)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Keywords: | avformat_open_input removed |
---|---|
Priority: | critical → normal |
Version: | 4.2 → unspecified |
Please test current FFmpeg git head - the only version supported on this bug tracker - and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.
comment:3 by , 4 years ago
Excuse my bad english, "command line" so I have to use the static version ? But I use the ffmpeg lib in shared. I'm not on the good place for this reporting ? Or I have to compile the shared lib myself to post the issue ? I download the build on your official link -> https://ffmpeg.zeranoe.com/builds/
comment:4 by , 4 years ago
I see that the same issue for UDP was post and fixed 2 years ago.
I tested on the last build shared/dev for windows 64bits from the 27-07-2020
the caracters that hangs the function too in password field are slashs. Think it can be normal but my cam had slash in the passwords...