[FFmpeg-trac] #5288(ffmpeg:new): FFmpeg -progress url Isn't working
FFmpeg
trac at avcodec.org
Wed Mar 9 00:42:57 CET 2016
#5288: FFmpeg -progress url Isn't working
------------------------------------+----------------------------------
Reporter: BlackDream | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 1 |
------------------------------------+----------------------------------
Changes (by c-14):
* analyzed: 0 => 1
* reproduced: 0 => 1
Comment:
The "problem" as such is that ffmpeg uses a single continuous chunked post
to post the progress information to the server and the HTTP server sees
this as a single request and therefore only processes it once when the
request finishes.
The only way to "fix" this (besides not using http) would be to create a
new http muxer that creates a new post request every time ffurl_write is
called on it (and then force that muxer for use with progress), or close
and reopen the AVIOContext when writing progress information (hacky, but
works). Neither of those options seems particularly clean though.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5288#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list