VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hi all,

    A little new at this, so just need a little help pointing me in the right direction.

    I'm trying to download a few episodes of Grand Design's Finland for example: https://www.mtv.fi/video/0283d75c6a72578e6642/jakso-2-ylellisyytta-lempaalassa - access to the website/stream is free via a free login.

    I've been able to figure out the url for the .m3u8 which is here https://vod.streaming.a2d.tv/f44ced16-5636-46a7-ba74-aa1f3a58f436/df41d8a0-7744-11ee-8...?start_index=3

    And if I use yt-dlp on that url with --allow-unplayable-formats I get what appears to be a video mp4 and audio mp4

    I've obtained the decryption key, which does work on the video file using mp4decrypt --key <key> vid.mp4 vid-d.mp4 , however when I try to do the same on the audio mp4, it doesn't do any processing, spits out a new audio file, but when I play it, there's no sound at all.

    Any ideas what i'm doing wrong? does the audio file somehow have a different decryption key? or is yt-dlp downloading/creating the audio file incorrectly?

    Any help is appreciated, thanks!
    Quote Quote  
  2. not tested, but i think 1 key for video and 1 for audio

    if your streaming service it's free, share here login data

    also share pssh and your key found (with l3.py ? or ... ? )
    Quote Quote  
  3. Hi, appreciate your reply, I was thinking maybe there might be another key, but couldn't find one from the EME data, i'm guessing it might show up elsewhere.

    You're welcome to login and have a look to see if you can figure it out for me, user account is
    Code:
    l: altanderson@gmail.com
    p: V3%r%3Ei3qQR&tS
    Website is in Finnish, but you should be able to figure it out without google translate.

    I got the PSSH from here

    Code:
    [EME] MediaKeySession::generateRequest
        Session ID: (not available)
        Init Data Type: cenc
        Init Data: AAAAdXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFUSEJmQomaA+T4JpVq/NacNgGUaCGNhc3RsYWJzIihleUpoYzNObGRFbGtJam9pZEhadFpXUnBZUzB5TURNeE9EVTJOeUo5MgdkZWZhdWx0SPPGiZsG
    Key I got was

    Code:
    SUCCESS
    KID: 9990a26680f93e09a55abf35a70d8065
    
    License URL: https://lic46.drmtoday.com/license-proxy-widevine/cenc/?specConform=true&assetId=tvmedia-20318567
    
    Acquired At: 1/15/2024, 8:58:38 AM
    
    9990a26680f93e09a55abf35a70d8065:d8c905107605f0fd3d81aa71502c02d6
    Hopefully that's all for the right video, I was changing between a few trying different things.

    Thanks for your help!
    Last edited by ajd; 15th Jan 2024 at 05:54.
    Quote Quote  
  4. try using N_m3u8DL-RE & m3u8 edit to mpd
    Code:
    N_m3u8DL-RE -M format=mp4 --key 9990a26680f93e09a55abf35a70d8065:d8c905107605f0fd3d81aa71502c02d6 "https://vod.streaming.a2d.tv/f44ced16-5636-46a7-ba74-aa1f3a58f436/df41d8a0-7744-11ee-8015-01dadb48e460_20318567.ism/.mpd" --save-name video
    Quote Quote  
  5. You have the correct key, but you need to use shaka-packager instead of mp4decrypt:

    Code:
    packager --enable_raw_key_decryption --keys key_id=9990a26680f93e09a55abf35a70d8065:key=d8c905107605f0fd3d81aa71502c02d6 stream=video,in=video_enc.mp4,output=video_dec.mp4
    Combine it with N_m3u8DL-RE for a much smoother process:
    Code:
    N_m3u8DL-RE --key 9990a26680f93e09a55abf35a70d8065:d8c905107605f0fd3d81aa71502c02d6 "https://vod.streaming.a2d.tv/f44ced16-5636-46a7-ba74-aa1f3a58f436/df41d8a0-7744-11ee-8015-01dadb48e460_20318567.ism/.m3u8?start_index=3" --use-shaka-packager
    Quote Quote  
  6. Awesome, thanks jckzz and stabbedbybrick! Got it all working now Appreciate your help.
    Quote Quote  
  7. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Originally Posted by ajd View Post
    I've obtained the decryption key, which does work on the video file using mp4decrypt --key <key> vid.mp4 vid-d.mp4 , however when I try to do the same on the audio mp4, it doesn't do any processing, spits out a new audio file, but when I play it, there's no sound at all.
    It works for mp4decrypt if you do --key TRACKID:KEY instead of KID:KEY. I extracted the audio, checked with mediainfo,that trackID for audio is 1 (i've seen sometimes it being 2 or 4).
    Input:
    mp4decrypt --key 1:d8c905107605f0fd3d81aa71502c02d6 audio.m4a audio_decr.m4a
    And it plays the audio just fine.
    Quote Quote  
  8. Thanks Sviests, I didn't know you could do that with mp4decrypt.
    Quote Quote  
  9. Hi everyone, I have a similar problem but with AMZN, the video is all ok but the audio is not working, can anyone give me a suggestion? Thanks
    Image Attached Thumbnails Click image for larger version

Name:	Cattura.JPG
Views:	9
Size:	83.1 KB
ID:	85425  

    Image Attached Files
    Quote Quote  



Similar Threads

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