VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Hi,

    I spent hours yesterday reading lots about downloading and decrypting encrypted m3u8 files. I didn't know anything yesterday, but I feel like I've learned lots. I feel like I'm SO close to figuring this out but still don't know how


    This is the information I can find (if I'm correct):
    1. Video Link: https://happilyfamily.cdn.spotlightr.com/watch/MTI5NTE5NQ==
    2. Key link: https://s3-spotlightr-output.b-cdn.net/99128895/63f91e989061c253564338-720-e.m3u8.key
    3. Key hex: 26c320ad3928c5f5e87e07d0fa3350e5d7bd3bdcf7e8d01141 400df30c51bd19
    4. First few lines of M3u* file (1266 ts segments):
      #EXTM3U
      #EXT-X-VERSION:3
      #EXT-X-TARGETDURATION:3
      #EXT-X-MEDIA-SEQUENCE:0
      #EXT-X-KEY:METHOD=AES-128,URI="63f91e989061c253564338-720-e.m3u8.key",IV=0x00000000000000000000000000000000
      #EXTINF:3.203200,
      63f91e989061c253564338-720-0.ts

    I've tried several different tools to try to download the m3u8 segments: wget, ffmpeg, youtube-dl, but as I said, I only just started learning this yesterday, so I'm quite noob.

    If I use this command:
    ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i https://s3-spotlightr-output.b-cdn.net/99128895/63f91e989061c253564338-720-e.m3u8 -c copy -bsf:a aac_adtstoasc KidsVideo1.mp4
    It gets to the 4th ts segment then says "Error when loading first segment..." "Invalid data found when processing input".


    I suspect I'm either giving the wrong link or not using the ffmpeg commands correctly...

    Any help? I'm happy to do the steps myself, I just don't know what I'm missing

    Thank you very much! I appreciate it.
    Quote Quote  
  2. Originally Posted by Silv3r View Post
    Oh my goodness. Thank you so much! That is incredible. I've been trying for ages, just don't know this stuff yet.

    Can you explain your process, so I could do it for other videos too? I would be indebted to you.

    edit: PM me if that's preferable. Thank you!
    Quote Quote  
  3. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Code:
    N_m3u8DL-RE.exe https://s3-spotlightr-output.b-cdn.net/99128895/63f91e989061c253564338-720-e.m3u8 --custom-hls-key 61646635643065356463313166333139
    Subtitles can be found here (mux them later using mkvtoolnix):
    https://s3.amazonaws.com/spotlightr-output/99128895/assets/1686921062044_Oren_Jay_Sofe...Conference.vtt
    Quote Quote  
  4. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Code:
    N_m3u8DL-RE.exe https://s3-spotlightr-output.b-cdn.net/99128895/63f91e989061c253564338-720-e.m3u8 --custom-hls-key 61646635643065356463313166333139
    Subtitles can be found here (mux them later using mkvtoolnix):
    https://s3.amazonaws.com/spotlightr-output/99128895/assets/1686921062044_Oren_Jay_Sofe...Conference.vtt
    This is super helpful! Thank you!
    I will look into N_m3u8dl-re.
    How did you get the custom hls key? Is that something specific to the video, so it would be different for different links?

    Thanks!
    Quote Quote  
  5. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by TickTank View Post
    This is super helpful! Thank you!
    I will look into N_m3u8dl-re.
    How did you get the custom hls key? Is that something specific to the video, so it would be different for different links?

    Thanks!
    Remove -e from key
    Quote Quote  
  6. I ended up using Stream Recorder extension in capture mode; it suits my needs and it was easier than anything else.

    Thanks for your help!
    Quote Quote  
  7. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Apparently you don't even need to decrypt. Just remove -e from the m3u8 and it works. You ignore the other encrypted stream.
    Code:
    yt-dlp.exe https://s3-spotlightr-output.b-cdn.net/99128895/63f91e989061c253564338-720.m3u8
    Quote Quote  



Similar Threads

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