[FFmpeg-trac] #7160(avformat:new): hls fmp4 http upload - user agent and http method not respected for fmp4-segments

FFmpeg trac at avcodec.org
Sat Apr 28 06:49:32 EEST 2018


#7160: hls fmp4 http upload - user agent and http method not respected for
fmp4-segments
-------------------------------------+-------------------------------------
             Reporter:  nitrat       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls fmp4     |               Blocked By:
  http upload                        |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by stevenliu):

 try the patch please: https://patchwork.ffmpeg.org/patch/8682/
 {{{
 ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -c:v h264_videotoolbox -g 50
 -r:v 25 -f hls -v verbose -method PUT -hls_time 2 -hls_segment_type fmp4
 -hls_list_size 3 -hls_flags delete_segments
 http://127.0.0.1/output_test_liuqi.m3u8
 }}}

 in http server:


 {{{
 liuqideMacBook-Pro:custom_ffmpeg liuqi$ ls
 /usr/local/nginx/html/output_test_liuqi* /usr/local/nginx/html/*.mp4
 /usr/local/nginx/html/init.mp4
 /usr/local/nginx/html/output_test_liuqi.m3u8
 /usr/local/nginx/html/output_test_liuqi4.m4s
 /usr/local/nginx/html/output_test_liuqi5.m4s
 /usr/local/nginx/html/output_test_liuqi6.m4s
 liuqideMacBook-Pro:custom_ffmpeg liuqi$
 }}}

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


More information about the FFmpeg-trac mailing list