View Single Post
  #1  
Old 09-24-2017, 03:05 PM
ratherbe ratherbe is offline
Junior Member
 
Join Date: Sep 2017
Posts: 2
ratherbe is on a distinguished road
Default

Downloading encrypted m3u8 (ffmpeg error) from Bioscope.tv


So I'm trying to download 1080p videos from this website that uses JWPlayer.

Link to example video: http://www.bioscopelive.com/en/watch?v=76PgzzlSKfk

So naturally I tried youtube-dl first, it decoded the .m3u8 file, fell back to ffmpeg to download it. And this error appeared:

Code:
youtube-dl http://www.bioscopelive.com/en/watch?v=76PgzzlSKfk
[generic] watch?v=76PgzzlSKfk: Requesting header
WARNING: Falling back on generic information extractor.
[generic] watch?v=76PgzzlSKfk: Downloading webpage
[generic] watch?v=76PgzzlSKfk: Extracting information
[generic] watch?v=76PgzzlSKfk: Downloading m3u8 information
[generic] watch?v=76PgzzlSKfk: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: Feluda - Sheyal Debota Rohossho - Episode 01-watchv=76PgzzlSKfk.mp4
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.37)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-vda
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[hls,applehttp @ 0x7fbfed000000] Opening 'http://s3-ap-southeast-1.amazonaws.com/bongo-key/keys/encryption2.key' for reading
[http @ 0x7fbfec412f20] HTTP error 403 Forbidden
Unable to open key file http://s3-ap-southeast-1.amazonaws.com/bongo-key/keys/encryption2.key
[hls,applehttp @ 0x7fbfed000000] Opening 'crypto+http://vod.bioscopelive.com/vod/vod/7/6/76PgzzlSKfk/76PgzzlSKfk_1080p.ts' for reading
[hls,applehttp @ 0x7fbfed000000] Error when loading first segment 'http://vod.bioscopelive.com/vod/vod/7/6/76PgzzlSKfk/76PgzzlSKfk_1080p.ts'
http://vod.bioscopelive.com/vod/vod/7/6/76PgzzlSKfk/76PgzzlSKfk_1080p.m3u8: Invalid data found when processing input


ERROR: ffmpeg exited with code 1

I also tried to get the .m3u8 from 'Source' in browser dev tools and ran it with ffmpeg to copy the stream.

This is the output:

Code:
ffmpeg -i "http://vod.bioscopelive.com/vod/vod/7/6/76PgzzlSKfk/76PgzzlSKfk_1080p.m3u8" -c copy video.ts
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.37)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-vda
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[hls,applehttp @ 0x7f9aa7800000] Opening 'http://s3-ap-southeast-1.amazonaws.com/bongo-key/keys/encryption2.key' for reading
[http @ 0x7f9aa660d100] HTTP error 403 Forbidden
Unable to open key file http://s3-ap-southeast-1.amazonaws.com/bongo-key/keys/encryption2.key
[hls,applehttp @ 0x7f9aa7800000] Opening 'crypto+http://vod.bioscopelive.com/vod/vod/7/6/76PgzzlSKfk/76PgzzlSKfk_1080p.ts' for reading
[hls,applehttp @ 0x7f9aa7800000] Error when loading first segment 'http://vod.bioscopelive.com/vod/vod/7/6/76PgzzlSKfk/76PgzzlSKfk_1080p.ts'
http://vod.bioscopelive.com/vod/vod/7/6/76PgzzlSKfk/76PgzzlSKfk_1080p.m3u8: Invalid data found when processing input

Is there any other way that I can download the video? Thanks!


Update 1: Using jDownloader and the .ts file , I downloaded a 1.76GB .ts file, but it won't open in any player, and has no MediaInfo.


No dice so far.

Last edited by ratherbe : 09-24-2017 at 03:29 PM. Reason: updated
Reply With Quote