[FFmpeg-trac] #5845(avformat:new): HLS does not honour HTTP multiple_requests option

FFmpeg trac at avcodec.org
Mon Sep 12 13:39:24 EEST 2016


#5845: HLS does not honour HTTP multiple_requests option
----------------------------------+----------------------------------
             Reporter:  awy       |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  2.8.7
             Keywords:  HLS       |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 The HTTP protocol has a multiple_requests option. When this is enabled,
 HLS still creates a new HTTP connection for each URL it needs to fetch,
 including new DNS lookups. It should make use of keep-alive (persistent)
 connections. This results in unnecessary round-trips including TLS
 negotiation when the URLs are HTTPS ones.

 How to reproduce:
 {{{
 fmpeg -nostats -multiple_requests 1 -i 'https://webstream-
 vh.akamaihd.net/xxx' -acodec copy -f adts -
 ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
   built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
   configuration: --prefix=/usr --bindir=/usr/bin
 --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
 --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
 gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r
 --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-
 libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm
 --enable-libmp3lame --enable-openal --enable-libopencv --enable-
 libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis
 --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265
 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample
 --enable-postproc --enable-pthreads --disable-static --enable-shared
 --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64
 --enable-runtime-cpudetect
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 40.101 /  5. 40.101
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5845>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list