Opened 2 years ago
Last modified 15 months ago
#9555 reopened defect
Please add support on br (Brotli) decoding on https (HLS request)
Reported by: | Mario101_HC | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffmpeg |
Version: | 4.4.3 | Keywords: | HLS https hls |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
Received this line "unknown content coding: br" on the stream download (via hls)
How to reproduce:
ffmpeg \
-report \
-user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36" \
-headers "Accept: */*"$'\r\n'"Origin: https://hqq.tv"$'\r\n' \
-i "https://3gd64u.cfeucdn.com/silverlight/secip/38769/3XZ9nnAHLsRKRR7ic579Zg/NjEuOTIuODMuNzE=/1639772958/hls-vod-s006/flv/api/files/videos/2021/03/18/16160595861ypo5.mp4.m3u8" \
-c copy [Any file path]
ffmpeg version:
built on ffmpeg version 4.4.1 - built with Apple clang version 12.0.0 (clang-1200.0.32.29)
}}}
Log main point:
[https @ 0x7f8858b85380] Unknown content coding: br
Attachments (1)
Change History (10)
by , 2 years ago
Attachment: | ffmpeg-20211217-223804.log added |
---|
comment:1 by , 2 years ago
Description: | modified (diff) |
---|
comment:2 by , 2 years ago
Component: | undetermined → ffmpeg |
---|---|
Description: | modified (diff) |
Keywords: | HLS https hls added |
comment:3 by , 2 years ago
Status: | new → open |
---|---|
Summary: | Unknown content coding: br on https request → Please add support on br (Brotile) decoding on https (HLS request) |
comment:4 by , 2 years ago
Summary: | Please add support on br (Brotile) decoding on https (HLS request) → Please add support on br (Brotli) decoding on https (HLS request) |
---|
comment:5 by , 2 years ago
static int parse_content_encoding(URLContext *h, const char *p)
{
if (!av_strncasecmp(p, "gzip", 4) !av_strncasecmp(p, "deflate", 7)) {
anyone may help check possibility and guidance on adding br decompressing logic in parse content? ~ thanks
https://github.com/google/brotli/blob/master/c/tools/brotli.c
Google provided brotli decompressor
comment:7 by , 2 years ago
Replying to Balling:
Is this part of HTTP/3?
I am not sure, but see that it is a 2015 developed from google, open source decompression protocol format that improves loading speed for website
comment:8 by , 15 months ago
Resolution: | → needs_more_info |
---|---|
Status: | open → closed |
ffmpeg -user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36" -headers "Accept: */*"$'\r\n'"Origin: https://hqq.tv"$'\r\n' -i https://3gd64u.cfeucdn.com/silverlight/secip/38769/3XZ9nnAHLsRKRR7ic579Zg/NjEuOTIuODMuNzE=/1639772958/hls-vod-s006/flv/api/files/videos/2021/03/18/16160595861ypo5.mp4.m3u8 -c copy fcqemfeqa.mp4
Does not work here.
comment:9 by , 15 months ago
Resolution: | needs_more_info |
---|---|
Status: | closed → reopened |
Log file