#9555 closed defect (duplicate)
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 (11)
by , 5 years ago
| Attachment: | ffmpeg-20211217-223804.log added |
|---|
comment:1 by , 5 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 5 years ago
| Component: | undetermined → ffmpeg |
|---|---|
| Description: | modified (diff) |
| Keywords: | HLS https hls added |
comment:3 by , 5 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 , 5 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 , 5 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 , 5 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 , 4 years 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 , 4 years ago
| Resolution: | needs_more_info |
|---|---|
| Status: | closed → reopened |
comment:10 by , 18 months ago
| Resolution: | → duplicate |
|---|---|
| Status: | reopened → closed |
duplicate of #7158
This really needs to be fixed, I asked AI and it is negative that brotli is part of HTTP/3, header compression is not done with brotli, it uses QPACK/HPACK for headers. Pastebin link for deepseek r1 chain of thought: https://pastebin.com/8fnWjAKp



Log file