VideoHelp Forum
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 35
Thread
  1. Hello.
    I'd like to drop the video below, but it doesn't work.

    ・ Original m3u8?
    https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/616098...aylist_wv.m3u8

    ・ A part of m3u8?
    https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/616098...nklist_wv.m3u8

    Can anyone please tell me the proper way?

    *******************************
    ・ What I investigated
    Delivery method: HLS + AES ...?

    Looking inside chunk ... m3u8, there was a place where the key URI was written in base64, so
    When I looked it up on a site called "PSSH Box Decoder", I was able to get two values ​​that seemed to be KID.

    The storage method I'm thinking of right now
    ① Save the live stream while decrypting it.
    ② Download the encrypted video and decrypt it later.
    I think there are two ways to do this.

    ・ Tried command
    ffmpeg -i "https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/6160987583001/playlist_wv.m3u8" -movflags faststart -c copy -bsf: a aac_adtstoasc test.mp4
    → No

    ffmpeg -allowed_extensions ALL -protocol_whitelist data, file, http, https, tcp, tls, crypto -i "https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/6160987583001/playlist_wv.m3u8" -movflag c copy -bsf: a aac_adtstoasc test.mp4 -decryption_key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    → No
    *******************************
    Quote Quote  
  2. Do us a favor. Kindly send the top url (the one from which you obtained the m3u8 url)
    Quote Quote  
  3. jack_666

    Thank you for your reply.
    The obtained URL is here.

    https://online.johnnys-net.jp/s/jno/page/live_player_test?ima=1303
    Quote Quote  
  4. Originally Posted by Starxx View Post
    I'd like to drop the video below, but it doesn't work.
    https://forum.videohelp.com/threads/402089-Need-help-downloading-HLS-AES-128-encrytped...eo#post2622259
    https://forum.videohelp.com/threads/401472-Try-To-Download-This-Video-P#post2616815

    Code:
    D:\video\>hlsdl.exe https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/6160987583001/playlist_wv.m3u8
    1: Bandwidth: 1118208, Resolution: 640x360, Codecs: avc1.4d401f,mp4a.40.2
    2: Bandwidth: 1937408, Resolution: 960x540, Codecs: avc1.4d4029,mp4a.40.2
    3: Bandwidth: 2654208, Resolution: 1280x720, Codecs: avc1.640029,mp4a.40.2
    4: Bandwidth: 6340608, Resolution: 1920x1080, Codecs: avc1.640032,mp4a.40.2
    Which Quality should be downloaded? 1
    > START media_playlist_get_links
    > END media_playlist_get_links
    HLS Stream is SAMPLE-AES encrypted.
    {"d_t":"live"}
    Downloading part 136435
    Warning: Unknown segment type!
    {"t_d":18,"d_d":6,"d_s":860446}
    Downloading part 136436
    > START DOWNLOAD LIST url[https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/6160987583001/playlist_wv.m3u8/../profile_3/chunklist_wv.m3u8]
    > END DOWNLOAD LIST
    > START media_playlist_get_links
    > END media_playlist_get_links
    Warning: Unknown segment type!
    {"t_d":24,"d_d":12,"d_s":1675668}
    Downloading part 136437
    can't find "key response"
    Last edited by mister_ nex; 24th Dec 2021 at 15:03.
    Quote Quote  
  5. Sample-AES is completely different to AES-128
    Quote Quote  
  6. Originally Posted by [ss]vegeta View Post
    How did you get it?
    Quote Quote  
  7. Originally Posted by saba View Post
    Originally Posted by [ss]vegeta View Post
    How did you get it?
    Manually.
    I downloaded the init, downloaded 3 segments, concatenated them, used EME logger to get pssh, used developer tools to get license url and headers, used Pywidevine to get keys, used mp4decrypt to decrypt.
    Quote Quote  
  8. Originally Posted by [ss]vegeta View Post
    vegeta

    Thank you
    I downloaded the video.

    Can I ask one question?
    Looking at the contents of the m3u8 file I downloaded, I found that the profile was "0 ~ 3".
    Apparently, "0" seems to be the highest quality 1920x1080 video, but can't I download it?
    Quote Quote  
  9. Originally Posted by mister_ nex View Post
    Originally Posted by Starxx View Post
    I'd like to drop the video below, but it doesn't work.
    https://forum.videohelp.com/threads/402089-Need-help-downloading-HLS-AES-128-encrytped...eo#post2622259
    https://forum.videohelp.com/threads/401472-Try-To-Download-This-Video-P#post2616815

    Code:
    D:\video\>hlsdl.exe https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/6160987583001/playlist_wv.m3u8
    1: Bandwidth: 1118208, Resolution: 640x360, Codecs: avc1.4d401f,mp4a.40.2
    2: Bandwidth: 1937408, Resolution: 960x540, Codecs: avc1.4d4029,mp4a.40.2
    3: Bandwidth: 2654208, Resolution: 1280x720, Codecs: avc1.640029,mp4a.40.2
    4: Bandwidth: 6340608, Resolution: 1920x1080, Codecs: avc1.640032,mp4a.40.2
    Which Quality should be downloaded? 1
    > START media_playlist_get_links
    > END media_playlist_get_links
    HLS Stream is SAMPLE-AES encrypted.
    {"d_t":"live"}
    Downloading part 136435
    Warning: Unknown segment type!
    {"t_d":18,"d_d":6,"d_s":860446}
    Downloading part 136436
    > START DOWNLOAD LIST url[https://smsalive1.akamaized.net/6aa87dd793bd4568a277df93fc815afd/ap-northeast-1/6160987583001/playlist_wv.m3u8/../profile_3/chunklist_wv.m3u8]
    > END DOWNLOAD LIST
    > START media_playlist_get_links
    > END media_playlist_get_links
    Warning: Unknown segment type!
    {"t_d":24,"d_d":12,"d_s":1675668}
    Downloading part 136437
    can't find "key response"
    mister_ nex

    Can't find it in "PSSH Box Decoder"?
    However, I don't know if the key I got is correct....
    Quote Quote  
  10. Originally Posted by codehound View Post
    Sample-AES is completely different to AES-128
    codehound

    I didn't study enough.
    Thank you very much for the useful information.
    Quote Quote  
  11. Originally Posted by Starxx View Post
    but can't I download it?
    Of course you can. Just change the resolution via the player and you'll get the chunks from profile 0 that start with c4bd...
    Quote Quote  
  12. Originally Posted by Starxx View Post
    Can't find it in "PSSH Box Decoder"?
    However, I don't know if the key I got is correct....
    Script from https://forum.videohelp.com/threads/401472-Try-To-Download-This-Video-P#post2616815

    does not fit your issue.
    Last edited by mister_ nex; 25th Dec 2021 at 08:43.
    Quote Quote  
  13. Originally Posted by [ss]vegeta View Post
    Originally Posted by saba View Post
    Originally Posted by [ss]vegeta View Post
    How did you get it?
    Manually.
    I downloaded the init, downloaded 3 segments, concatenated them, used EME logger to get pssh, used developer tools to get license url and headers, used Pywidevine to get keys, used mp4decrypt to decrypt.
    Thank you! I watched the video you posted before (https://streamable.com/umoszy) and tried the same process. But I couldn't use the website to find keys. Could you give me more hints to get keys about Pywidevine? How can I get them?
    Sorry for my beginner question
    Quote Quote  
  14. Originally Posted by [ss]vegeta View Post
    Originally Posted by Starxx View Post
    but can't I download it?
    Of course you can. Just change the resolution via the player and you'll get the chunks from profile 0 that start with c4bd...
    vegeta

    Thank you
    I was able to find c4bd ...

    How to save the video
    There was a statement that "download and concatenate the init file and segment file (c4bd ..)".
    Is "concat" suitable as a method?
    Also, I recognize that the number of segment files will continue to increase during live distribution,
    Do you mean to keep saving segments with ffmpeg and concatenate all segments and ini files after delivery?

    I'm sorry for all the questions
    I would appreciate it if you could tell me.
    Quote Quote  
  15. Originally Posted by Starxx View Post
    Is "concat" suitable as a method?
    I don't know, I used type command on Windows.
    Code:
    type init.mp4 1.m4s 2.m4s 3.m4s > vid.mp4
    Originally Posted by Starxx View Post
    Also, I recognize that the number of segment files will continue to increase during live distribution,
    Do you mean to keep saving segments with ffmpeg and concatenate all segments and ini files after delivery?
    Of course it's better that you do it automatically, but I think regular programs are gonna have troubles with this site because it doesn't seem to be like others. It uses m3u8 with Widevine which is not that regular.
    Also, getting live widevine protected content is not something that is public knowledge, it has been asked few times here.
    Quote Quote  
  16. Originally Posted by [ss]vegeta View Post
    Originally Posted by saba View Post
    Originally Posted by [ss]vegeta View Post
    How did you get it?
    Manually.
    I downloaded the init, downloaded 3 segments, concatenated them, used EME logger to get pssh, used developer tools to get license url and headers, used Pywidevine to get keys, used mp4decrypt to decrypt.
    When you reference concat, are you using a tool or a simple binary concat with copy command etc?

    Disregard answered in next reply.
    Last edited by mostyle; 27th Dec 2021 at 08:44. Reason: answered in next reply
    Quote Quote  
  17. Originally Posted by [ss]vegeta View Post
    Originally Posted by Starxx View Post
    Is "concat" suitable as a method?
    I don't know, I used type command on Windows.
    Code:
    type init.mp4 1.m4s 2.m4s 3.m4s > vid.mp4
    OK.
    Try joining with that command.

    Originally Posted by Starxx View Post
    Also, I recognize that the number of segment files will continue to increase during live distribution,
    Do you mean to keep saving segments with ffmpeg and concatenate all segments and ini files after delivery?
    Of course it's better that you do it automatically, but I think regular programs are gonna have troubles with this site because it doesn't seem to be like others. It uses m3u8 with Widevine which is not that regular.
    Also, getting live widevine protected content is not something that is public knowledge, it has been asked few times here.
    Thank you for the hint.
    I have previously downloaded a widevine protected video.
    At that time, I was able to find the "MPD file", so I saved it according to the following procedure.

    ① Copy the URL of the MPD file from the developer tools.
    ② Download protected video and audio using ytdlp.
    ③ Get "key" and "KID" from the console.
    ④ Cancel DRM with "mp4 decrypt".
    ⑤ Combine the video and audio that have been unprotected with "ffmpeg".

    This time, I copied the URL of m3u8 instead of the MPD file and executed the command.
    Then the following error will occur.
    Image
    [Attachment 62585 - Click to enlarge]

    I also searched this forum, but I couldn't get the results I expected.
    Could you give me some hints that will be the keywords for your search?
    Quote Quote  
  18. yt-dl is dead. better yt-dlp
    and add -o video.%(ext)s
    at end of your string

    Code:
    yt-dlp --allow-u https://----m3u8 -o video.%(ext)s
    Quote Quote  
  19. Originally Posted by lomero View Post
    yt-dl is dead. better yt-dlp
    and add -o video.%(ext)s
    at end of your string

    Code:
    yt-dlp --allow-u https://----m3u8 -o video.%(ext)s
    lomero

    Thank you.
    I was able to download the protected video file.
    (The audio file and the video file are combined from the beginning ...?)

    After that, I feel like I can see it if I remove the protection of the video.
    Quote Quote  
  20. Originally Posted by Starxx View Post
    The audio file and the video file are combined from the beginning ...?
    depends. if the video is not protected, a single file is downloaded (video + file)
    instead if your video is protected, at the end you have 2 separate tracks, which must then be decoded and then joined with ffmpeg


    Originally Posted by Starxx View Post
    After that, I feel like I can see it if I remove the protection of the video
    yes, so it is. but you need to have a key to decrypt ...
    Quote Quote  
  21. Originally Posted by lomero View Post
    Originally Posted by Starxx View Post
    The audio file and the video file are combined from the beginning ...?
    depends. if the video is not protected, a single file is downloaded (video + file)
    instead if your video is protected, at the end you have 2 separate tracks, which must then be decoded and then joined with ffmpeg
    Thank you.
    Only one video file could be downloaded with the command you taught me.
    (If you look at the properties, "Protection" is "Yes")
    Does this mean that I also need to download protected audio files separately?

    Originally Posted by lomero View Post
    Originally Posted by Starxx View Post
    After that, I feel like I can see it if I remove the protection of the video
    yes, so it is. but you need to have a key to decrypt ...
    OK.
    I'm trying to get the key in the thread here as vegeta taught me, but it seems a bit difficult for me.
    I need to find out a little more myself.
    Quote Quote  
  22. it's not your choice ...
    if yt-dlp found one video protected with drm, he download one track video and one track audio, separate. which then must both be decrypted and then joined.
    instead if the video is not protected, yt-dlp download and then merge video + audio to only one single file.
    Quote Quote  
  23. Anonymous84
    Guest
    --
    Last edited by Anonymous84; 8th May 2024 at 17:57. Reason: --
    Quote Quote  
  24. Originally Posted by tuskacz View Post
    it's not dead, works well on my PC
    Indeed, it seems like it got updated 12 days ago. Before that, it was "dead" because it wasn't updated for 6 months, and it was bound to fail on many sites or have problems.
    Quote Quote  
  25. Originally Posted by lomero View Post
    it's not your choice ...
    if yt-dlp found one video protected with drm, he download one track video and one track audio, separate. which then must both be decrypted and then joined.
    instead if the video is not protected, yt-dlp download and then merge video + audio to only one single file.
    Code:
    yt-dlp --allow-u https://----m3u8 -o video.%(ext)s
    Here is the result of executing this command.

    Image
    [Attachment 62641 - Click to enlarge]


    Only "video.mp4" is saved. Is the command wrong?
    ??
    Quote Quote  
  26. post too long ...
    what is video link? and maybe you have download ads only ... wait to play right video before rip m3u8 link
    Quote Quote  
  27. Hello, Can anyone help me with downloading m3u8 file from disneyplus

    I used this code:

    N_m3u8DL-RE.exe --header "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" --header "referer: https://disneyplus.com/" V.m3u8

    for downloading but I'm getting this error:

    Image
    [Attachment 73196 - Click to enlarge]


    There are 7 parts how to merge or idk how should they all must place in a folder?

    Thanks in advance
    Quote Quote  
  28. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    need m3u8 from disney link not from your pc
    Quote Quote  



Similar Threads

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