VideoHelp Forum
+ Reply to Thread
Page 2 of 3
FirstFirst 1 2 3 LastLast
Results 31 to 60 of 82
Thread
  1. Yt-dlp -F
    for all the formats
    Yt-dlp -f ID
    Change id with the audio you want for selective format

    You can join yt-dlp discord server free where many are more than happy to help you anytime.
    https://discord.gg/upxgfScnBt
    discord=notaghost9997
    Quote Quote  
  2. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Originally Posted by lomero View Post
    set VPN to japan then use yt-dlp to download
    Code:
    yt-dlp --allow-unplayable-formats https://vod-d-main-tokyo2020-nhk.akamaized.net/vod/3fcf654c-8c98-4189-ad98-acd8c3ed88c7/36c9317486934b7b941220b0c253e6c2.ism/ZXhwPTE2MjcyNDc3NzR%2bYWNsPSUyZnZvZCUyZjNmY2Y2NTRjLThjOTgtNDE4OS1hZDk4LWFjZDhjM2VkODhjNyUyZjM2YzkzMTc0ODY5MzRiN2I5NDEyMjBiMGMyNTNlNmMyLmlzbSUyZip%2baG1hYz1mZDhjMjNjZmZmNzdhOTRhODUwNTk5MjU3YzZkM2EwNThkNWE3YThiYzE1NDFhNDBjOGUyZWE0NWZlNDlkN2Rk/manifest(format=mpd-time-csf,filter=norobo,encryption=cenc)
    then use this:
    Code:
    KEY: 462ec1033eab4a08b249a33671561a0c:7deb97961102974cbc4b2ac9d4419b84
    I tried the first command with yt-dlp but it is not working, i'm getting HTTP Error 403: Forbidden

    And how do you use the keys with yt-dlp? in other words, if we have the keys, how can we use them to download with yt-dlp?
    Last edited by Videoer; 1st Aug 2021 at 06:50.
    Quote Quote  
  3. Originally Posted by Videoer View Post
    And how do you use the keys with yt-dlp? in other words, if we have the keys, how can we use them to download with yt-dlp?
    Keys are for decryption after you download the encrypted video/audio.
    And it is not done with yt-dlp, rather with bento4's mp4decrypt.exe
    Quote Quote  
  4. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Originally Posted by [ss]vegeta View Post
    Originally Posted by Videoer View Post
    And how do you use the keys with yt-dlp? in other words, if we have the keys, how can we use them to download with yt-dlp?
    Keys are for decryption after you download the encrypted video/audio.
    And it is not done with yt-dlp, rather with bento4's mp4decrypt.exe
    I misunderstood, because i thought some videos are unable to be downloaded with popular downloaders like yt-dl and that's why i assumed we need keys to be able to download.

    But i'm still confused a bit, if i'm unable to download from the site above (sports.nhk.or.jp) using IDM or yt-dlp, does that mean the video is undownloadable or does that mean wv keys are needed first or anything?
    Quote Quote  
  5. I write this
    Originally Posted by [ss]vegeta View Post
    Keys are for decryption after you download the encrypted video/audio.
    and then you ask this
    Originally Posted by Videoer View Post
    or does that mean wv keys are needed first or anything?
    There's no such thing as undownloadable video when it can be played in a browser, wiser men have said.

    If yt-dlp gives you 403, it means it needs more parameteres like user agent, referrer and whatnot or maybe another url.
    Quote Quote  
  6. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Hmm, let's try more
    Quote Quote  
  7. no. yt-dlp not required other parameters. follow my code above.
    now not work because you need fresh mpd. expired fast.
    need VPN japan to play and download.

    so, when you have download your video, use mp4decrypter with key above to decrypt video (audio included)
    Quote Quote  
  8. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Originally Posted by lomero View Post
    no. yt-dlp not required other parameters. follow my code above.
    now not work because you need fresh mpd. expired fast.
    need VPN japan to play and download.

    so, when you have download your video, use mp4decrypter with key above to decrypt video (audio included)
    I will try to get a fresh mpd

    I also see that you added filter=norobo,encryption=cenc at the end of the command, what is norobo and cenc? i couldm't find any info on yt-dlp's website
    Quote Quote  
  9. my god. you want things bigger than you...
    write here your video link
    Quote Quote  
  10. Originally Posted by Videoer View Post
    what is norobo and cenc? i couldm't find any info on yt-dlp's website
    He didn't write those, they are just part of the url.
    Quote Quote  
  11. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Originally Posted by lomero View Post
    no. yt-dlp not required other parameters. follow my code above.
    now not work because you need fresh mpd. expired fast.
    need VPN japan to play and download.

    so, when you have download your video, use mp4decrypter with key above to decrypt video (audio included)
    I understand, but how can i find a new mpd link for this video? https://en.sports.nhk.or.jp/olympic/highlights/content/36c93174-8693-4b7b-9412-20b0c253e6c2/
    Quote Quote  
  12. you need VPN japan to play video
    then if you open dev tool to search mpd video stops then you need external sniffer to capture http traffic. search on google how to.

    when you have found mpd: (now is)
    Code:
    https://vod-d-main-tokyo2020-nhk.akamaized.net/vod/3fcf654c-8c98-4189-ad98-acd8c3ed88c7/36c9317486934b7b941220b0c253e6c2.ism/ZXhwPTE2Mjc4NjYzMTB%2bYWNsPSUyZnZvZCUyZjNmY2Y2NTRjLThjOTgtNDE4OS1hZDk4LWFjZDhjM2VkODhjNyUyZjM2YzkzMTc0ODY5MzRiN2I5NDEyMjBiMGMyNTNlNmMyLmlzbSUyZip%2baG1hYz02NjgyMmQ4M2I0NTdmZTkzZWMxNjgzYzM3YWFiYzFhMDk0OWY0MTEzY2YxMzI4MjQ2YzUwNjYyYzE3Nzc0YWNm/manifest(format=mpd-time-csf,filter=norobo,encryption=cenc)
    (but this expired fast. you need new fresh mpd)

    put on yt-dlp (always with VPN active)
    Code:
    yt-dlp --allow-unplayable-formats https://vod-d-main-tokyo2020-nhk.akamaized.net/vod/3fcf654c-8c98-4189-ad98-acd8c3ed88c7/36c9317486934b7b941220b0c253e6c2.ism/ZXhwPTE2Mjc4NjYzMTB%2bYWNsPSUyZnZvZCUyZjNmY2Y2NTRjLThjOTgtNDE4OS1hZDk4LWFjZDhjM2VkODhjNyUyZjM2YzkzMTc0ODY5MzRiN2I5NDEyMjBiMGMyNTNlNmMyLmlzbSUyZip%2baG1hYz02NjgyMmQ4M2I0NTdmZTkzZWMxNjgzYzM3YWFiYzFhMDk0OWY0MTEzY2YxMzI4MjQ2YzUwNjYyYzE3Nzc0YWNm/manifest(format=mpd-time-csf,filter=norobo,encryption=cenc)
    and download your video with audio.

    Image
    [Attachment 60141 - Click to enlarge]


    now all video is encrypted. use mp4decrypter to decrypt with:

    Code:
    462ec1033eab4a08b249a33671561a0c:7deb97961102974cbc4b2ac9d4419b84
    Quote Quote  
  13. Originally Posted by Videoer View Post
    I understand, but how can i find a new mpd link for this video? https://en.sports.nhk.or.jp/olympic/highlights/content/36c93174-8693-4b7b-9412-20b0c253e6c2/
    Usually with built-in developer tools of the browser.
    However, this site prevents you doing that.
    Therefore, you need external application that will intercept network traffic.
    You can try HTTP Debugger PRO.
    Quote Quote  
  14. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Thanks guys!

    yt-dlp downloaded an audio stream and a video stream, do they have to be merged first before i can decrypt or is there something wrong?

    Not sure why i got an mp4 and an m4a file?
    Quote Quote  
  15. Originally Posted by Videoer View Post
    Thanks guys!

    yt-dlp downloaded an audio stream and a video stream, do they have to be merged first before i can decrypt or is there something wrong?

    Not sure why i got an mp4 and an m4a file?
    m4a is audio
    mp4 is video

    Most of the times you need to decrypt video and audio separately, then merge them with ffmpeg.
    But sometimes, audio is not encrypted and you just need to decrypt video.

    Use mediainfo to see if the audio is encrypted, or simply try to play with VLC. If it plays fine, you don't need to decrypt it. If it plays weird noise, it is encrypted and needs to be decrypted.
    Quote Quote  
  16. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Yeah, the audio didn't play at all even if i click the play button so i knew it was encryped.

    Now i have decryped the audio and the video and muxed them with ffmpeg, this is a nightmare if you want to download and do this for multiple videos.

    Do you know if there is a kind of script or anything that can simplify this?
    Quote Quote  
  17. Originally Posted by SoYuKotoDa View Post
    Originally Posted by jgronwall View Post
    Dude right, all those amazing programs only run on windows.
    I am in the same situation, does this help?

    Look for:

    UNIX users (Linux, macOS, BSD) can also install the latest release one of the following ways
    Yeah I got it on my mac but still seems to not be able to download :/ HTTP Error 403: Forbidden
    Quote Quote  
  18. Originally Posted by Videoer View Post
    Do you know if there is a kind of script or anything that can simplify this?
    yes, we have. put link, download, get key, decrypt, and merge audio & video. all together.
    but is python script, need no video link, but token generated by server, and other some parameters. not easy for you.
    and however is not in share.
    Quote Quote  
  19. I am having troubles downloading a video. Here is what I tried:

    Video link:

    VPN : Japan

    Download with yt-dlp:
    Key:

    c6e3832808bd56b63738e89cdd0e35a3:f772989a9f852facd c1268bd548953f7
    Decryption with mp4decrypt:

    mp4decrypt --key c6e3832808bd56b63738e89cdd0e35a3:f772989a9f852facd c1268bd548953f7 encrypted_media.mp4 decrypted_media.mp4

    mp4decrypt --key c6e3832808bd56b63738e89cdd0e35a3:f772989a9f852facd c1268bd548953f7 encrypted_media.m4a decrypted_media.m4a
    What happens when trying to merge with ffmpeg:


    Can someone help me?
    Quote Quote  
  20. Originally Posted by SoYuKotoDa View Post
    Can someone help me?
    That's one long ass video.
    You probably haven't decrypted them properly.
    After decryption of video and audio, before ffmpeg, can you play the actual files?

    This is the key I'm getting for that video
    ece48b1f2095d34fb47c0798bb29d5f6 (KID=feb029e8546e4225b9eb99dd74e4a0f1)
    Quote Quote  
  21. yes SoYuKotoDa you have wrong key. to this decryption don't work properly.
    and anyway from your key (bad) c6e3832808bd56b63738e89cdd0e35a3:f772989a9f852facd c1268bd548953f7
    you have space here ...facd c126... key don't have space
    Quote Quote  
  22. Originally Posted by lomero View Post
    you have space here ...facd c126... key don't have space
    I think that's a bug on this forum.
    It sometimes creates spaces on itself.
    Let me try. I'm gonna copy without a space and paste it here, now

    c6e3832808bd56b63738e89cdd0e35a3:f772989a9f852facd c1268bd548953f7

    see, there's the space.
    ----------------------------------------------------------------
    Now I'm gonna test stuff.

    Including the : this string has 65 characters.

    If you copy the last 50 characters, no space

    63738e89cdd0e35a3:f772989a9f852facdc1268bd548953f7

    however, if you copy 1 more character, for a total of 51

    b63738e89cdd0e35a3:f772989a9f852facdc1268bd548953f 7

    the forum adds a space.
    ----------------------------------------------------------
    blajhg6520128495102350c2493539gfgrfgj34j3ngo49ncft 943n43lh9534ng3
    http://blajhg6520128495102350c2493539gfgrfgj34j3ngo49ncft943n43lh9534ng3

    So, yeah, unless it's an URL, I think this forum will add a space if you copy anything more than 50 characters that doesn't have a space.
    Last edited by [ss]vegeta; 2nd Aug 2021 at 11:50.
    Quote Quote  
  23. Originally Posted by [ss]vegeta View Post
    Originally Posted by SoYuKotoDa View Post
    Can someone help me?
    That's one long ass video.
    You probably haven't decrypted them properly.
    After decryption of video and audio, before ffmpeg, can you play the actual files?
    No, it doesn't play at all. That probably explains the weird video length.
    The real length is supposed to be between 04:53:26

    Originally Posted by [ss]vegeta View Post
    This is the key I'm getting for that video
    ece48b1f2095d34fb47c0798bb29d5f6 (KID=feb029e8546e4225b9eb99dd74e4a0f1)
    I tried decrypting again with this KID:Key, and it doesn't play either.
    Is the issue with the download?


    Success !!!

    With this key, I've managed to decrypt (decrypted file did not play), and merge audio and video (which plays. Everything is good)
    Last edited by SoYuKotoDa; 2nd Aug 2021 at 12:45. Reason: UPDATE
    Quote Quote  
  24. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    Tell me how long did it take for you to download the video? and did you use a VPN?
    Quote Quote  
  25. Originally Posted by SoYuKotoDa View Post
    Is the issue with the download?
    It could be but I think it's something else.
    Quote Quote  
  26. @ Videoer
    time to download...depends by your connection
    and yes, VPN is needed to download. from japan

    @ [ss]vegeta
    i think is not a forum bug. for this we need use code tag. if you paste simply, you have space. if you use code tag, don't have any space. try.

    @ SoYuKotoDa
    i think you use bad command to decrypt your video.
    you use this?
    Code:
    mp4decrypt --key <id>:<key> input_video.mp4 ouput_video.mp4
    Quote Quote  
  27. ok for SoYuKotoDa problem solved
    Quote Quote  
  28. Originally Posted by SoYuKotoDa View Post
    (decrypted file did not play)
    This can happen sometimes, depends on your player.
    VLC usually plays them before merging.
    But Potplayer sometimes doesn't.
    Quote Quote  
  29. @ [ss]vegeta, I think you are right about the space issue.

    The space appeared after the copy paste on here.
    I was careful about that.

    Thanks for the help lomero, vegeta!
    Last edited by SoYuKotoDa; 2nd Aug 2021 at 14:14.
    Quote Quote  
  30. i repeat: if you use code tag don't have any space. try yourself
    from toolbar above message (when write message) on advanced panel you see code tag.
    Quote Quote  



Similar Threads

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