VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker or buy PlayOn and record Netflix! :)
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Member
    Join Date
    Oct 2017
    Location
    Tristan de Cunha
    Search PM
    I'm trying to download the video below to watch it offline with VLC.
    The command:

    ffmpeg -i <playlist_url> vid.ts

    Fails with:

    https://d29wqw6en9quy3.cloudfront.net/BSIL-1r1/hls_8500_.m3u8: Unknown error

    This is how the relevant div looks:

    HTML Code:
    <div id="wpfp_b8c6c2fa01cd6da153993f1a04ea4edf" data-item="{sources:[{src:https:\/\/d29wqw6en9quy3.cloudfront.net\/BSIL-1r1\/index.m3u8,type:application\/x-mpegurl}]}" class="flowplayer no-brand fvp-play-button is-fv-narrow is-ready is-long chrome55fix is-paused is-mouseout" data-embed="false" style="max-width: 640px; max-height: 360px;" data-analytics="UA-91148563-5" data-ratio="0.5625" data-advance="false" data-fvhkey="true" data-flowplayer-instance-id="0">
    I've taken a quick look at the contents of the m3u8 and it seems a bit unusual to me, either way I haven't been able to download it... any thoughts?
    In my attempts I've passed both index.m3u8 as well as hls_8500.m3u8 to ffmpeg but always same error..
    Quote Quote  
  2. Member
    Join Date
    Oct 2017
    Location
    Tristan de Cunha
    Search PM
    No thoughts?
    Quote Quote  
  3. Former Member
    Join Date
    May 2014
    Search PM
    It is not unusual at all.

    When the index.m3u8 url is called (at the time of playing the video), it should either have some parameters, cookie(s), or header values that allow the key to be downloaded.

    Without those values, the key won't be accessible.
    Quote Quote  
  4. Member
    Join Date
    Oct 2017
    Location
    Tristan de Cunha
    Search PM
    So how do I work with it?
    Quote Quote  
  5. Like ponens said, the key can only be downloaded with some cookies. So you need to download it first. You just have to launch the video while you are logged in, and then download the key from this link. Then, edit the playlist and replace the URI link by the name of the key file, download all the .ts and copy them into one folder. Execute the ffmpeg command and it should work
    Quote Quote  
  6. Member
    Join Date
    Oct 2017
    Location
    Tristan de Cunha
    Search PM
    If I copy and paste the key link into a new browser tab, while the video is running, all I get is a blank page... right-clicking on it and then "save link as.." still gives me nothing..

    Clearly I'm a novice, trying to learn as much as possible as I go...
    Quote Quote  
  7. I advise you to download the playlist file, it will be easier for ffmpeg.
    Now when I execute the command "ffmpeg -allowed_extensions ALL -protocol_whitelist "file,http,https,tcp,tls,crypto" -i "hls_8500_.m3u8" -c copy output.ts" I got this error: "Unable to read key file https://my.metodomerenda.com/?fv_player_hls_key=BSIL-1r1 ... This seems very unusual, AES encryption with an empty key but with an iv...
    Quote Quote  
  8. Member
    Join Date
    Oct 2017
    Location
    Tristan de Cunha
    Search PM
    Originally Posted by Pozz View Post
    I advise you to download the playlist file, it will be easier for ffmpeg.
    Now when I execute the command "ffmpeg -allowed_extensions ALL -protocol_whitelist "file,http,https,tcp,tls,crypto" -i "hls_8500_.m3u8" -c copy output.ts" I got this error: "Unable to read key file https://my.metodomerenda.com/?fv_player_hls_key=BSIL-1r1 ... This seems very unusual, AES encryption with an empty key but with an iv...
    I tried using your example and I also get "unable to open key file".
    What gives?
    Quote Quote  
  9. Former Member
    Join Date
    May 2014
    Search PM
    Originally Posted by Pozz View Post
    This seems very unusual, AES encryption with an empty key but with an iv...
    Why is it unusual? The IV is in the m3u8 playlist - which is able to be downloaded, so its value is present.

    But the key is not able to be downloaded, so it is empty.

    What else could happen?
    Quote Quote  
  10. Member
    Join Date
    Oct 2017
    Location
    Tristan de Cunha
    Search PM
    Originally Posted by ponens View Post
    Originally Posted by Pozz View Post
    This seems very unusual, AES encryption with an empty key but with an iv...
    Why is it unusual? The IV is in the m3u8 playlist - which is able to be downloaded, so its value is present.

    But the key is not able to be downloaded, so it is empty.

    What else could happen?
    What is the IV?
    Quote Quote  



Similar Threads