#9148 closed defect (fixed)
Downloading an https file with gnutls is too slow
Reported by: | Taner Sener | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | gnutls, https regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
Downloading a file using https protocol is too slow. Download times out frequently. This happens when ffmpeg is built with gnutls on macOS.
This performance decrease is caused by https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/70d8077b795766e2486e6ec8110f22a97362d6d6. If you checkout master using a previous commit e.g. a1553b0cfbff92223caaed4103b92373b2339173 the same file is downloaded in 35 seconds.
See attachments provided.
How to reproduce:
% ffmpeg -y -report -i https://snapcellvideos.s3.amazonaws.com/manual/24/manualupload_16098586962947166522.mp4 -c:v mpeg4 /tmp/latest.mp4 ffmpeg version N-101485-g16e8ea0dde Copyright (c) 2000-2021 the FFmpeg developers built with Apple clang version 12.0.0 (clang-1200.0.32.29) configuration: --enable-gnutls libavutil 56. 68.100 / 56. 68.100 libavcodec 58.130.100 / 58.130.100 libavformat 58. 72.100 / 58. 72.100 libavdevice 58. 12.100 / 58. 12.100 libavfilter 7.109.100 / 7.109.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100
Attachments (3)
Change History (7)
by , 4 years ago
Attachment: | console.commit.a1553b0cfbff92223caaed4103b92373b2339173.txt added |
---|
follow-up: 2 comment:1 by , 4 years ago
I sent in a patch:
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210314045432.214832-1-andriy.gelman@gmail.com/
Could you leave the link for a bit longer so that others could test, please?
comment:2 by , 4 years ago
Replying to taliho:
I sent in a patch:
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210314045432.214832-1-andriy.gelman@gmail.com/
Could you leave the link for a bit longer so that others could test, please?
Thanks! Sure, I'll reach out to the link owner and ask him to keep the link alive.
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 4 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | regression added |
Console output for the same command executed on master with commit a1553b0cfbff92223caaed4103b92373b2339173