[FFmpeg-trac] #10721(avformat:new): http: protocol for output ignores HTTP errors
FFmpeg
trac at avcodec.org
Mon Dec 4 21:18:38 EET 2023
#10721: http: protocol for output ignores HTTP errors
------------------------------------+----------------------------------
Reporter: maximrazin | Type: defect
Status: new | Priority: normal
Component: avformat | Version: 6.0
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Summary of the bug:
When ffmpeg output uses http: protocol, and HTTP server returns an error
(e.g. 404 or 405), the error is ignored completely, it isn't even
reflected in logs.
How to reproduce:
Set up a local web server, don't enable HTTP PUT/POST. I used nginx with a
default configuration
{{{
% ffmpeg -i file.ts -c copy -f mpegts http://localhost/blackhole.ts
}}}
HTTP server returns 405, but ffmpeg does not react and completes
successfully
Expected behavior:
ffmpeg should log the HTTP error and fail with I/O error
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10721>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list