VideoHelp Forum
Closed Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Feb 2019
    Location
    Bangladesh
    Search Comp PM
    I am trying to download a video from http://tiny.cc/h2qg3y
    It is video stream with HLS AES128 encryption.
    I have downloaded the whole 720p.ts file. But I can't play it at all. I have tried to decrypt using ffmpeg.

    The m3u8 file is here https://vod.bioscopelive.com/vod/vod/3/P/3P6E5iSCIrl/3P6E5iSCIrl_720p.m3u8

    Code:
    ffmpeg -allowed_extensions ALL -i "3P6E5iSCIrl_720p.m3u8" -vcodec
    copy -acodec copy -absf aac_adtstoasc "3P6E5iSCIrl_720p.mp4" 
    ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
      built with gcc 8.2.1 (GCC) 20181017
      configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi
    g --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-lib
    freetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amr
    wb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --
    enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-l
    ibwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --
    enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --en
    able-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --en
    able-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --e
    nable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enab
    le-avisynth
      libavutil      56. 22.100 / 56. 22.100
      libavcodec     58. 35.100 / 58. 35.100
      libavformat    58. 20.100 / 58. 20.100
      libavdevice    58.  5.100 / 58.  5.100
      libavfilter     7. 40.101 /  7. 40.101
      libswscale      5.  3.100 /  5.  3.100
      libswresample   3.  3.100 /  3.  3.100
      libpostproc    55.  3.100 / 55.  3.100
    [hls,applehttp @ 03cff580] Opening '//s3-ap-southeast-1.amazonaws.com/bongo-key/
    keys/encryption2.key' for reading
    Unable to open key file //s3-ap-southeast-1.amazonaws.com/bongo-key/keys/encrypt
    ion2.key
    [hls,applehttp @ 03cff580] Opening 'crypto:3P6E5iSCIrl_720p.ts' for reading
    [hls,applehttp @ 03cff580] Error when loading first segment '3P6E5iSCIrl_720p.ts
    '
    3P6E5iSCIrl_720p.m3u8: Invalid data found when processing input
    I can't access the encryption2.key but the browser can easily read the file and play the video.
    My question is that how can I download the key file . When I paste the url s3-ap-southeast-1.amazonaws.com/bongo-key/keys/encrypt
    ion2.key
    it says cant access the page. But the video plays smooth in the browser in a JW or similar player.
    Last edited by Bibagi; 22nd Feb 2019 at 03:43.

  2. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Need to pass cookies to a download tool,but the site requires authorization,cannot access the embeded video.

  3. Member
    Join Date
    Feb 2019
    Location
    Bangladesh
    Search Comp PM
    Originally Posted by Sviests View Post
    Need to pass cookies to a download tool,but the site requires authorization,cannot access the embeded video.
    Thanks for your reply. Embedded video may have regional restriction. If u please tell me more about passing cookies to a to a download tool, how to do that or how can I extract encryption key from that, will be of great help.

  4. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    READ THE FORUM RULES.

    Scott

  5. Member
    Join Date
    Feb 2019
    Location
    Bangladesh
    Search Comp PM
    If anyone can give idea how to intercept the key that can be accessed by JW player but not by URL.

  6. Member
    Join Date
    Mar 2019
    Location
    Germany
    Search PM
    Originally Posted by Bibagi View Post
    If anyone can give idea how to intercept the key that can be accessed by JW player but not by URL.
    That's because you did not include a header option. I used streamlink and could download it with the following command:
    Code:
    streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 AOL/9.8 AOLBuild/4346.2019.US Safari/537.36" --http-header "Referer=https://www.bioscopelive.com/en/watch?v=3P6E5iSCIrl" "hlsvariant://https://vod.bioscopelive.com/vod/vod/3/P/3P6E5iSCIrl/3P6E5iSCIrl_720p.m3u8" best -o output.ts

  7. Member
    Join Date
    Feb 2019
    Location
    Bangladesh
    Search Comp PM
    Thanks hvq I will definitely try it.

  8. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Bibagi-Please do not ask for help on downloading videos from subscription sites,this against forum rules,this thread is closed.
    I think,therefore i am a hamster.




Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!