VideoHelp Forum
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. Hello all.
    Some months ago, I learned, thanks to your precious help, how to download and decrypt Mediaset Infinity video by myself.

    I already searched into the forum but didn't find an answer to my issue.

    Now I've having had, for maybe 2 months, an issue with the resolutions that are apparently decreased by Mediaset. I tell apparently because I found in a famous software for exchange of video and other files the same episode of my video example with the resolution of 1080 and not 720 as happens to me. So it means that someone is able to download at the full resolution. I suppose in Mediaset changed some parameters.

    My video example is this:
    Code:
    https://mediasetinfinity.mediaset.it/video/ifratellicorsaro/prima-puntata_F313135901000101 
    with key to decrypt 92d38b3f08dbd99c46ffd9a5eace6225:34edb8e20f1c7d7ea304aa8582bc4b72
    • if I use this command, I receive a 720px height video and not 1080
    Code:
    yt-dlp --allow-u https://vod06.msf.cdn.mediaset.net/farmunica/2024/09/1948849_191e06c35c1645/dashrcenc/hr_wv_mpl.mpd
    I see the mpd is not hd_hr_wv_mpl.mpd and traying with the hd_ before it, it doesn't open as it doesn't exist.
    • If I use this command:
    Code:
    yt-dlp --allow-u --cookies-from-browser chrome --list-formats https://mediasetinfinity.mediaset.it/video/ifratellicorsaro/prima-puntata_F313135901000101
    I receive lowest resolution than previous point as the attached screenshot

    Image
    [Attachment 82304 - Click to enlarge]


    And if I download with the command:
    Code:
    yt-dlp --allow-u --cookies-from-browser chrome -f dash-1_3-0 https://mediasetinfinity.mediaset.it/video/ifratellicorsaro/prima-puntata_F313135901000101
    I receive a file with height of 576px but the same size and bitrate as the file with height of 720px of the previous point


    So my question is how can I get the maximum resolution and bitrate like I was able to do before?

    Thanks in advance.

    EDIT:
    I attach as well the screens from Mediainfo of the 2 files

    Image
    [Attachment 82305 - Click to enlarge]


    Image
    [Attachment 82306 - Click to enlarge]
    Last edited by alba77; 18th Sep 2024 at 17:23. Reason: update of infos
    Quote Quote  
  2. Edit - I updated main message and can't delete this empty one. Sorry
    Quote Quote  
  3. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Code:
    N_m3u8DL-RE "https://vod06.msf.cdn.mediaset.net/farmunica/2024/09/1948849_191e06c35c1645/dashrcenc/hd_wv_mpl.mpd" --key 92d38b3f08dbd99c46ffd9a5eace6225:34edb8e20f1c7d7ea304aa8582bc4b72 -M format=mkv
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  4. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by alba77 View Post
    Code:
    yt-dlp --allow-u https://vod06.msf.cdn.mediaset.net/farmunica/2024/09/1948849_191e06c35c1645/dashrcenc/hr_wv_mpl.mpd
    I see the mpd is not hd_hr_wv_mpl.mpd and traying with the hd_ before it, it doesn't open as it doesn't exist.
    In the manifest url (try, it may fail) replace 'hr' by 'hd'.
    The new manifest become the one pepe send :
    Code:
    https://vod06.msf.cdn.mediaset.net/farmunica/2024/09/1948849_191e06c35c1645/dashrcenc/hd_wv_mpl.mpd
    Quote Quote  
  5. Thank you very much for the replays

    Originally Posted by aqzs View Post
    Originally Posted by alba77 View Post
    Code:
    yt-dlp --allow-u https://vod06.msf.cdn.mediaset.net/farmunica/2024/09/1948849_191e06c35c1645/dashrcenc/hr_wv_mpl.mpd
    I see the mpd is not hd_hr_wv_mpl.mpd and traying with the hd_ before it, it doesn't open as it doesn't exist.
    In the manifest url (try, it may fail) replace 'hr' by 'hd'.
    The new manifest become the one pepe send :
    Code:
    https://vod06.msf.cdn.mediaset.net/farmunica/2024/09/1948849_191e06c35c1645/dashrcenc/hd_wv_mpl.mpd
    Thank you very much of making me notice to replace hr with hd instead of adding had at the beginning.

    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Code:
    N_m3u8DL-RE "https://vod06.msf.cdn.mediaset.net/farmunica/2024/09/1948849_191e06c35c1645/dashrcenc/hd_wv_mpl.mpd" --key 92d38b3f08dbd99c46ffd9a5eace6225:34edb8e20f1c7d7ea304aa8582bc4b72 -M format=mkv
    Thanks a lot for this “new” for me command. I suppose it works with the newest versions of N_m3u8DL-RE. I tried also in a folder wit al older version and it doesn’t work but with the new one it does. It’s al wee very fast to download at the maximum speed (for me 100mps because I have the fiber 10000) and not like before at 1 mbps
    All is well until it downloads both audio and video files.
    Strangely it doesn’t decrypt correctly the video and the audio not at all.

    Image
    [Attachment 82364 - Click to enlarge]


    It’s not an error of the key because after I tested to decrypt with like the example of the command with the exact values
    Code:
    mp4decrypt --key 000000 video.mp4 video_dec.mp4
    and it worked with the same key

    Image
    [Attachment 82366 - Click to enlarge]


    Image
    [Attachment 82365 - Click to enlarge]


    And after I use to merge to one file with the command, I’ve been using used or if more audio files with Mkv Tool Nix
    Code:
    mp4decrypt --key 000000 video.mp4 video_dec.mp4
    ffmpeg -i video_dec.mp4 -i audio_dec.m4a -c copy final_video.mp4

    The situation is the same with other videos I tested. Maybe the command
    Code:
    N_m3u8DL-RE "link_MPD" --key 000000 -M format=mkv
    is incomplete in some parts
    I also tried
    Code:
    N_m3u8DL-RE "link_MPD" --key 000000 -M format=mm4
    and it’s the same

    However, I appreciate a lot the possibility to launch only one command and to have the video out. Can you please help me with the decryption issue? Maybe I have to use another version of N_m3u8DL-RE
    If I launch the N_m3u8DL-RE –version I receive 0.2.1+e9b6c9f3c31d648cb259c700e5c519102a5bb9cc instead the name of the .zip I downloaded is this "N_m3u8DL-RE_Beta_win-x64_20240828"

    Thanks again for the precious help you give me.
    Last edited by alba77; 20th Sep 2024 at 06:22.
    Quote Quote  
  6. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by alba77 View Post
    Strangely it doesn’t decrypt correctly the video and the audio not at all.
    For me N_m3u8DL-RE works in windows 11. Make sure you download and put in same folder the following:
    - N_m3u8DL-RE
    - ffmpeg
    - mp4decrypt

    Then you run the N_m3u8DL-RE command in that folder. I have no idea what version they're at, just use the latest. If you can't figure it out, I think it's easier if you stick to yt-dlp/mp4decrypt. You can always convert N_m3u8DL-RE commands to yt-dlp
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  7. Very strange
    I use windows 11 too.
    The versions I use were downloaded on Sep 18

    The only one I don’t know which one to use is FFMPEG.
    There are 4 different downloads.
    I attach a screen here. Please indicate me which one to download.

    Quote Quote  
  8. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    I picked the first one that worked for me and didn't bother with others. btbn
    https://github.com/BtbN/FFmpeg-Builds/releases

    Try gpl.zip
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  9. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    I picked the first one that worked for me and didn't bother with others. btbn
    https://github.com/BtbN/FFmpeg-Builds/releases

    Try gpl.zip
    Nothing to do:
    I used the version you suggested me. After I use the prompt of commands and not Terminal
    It doesn't decrypt

    The link of the test file, the mpd, the key and command are

    HTML Code:
    https://mediasetinfinity.mediaset.it/video/planetearthiiilemeravigliedellanatura/ep-3-foresteterre-estremeumani_F311797403000101
    
    https://vod06.msf.cdn.mediaset.net/farmunica/2024/08/1934751_191a2a0ace6d01/dashrcenc/hd_wv_mpl.mpd
    
    
    e8b96e1d6fb424b45b1e6fd36599088e:b1ab7fbb50d5c896d2389b5f26765c2c
    
    
    N_m3u8DL-RE "https://vod06.msf.cdn.mediaset.net/farmunica/2024/08/1934751_191a2a0ace6d01/dashrcenc/hd_wv_mpl.mpd" --key e8b96e1d6fb424b45b1e6fd36599088e:b1ab7fbb50d5c896d2389b5f26765c2c -M format=mkv
    Image
    [Attachment 82373 - Click to enlarge]


    Could be there some little mistake in the command?

    PS1: In the directory I have these executable files.

    Image
    [Attachment 82374 - Click to enlarge]


    PS2: To generate the key I use the <cencssh> string from the mpd file - for the file posted here my one is
    Code:
    AAAAU3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADMIARIQ6LluHW+0JLRbHm/TZZkIjhoNYW1hem9udHZjcmltZSIIdGFtX3Rlc3QqAlNEMgA=
    and in the console I search the getRawWidevine string and copy the url - my one is
    Code:
    https://widevine.entitlement.theplatform.eu/wv/web/ModularDrm/getRawWidevineLicense?releasePid=f6DeHPhBpr25&account=http%3A%2F%2Faccess.auth.theplatform.com%2Fdata%2FAccount%2F2702976343&schema=1.0&token=eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJtZWRpYXNldC1wcm9kL21lZGlhc2V0LXByb2QvYW5vbnltb3VzIiwiaXNzIjoiMSIsImV4cCI6MTcyNjg5OTAyNSwiaWF0IjoxNzI2ODEyNjI1MjA4LCJqdGkiOiJmNTFhZmUzNy04ZmU2LTQ4Y2QtODllYS0xNTZlNmE4NWZlNTMiLCJkaWQiOiJtZWRpYXNldC1wcm9kIiwidW5tIjoiYW5vbnltb3VzIiwiY3R4Ijoie1widXNlck5hbWVcIiA6IFwibWVkaWFzZXQtcHJvZC9hbm9ueW1vdXNcIiwgXCJmYWxsYmFja1wiOiBcInRydWVcIixcInR5cGVcIjpcInVucmVnaXN0ZXJlZFwiLFwiYXR0cmlidXRlc1wiOnsgXCJhcHBOYW1lXCI6IFwid2ViXCIsIFwiaGFzaFwiOiBcIjIreU1TbGlwRjNHbFhyUXFDdUx4enYvQXlEVzh2cndUdE16YWFPMHo2TU09XCJ9fVxuIiwib2lkIjoiMjcwMjk3NjM0MyJ9.oUTINOhHmma8AMB8hlnfIPSZhxXt2d7AOdDHq3-QUMYaXBVnaICXzjpF8fbZzNvwZsaIOyKJXB8G5ugN70jj1iRJBeu990mhIRic6F4GLjsVehSUpGrw3DhDikYv3InZ78jC3eEWS5i-b5IYOanr_F6jI5t7lqUV2HSX01xN_odCtpr4Afc_2fqPhxuUi4nPhLvlvcPbDCuxDbiHd0eiI0twH1csoSlh6cFUnGg1k_BUFUl4G2G8p2lC34RZ-1YcBb1iFxchxiSLrcscZJChY3yj7CsvBzZsyzELgERybLwhGbKvXCKrdTQlbrPvAbHKa45A5eyVgJO7J0uxt9FAIA
    After I go to keysdb dot net and I generate the key.
    Should I have to adopt another method do obtain the key for the command you suggested me?
    Last edited by alba77; 20th Sep 2024 at 12:10.
    Quote Quote  
  10. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Code:
    N_m3u8DL-RE "https://vod06.msf.cdn.mediaset.net/farmunica/2024/08/1934751_191a2a0ace6d01/dashrcenc/hd_wv_mpl.mpd" --key e8b96e1d6fb424b45b1e6fd36599088e:b1ab7fbb50d5c896d2389b5f26765c2c -M format=mkv
    Image
    [Attachment 82375 - Click to enlarge]


    You could try shaka packagers instead of mp4decrypt. Download from here
    https://github.com/shaka-project/shaka-packager/releases

    packager-win-x64.exe and rename to shaka-packager.exe and put in same folder as others

    Then add parameter to your command
    Code:
    --use-shaka-packager
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  11. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Code:
    N_m3u8DL-RE "https://vod06.msf.cdn.mediaset.net/farmunica/2024/08/1934751_191a2a0ace6d01/dashrcenc/hd_wv_mpl.mpd" --key e8b96e1d6fb424b45b1e6fd36599088e:b1ab7fbb50d5c896d2389b5f26765c2c -M format=mkv
    Image
    [Attachment 82375 - Click to enlarge]


    You could try shaka packagers instead of mp4decrypt. Download from here
    https://github.com/shaka-project/shaka-packager/releases

    packager-win-x64.exe and rename to shaka-packager.exe and put in same folder as others

    Then add parameter to your command
    Code:
    --use-shaka-packager
    Yeahhh, thanks a lot.
    In this way it works.
    I tried to put --use-mp4decrypt but it doesn't work.
    So do you have an idea of what happened to make it work with shaka-packager and not with mp4decrypt?
    Quote Quote  
  12. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    No need for --use-mp4decrypt since that's used by default. There are some rare/random videos where shaka works and mp4decrypt doesn't. It should have worked for your video however. Here's a command from a random site
    Code:
    N_m3u8DL-RE.exe https://vcze131.cda.pl/1670449/1670449.mpd --key 65353534306438366535346135346161:39303439626631336363393537303934 -M format=mkv
    Check how it behaves with/without shaka. I have no idea why mp4decrypt didn't work for you. I guess you could check if you have an older mp4decrypt in your sistem env vars. Go to a random unrelated folder and type mp4decrypt in terminal. It should say command not recognized. If it recognizes it, then delete everything related to mp4decrypt from system env vars and try again. That way you make sure you use the latest exe you got.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  13. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    No need for --use-mp4decrypt since that's used by default. There are some rare/random videos where shaka works and mp4decrypt doesn't. It should have worked for your video however. Here's a command from a random site
    Code:
    N_m3u8DL-RE.exe https://vcze131.cda.pl/1670449/1670449.mpd --key 65353534306438366535346135346161:39303439626631336363393537303934 -M format=mkv
    Check how it behaves with/without shaka. I have no idea why mp4decrypt didn't work for you. I guess you could check if you have an older mp4decrypt in your sistem env vars. Go to a random unrelated folder and type mp4decrypt in terminal. It should say command not recognized. If it recognizes it, then delete everything related to mp4decrypt from system env vars and try again. That way you make sure you use the latest exe you got.
    Very strange. It decrypted proprly the 1st 5 second and after it's like the not decrypted screens I posted before.
    Vith shaka is fully OK
    the hash of my mp4decrypt is:
    CRC32: F5D9175D
    MD5: C2724F647631C5056D28703EE1E09A9E
    SHA-1: FE3F9405CD6E97DDD658552EF5A2CF7D1F1063CA

    could be a wrong version?

    This one:

    Image
    [Attachment 82376 - Click to enlarge]
    Last edited by alba77; 20th Sep 2024 at 13:00.
    Quote Quote  
  14. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    That's what I use too and works. Alright, I'm afraid this will be the end of my assistance since I have never encountered your issue. Maybe someone else knows what the problem is and will help you. Or you could simply stick to what works for you.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  15. OK. Thanks for everything and especially for your precious time.
    I'll go to use the shaka option. Important is that it works.
    May you have a nice evening.
    Quote Quote  



Similar Threads

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