jackuess / pirateplayer

Qt-based utility for watching and downloading swedish broadcasting.
http://pirateplay.se/
GNU General Public License v3.0
42 stars 12 forks source link

ffmpeg fails when downloading from SVT #16

Open JonasOlson opened 10 years ago

JonasOlson commented 10 years ago

The URL http://www.svtplay.se/video/2102460/langfilm-i-svt/mannen-pa-taket (available until 2014-06-20) results in the following download command and subsequent error message on Ubuntu 14.04:

$ ffmpeg -i "http://svtplay17s-f.akamaihd.net/i/se/open/20140606/1121303-001A/EPISOD-1121303-001A-dd506935c8ec815a_,252,468,892,1584,2700,.mp4.csmil/index_4_av.m3u8?null=" -acodec copy -vcodec copy -absf aac_adtstoasc ""
ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --arch=amd64 --disable-stripping --enable-avresample --enable-pthreads --enable-runtime-cpudetect --extra-version='7:1.2.6-1~trusty1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    53.  5.103 / 53.  5.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[h264 @ 0x809660] non-existing SPS 0 referenced in buffering period
    Last message repeated 1 times
[mpegts @ 0x8286c0] max_analyze_duration 5000000 reached at 5000000 microseconds
[mpegts @ 0x8286c0] Could not find codec parameters for stream 2 (Unknown: none ([21][0][0][0] / 0x0015)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8286c0] Estimating duration from bitrate, this may be inaccurate
[h264 @ 0xd5a600] non-existing SPS 0 referenced in buffering period
[hls,applehttp @ 0x7f92c0] max_analyze_duration 5000000 reached at 5000000 microseconds
[hls,applehttp @ 0x7f92c0] Could not find codec parameters for stream 2 (Unknown: none ([21][0][0][0] / 0x0015)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, hls,applehttp, from 'http://svtplay17s-f.akamaihd.net/i/se/open/20140606/1121303-001A/EPISOD-1121303-001A-dd506935c8ec815a_,252,468,892,1584,2700,.mp4.csmil/index_4_av.m3u8?null=':
  Duration: 01:47:32.00, start: 10.099667, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 12.50 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 96 kb/s
    Stream #0:2: Unknown: none ([21][0][0][0] / 0x0015)
[NULL @ 0xe51a60] Unable to find a suitable output format for ''
: Invalid argument