[FFmpeg-trac] #7160(avformat:new): hls fmp4 http upload - user agent and http method not respected for fmp4-segments
FFmpeg
trac at avcodec.org
Wed Apr 25 01:31:05 EEST 2018
#7160: hls fmp4 http upload - user agent and http method not respected for
fmp4-segments
-------------------------------------+-------------------------------------
Reporter: nitrat | Type: defect
Status: new | Priority: important
Component: avformat | Version: git-
Keywords: hls fmp4 | master
http upload | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffmpeg -re -i bunny_1080p_30fps.mp4 -c:v libx264 -qp:v 19 -b:v 2100k
-maxrate:v 3500k -c:a libfdk_aac -b:a 128k -ac 2 -ar 48000 -f hls
-hls_time 6 -hls_fmp4_init_filename 'init.mp4' -hls_list_size 10
-hls_segment_type fmp4 -http_user_agent "MyEncoder" -method PUT
http://ec2-52-59-204-244.eu-
central-1.compute.amazonaws.com/cmaf/652174/checkme/test.m3u8
ffmpeg version git-2018-04-24-d06b01f
built on ubuntu 16.04 LTS
}}}
on Webserver-log you see, that HTTP-Method and User-Agent is respected for
variant-playlist-upload but NOT for fmp4-upload, there it's POST and User-
Agent "Lavf/58.13.100"
89.1.38.70 - - [24/Apr/2018:22:25:48 +0000] "PUT
/cmaf/652174/checkme/test.m3u8 HTTP/1.1" 204 0 "-" "MyEncoder"
89.1.38.70 - - [24/Apr/2018:22:25:48 +0000] "POST
/cmaf/652174/checkme/test1.m4s HTTP/1.1" 404 178 "-" "Lavf/58.13.100"
It's working as expected for -hls_segment_type mpegs
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7160>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list