[FFmpeg-trac] #8566(undetermined:new): HTTP method ignored on retry

FFmpeg trac at avcodec.org
Wed Mar 11 12:28:49 EET 2020


#8566: HTTP method ignored on retry
-------------------------------------+-------------------------------------
             Reporter:  vschweitzer  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  http         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 When FFmpeg fails to upload a file to a server using the
 specified method (in this example PUT) it retries using a different
 method.

 This behavior was tested on NGINX with the same config as in
 #8561. The configuration is also listed in the comments.

 For a server running on port 45000 the following command is used:
 {{{
 ffmpeg -y -hide_banner -f lavfi -i color=c=black:s=1920x1080:r=25 -vcodec
 libx264 -f hls -method PUT -http_persistent 1
 http://127.0.0.1:45000/streams/index.m3u8
 }}}
 Note that the method is set to PUT.
 If one segment fails to upload, FFmpeg will retry:
 {{{
 [hls @ 00000272de1b4f00] Opening
 'http://127.0.0.1:45000/streams/index0.ts' for writing
 [hls @ 00000272de1b4f00] upload segment failed, will retry with a new http
 session.
 [hls @ 00000272de1b4f00] Opening
 'http://127.0.0.1:45000/streams/index0.ts' for writing
 }}}
 (Full uncut output attached)

 This retry will be made via POST request as opposed to the
 specified PUT.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8566>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list