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

FFmpeg trac at avcodec.org
Fri Mar 13 10:49:10 EET 2020


#8566: HTTP method ignored on retry
-------------------------------------+-------------------------------------
             Reporter:  vschweitzer  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  http         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by stevenliu):

 I cannot reproduce it

 this is my nginx config
 {{{

     map $request_method $my_proxy_method {
         default $request_method;
         POST PUT;
     }
     server {
         listen       80;
         server_name  localhost;

         #charset koi8-r;

         #access_log  logs/host.access.log  main;
         location / {
             root   html;
             create_full_put_path  on;
             keepalive_requests 11;
             dav_access            group:rw  all:r;
             dav_methods PUT DELETE MKCOL COPY MOVE;
             index  index.html index.htm;
             client_max_body_size 10000m;
         }
 }}}

 output message:


 {{{
 liuqi05:dash liuqi$ ./ffmpeg -y -hide_banner -f lavfi -i
 color=c=black:s=1920x1080:r=25 -vcodec libx264 -f hls -method PUT
 -http_persistent 1 -g 25 -hls_time 1 http://127.0.0.1/streams/index.m3u8
 Input #0, lavfi, from 'color=c=black:s=1920x1080:r=25':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080
 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 [libx264 @ 0x7fdb75804600] using SAR=1/1
 [libx264 @ 0x7fdb75804600] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX FMA3 BMI2 AVX2
 [libx264 @ 0x7fdb75804600] profile High, level 4.0, 4:2:0, 8-bit
 [libx264 @ 0x7fdb75804600] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18
 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=25 keyint_min=2
 scenecut=40 intra_refresh=0 rc_lookahead=25 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, hls, to 'http://127.0.0.1/streams/index.m3u8':
   Metadata:
     encoder         : Lavf58.41.100
     Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR
 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.75.100 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
 [hls @ 0x7fdb75801200] Opening 'http://127.0.0.1/streams/index0.ts' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index1.ts' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index2.ts' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index3.ts' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index4.ts' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index5.ts' for
 writing
 [http @ 0x7fdb76141a00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb747037c0] URL read error: End of file
 [hls @ 0x7fdb75801200] upload playlist failed, will retry with a new http
 session.
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index6.ts' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index7.ts' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index8.ts' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index9.ts' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index10.ts' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb78008000] Opening 'http://127.0.0.1/streams/index11.ts' for
 writing
 [http @ 0x7fdb76900080] URL read error: End of file
 [hls @ 0x7fdb75801200] upload segment failed, will retry with a new http
 session.
 [hls @ 0x7fdb75801200] Opening 'http://127.0.0.1/streams/index11.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index12.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index13.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index14.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index15.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index16.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb7440c4c0] URL read error: End of file
 [hls @ 0x7fdb75801200] upload playlist failed, will retry with a new http
 session.
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index17.ts' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index18.ts' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index19.ts' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index20.ts' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index21.ts' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb77810000] Opening 'http://127.0.0.1/streams/index22.ts' for
 writing
 [http @ 0x7fdb76a000c0] URL read error: End of file
 [hls @ 0x7fdb75801200] upload segment failed, will retry with a new http
 session.
 [hls @ 0x7fdb75801200] Opening 'http://127.0.0.1/streams/index22.ts' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index23.ts' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index24.ts' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index25.ts' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index26.ts' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index27.ts' for
 writing
 [http @ 0x7fdb79003800] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76e004c0] URL read error: End of file
 [hls @ 0x7fdb75801200] upload playlist failed, will retry with a new http
 session.
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index28.ts' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index29.ts' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index30.ts' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index31.ts' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index32.ts' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb76016c00] Opening 'http://127.0.0.1/streams/index33.ts' for
 writing
 [http @ 0x7fdb74701140] URL read error: End of file
 [hls @ 0x7fdb75801200] upload segment failed, will retry with a new http
 session.
 [hls @ 0x7fdb75801200] Opening 'http://127.0.0.1/streams/index33.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index34.ts' for
 writing
 [http @ 0x7fdb74835000] Opening 'http://127.0.0.1/streams/index.m3u8' for
 writing
 [http @ 0x7fdb7440c440] URL read error: End of file
 [hls @ 0x7fdb75801200] upload playlist failed, will retry with a new http
 session.
 frame=  857 fps=315 q=-1.0 Lsize=N/A time=00:00:34.20 bitrate=N/A
 speed=12.6x
 video:72kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 [libx264 @ 0x7fdb75804600] frame I:35    Avg QP: 6.11  size:   423
 [libx264 @ 0x7fdb75804600] frame P:206   Avg QP: 9.03  size:    76
 [libx264 @ 0x7fdb75804600] frame B:616   Avg QP:12.72  size:    69
 [libx264 @ 0x7fdb75804600] consecutive B-frames:  4.1%  0.2%  0.0% 95.7%
 [libx264 @ 0x7fdb75804600] mb I  I16..4: 100.0%  0.0%  0.0%
 [libx264 @ 0x7fdb75804600] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%
 0.0%  0.0%  0.0%  0.0%    skip:100.0%
 [libx264 @ 0x7fdb75804600] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%
 0.0%  0.0%  direct: 0.0%  skip:100.0%
 [libx264 @ 0x7fdb75804600] 8x8 transform intra:0.0%
 [libx264 @ 0x7fdb75804600] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter:
 0.0% 0.0% 0.0%
 [libx264 @ 0x7fdb75804600] i16 v,h,dc,p: 99%  0%  1%  0%
 [libx264 @ 0x7fdb75804600] i8c dc,h,v,p: 100%  0%  0%  0%
 [libx264 @ 0x7fdb75804600] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 0x7fdb75804600] kb/s:16.96
 }}}

 and attechment file is wireshark.
 [[Image(1584089190256.jpg)]]

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


More information about the FFmpeg-trac mailing list