VideoHelp Forum
+ Reply to Thread
Page 5 of 5
FirstFirst ... 3 4 5
Results 121 to 129 of 129
Thread
  1. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Sistema View Post
    I was (4 weeks ago) able to grab this all manually using the old.cdrmproject.com site with cache unticked...that seems to have gone now?
    Look at the error message and put your thinking head on! And if all else fails RTFM.
    Clearly you are not pasting what you should be. Did you really need me to tell you that?

    Open start.html in your browser and read how to get the cURL - do not go anywhere near curlconverter.com.
    (Yet another one stuck in a groove!)
    Last edited by A_n_g_e_l_a; 18th Sep 2024 at 04:05.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  2. Image
    [Attachment 82291 - Click to enlarge]


    Getting an error on windows, after pressing - download video:

    Code:
    \Desktop\M3U\HellYesGui>allhell3gui.py
    Traceback (most recent call last):
      File "C:\Users\...\Desktop\M3U\HellYesGui\allhell3gui.py", line 34, in run
        subprocess.run(self.command, check=True)
      File "C:\Users\...\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 548, in run
        with Popen(*popenargs, **kwargs) as process:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\...\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "C:\Users\...\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
        hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    FileNotFoundError: [WinError 2] The system cannot find the file specified
    Quote Quote  
  3. I'd say, the command "N_m3u8DL-RE" wasn't found. You followed the guide that Angela prepared for you (and all other users)?

    It specifically says:

    Install the following:
    * See the code at https://github.com/nilaoda/N_m3u8DL-RE, download the latest release. Unzip and save to a folder named 'binaries'. It can be anywhere on your system. So long as 'binaries' is in your Path.
    Pay attention to the last sentence: "So long as [before mentioned] 'binaries' is in your Path."
    Last edited by Obo; 18th Sep 2024 at 13:31.
    Quote Quote  
  4. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Sistema View Post
    I was (4 weeks ago) able to grab this all manually using the old.cdrmproject.com site with cache unticked...that seems to have gone now?
    Look at the error message and put your thinking head on! And if all else fails RTFM.
    Clearly you are not pasting what you should be. Did you really need me to tell you that?

    Open start.html in your browser and read how to get the cURL - do not go anywhere near curlconverter.com.
    (Yet another one stuck in a groove!)
    I absolutely deserve this...think n*wtv do something with the license URL as it comes back with a 400 error each time when using the Copy as cURL (Posix) as suggested in the start.html

    My apologies for wasting your time A_n_g_e_l_a
    Quote Quote  
  5. Member
    Join Date
    Aug 2023
    Location
    Turkey
    Search Comp PM
    what about if the link its not mpd

    composite_4250k_CENC_CTR_FHD_SDR_5a748b01-cb4a-4ca2-b636-a8a5e44d8802_79184e58-2a15-476a-9725-73419628ad1d.m3u8

    how than ?
    Quote Quote  
  6. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by senkron24 View Post
    what about if the link its not mpd

    composite_4250k_CENC_CTR_FHD_SDR_5a748b01-cb4a-4ca2-b636-a8a5e44d8802_79184e58-2a15-476a-9725-73419628ad1d.m3u8

    how than ?
    Unlikely it is Widevine encrypted. Try feeding it to N_m3u8DL-RE. Do your own research!
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  7. Member
    Join Date
    Aug 2023
    Location
    Turkey
    Search Comp PM
    Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by senkron24 View Post
    what about if the link its not mpd

    composite_4250k_CENC_CTR_FHD_SDR_5a748b01-cb4a-4ca2-b636-a8a5e44d8802_79184e58-2a15-476a-9725-73419628ad1d.m3u8

    how than ?
    Unlikely it is Widevine encrypted. Try feeding it to N_m3u8DL-RE. Do your own research!
    it is 100% Widevine protekted example in the m3u8 its have like this

    #EXT-X-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",KEYFORMATVERSIONS="1",URI="data:text/plain;base64,AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7 QAAABISEBEqfppz20i/mAXfCpQ5bX8="
    #EXT-X-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="com.microsoft.playready",KEYFORMATV ERSIONS="1",URI="data:text/plain;charset=UTF-16;base64,xAEAAAEAAQC6ATwAVwBSAE0ASABFAEEARABFAFIA IAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQ BtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBE AFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAG QAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIA NAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATw BUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2 ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAF MAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUA QwBUAEkATgBGAE8APgA8AEsASQBEAD4AbQBuADQAcQBFAGQAdA B6AHYAMABpAFkAQgBkADgASwBsAEQAbAB0AGYAdwA9AD0APAAv AEsASQBEAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAE EARABFAFIAPgA="

    for widevine pssh its as we see

    AAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7 QAAABISEBEqfppz20i/mAXfCpQ5bX8=


    mybe need samthing like this


    def extract_pssh_from_m3u8(m3u8_content):
    # Regex to match the EXT-X-KEY tag with Widevine PSSH
    pssh_regex = r'#EXT-X-KEY:METHOD=(?P<method>[A-Z-]+),KEYFORMAT="urn:uuid?P<uuid>[a-f0-9-]+)",KEYFORMATVERSIONS="(?P<version>[0-9]+)",URI="data:text/plain;base64,(?P<pssh_base64>[^"]+)"'
    Last edited by senkron24; 22nd Sep 2024 at 20:03.
    Quote Quote  
  8. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by senkron24 View Post

    it is 100% Widevine protekted example in the m3u8 its have like this
    If the pssh is in the init0.m4f AllHell3Gui will find keys for m3u8. If not you will have to use L3.py or a custom script. You may of course adapt Allhell3Gui for your own needs.

    I have decided to confine this script to 'Widevine mpd'. It simplifies the idea of 'Tool for the job' for the mass of down-loaders out there and prevents mission-creep.

    And I have had this conversation a few pages earlier in the thread!!

    Edit: this regex will work r"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed.*base64,(.*)\"" and group1 holds the pssh
    Last edited by A_n_g_e_l_a; 23rd Sep 2024 at 09:16.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    @senkron24 here is my take on what you are trying to do

    Image
    [Attachment 82427 - Click to enlarge]


    add code lines 227 - 237 inclusive in allhell3gui.py

    Code:
    try:
        import m3u8
        # try again with m3u8
        playlist = m3u8.load(self.mpd_url_entry.text())
        match = re.search(r'edef8ba9-79d6-4ace-a3c8-27dcd51d21ed.*base64,(.*)\"', playlist)
        if match:
            pssh= match.group(1)
            return pssh
    
    except:
       pass
    Let me know how it goes: there are no widevine m3u8 in my orbit to test on.

    If ever that code makes it to a release I will not be publicising any facility with m3u8. I do wish to be associated in any way with 'm3u8 support' for the masses.
    Last edited by A_n_g_e_l_a; 23rd Sep 2024 at 09:25.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  



Similar Threads

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