[FFmpeg-trac] #4808(avformat:open): HLS live stream don't use new cookies on future requests

FFmpeg trac at avcodec.org
Tue Sep 22 13:29:12 CEST 2015


#4808: HLS live stream don't use new cookies on future requests
-------------------------------------+------------------------------------
             Reporter:  lucas.rokam  |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  m3u8 hls     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by lucas.rokam):

 cc1162d7 doesn't work too. My fix do the job... I was able to retrieve the
 data for 7 minutes.
 {{{
 ffmpeg_cc1162d7.exe -loglevel verbose -i
 "http://live.hls.globo.com/dvr/off24ha/master-playlist.m3u8?h
 =0411442921424640267477014429248989824107785bQjldbkA7NPYY8BiV-
 kGRw&k=html5&a=F&u=52dfc02cdd23810590000f57_605fd6ba-6320-4a5a-b10f-
 065e5363421d" -headers "Cookie:
 WMPTOKEN_52dfc02cdd23810590000f57=173846766e9c8c8dc4c4121176fb2c6c" -c
 copy "teste.ts"
 ffmpeg version N-62195-gcc1162d Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Sep 22 2015 00:22:44 with gcc 5.2.0 (GCC)
   configuration: --arch=x86 --target-os=mingw32 --cross-
 prefix=/home/xbmc/ffmpeg_sources/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-
 --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr
 --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray
 --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC
 --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-
 libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-decklink
 --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-
 libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-
 libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg
 --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus
 --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-
 bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2
 --enable-avisynth --enable-gray --extra-libs=-lpsapi --extra-cflags=
 --enable-static --disable-shared
 --prefix=/home/xbmc/ffmpeg_sources/sandbox/mingw-w64-i686/i686-w64-mingw32
 --enable-runtime-cpudetect
   libavutil      52. 74.100 / 52. 74.100
   libavcodec     55. 57.101 / 55. 57.101
   libavformat    55. 36.101 / 55. 36.101
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 [http @ 04d8e560] HTTP error 400 Bad Request
 http://live.hls.globo.com/dvr/off24ha/master-playlist.m3u8?h
 =0411442921424640267477014429248989824107785bQjldbkA7NPYY8BiV-
 kGRw&k=html5&a=F&u=52dfc02cdd23810590000f57_605fd6ba-6320-4a5a-b10f-
 065e5363421d: Input/output error
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4808#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list