VideoHelp Forum




+ Reply to Thread
Page 16 of 21
FirstFirst ... 6 14 15 16 17 18 ... LastLast
Results 451 to 480 of 609
  1. but now.......another problem

    when i do:

    C:\Users\xxxxxxx\Desktop\WKS-KEYS\pywidevine\L3\cdm\devices\android_generic> pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID -l3 -o WVD
    "pywidevine" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.

    so is not install properly?????dont understand
    Quote Quote  
  2. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by marioeivissa View Post
    but now.......another problem

    when i do:

    C:\Users\xxxxxxx\Desktop\WKS-KEYS\pywidevine\L3\cdm\devices\android_generic> pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID -l3 -o WVD
    "pywidevine" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.

    so is not install properly?????dont understand
    Best not to do anything with global pywidevine in the WKS-KEYS folder. Copy your key and blob elsewhere and try again.

    Make sure pywidevine works by just typing pywidevine in a command window.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  3. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by marioeivissa View Post
    but now.......another problem

    when i do:

    C:\Users\xxxxxxx\Desktop\WKS-KEYS\pywidevine\L3\cdm\devices\android_generic> pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID -l3 -o WVD
    "pywidevine" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.

    so is not install properly?????dont understand
    Best not to do anything with global pywidevine in the WKS-KEYS folder. Copy your key and blob elsewhere and try again.

    Make sure pywidevine works by just typing pywidevine in a command window.
    sorry but not working, still say in cmd general in windows pywidevine not command


    do you have general pywidevine in your python 11?

    maybe is my way im installing python in windows? y type path and everything when i instaling
    Last edited by marioeivissa; 31st Oct 2023 at 11:21.
    Quote Quote  
  4. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by marioeivissa View Post
    do you have general pywidevine in your python 11?
    Yes.

    Image
    [Attachment 74626 - Click to enlarge]


    I am at a loss as to what your issue is and can be of no further help, sorry.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  5. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by marioeivissa View Post
    do you have general pywidevine in your python 11?
    Yes.

    Image
    [Attachment 74626 - Click to enlarge]


    I am at a loss as to what your issue is and can be of no further help, sorry.
    this is in windows? doesnt look like

    but anyway the Error in the prompt is clear, says more or less pywidewine required 3.7 and less than 3.12, if my version is 3.12 will not work,
    and the point is if
    i download 3.9python version, i can install general pywidevine 1.6 but i think for some reason pywidewine just call to the main python 3.12 not 3.9, even if a open cdm/prompt inside the folder where is the version 3.9,
    im in trouble because i dont want to delete 3.12 because im fear to lose wks keys than is working properly now, i dont want to touch anything,
    and the other point is
    if i use virtual env, everything looks like the same because i should use virtual evn with at least the version 3.11python


    its a shit(sorry for the expresion) because you say in your post: https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS than you will use for your next scripts the method with general pywidevine installed, so.....troubles for me, jeje
    Last edited by marioeivissa; 31st Oct 2023 at 11:48.
    Quote Quote  
  6. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    You can always try to run the python scripts in WSL instead of native Windows. I've had some scripts act up when trying it in cmd but they worked fine when using WSL.
    Give that a go and see if it works
    Quote Quote  
  7. Originally Posted by Karoolus View Post
    You can always try to run the python scripts in WSL instead of native Windows. I've had some scripts act up when trying it in cmd but they worked fine when using WSL.
    Give that a go and see if it works
    i will see wsl, can you pass me any scripts? to try
    Quote Quote  
  8. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by marioeivissa View Post
    Originally Posted by Karoolus View Post
    You can always try to run the python scripts in WSL instead of native Windows. I've had some scripts act up when trying it in cmd but they worked fine when using WSL.
    Give that a go and see if it works
    i will see wsl, can you pass me any scripts? to try
    Well, the same one as I posted a while ago:

    https://files.videohelp.com/u/303646/WKS-KEYS.zip
    Last edited by Karoolus; 6th Nov 2023 at 16:07.
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Karoolus View Post

    Well, the same one as I posted a while ago:

    https://files.videohelp.com/u/303646/WKS-KEYS.zip
    Thanks for helping.
    I think that version insists on protobuf==3.20.3 and not protobuf==4.x.x which pywidevine uses. To choose that version of WKS-KEYS will lead to future pip version conflicts and python fails if ever pywidevine is installed.

    An updated WKS-KEYS with wv_proto_pb complled for protobuf==4.x.x is here https://files.videohelp.com/u/301890/WKS-KEYS.zip
    @marioeivissa Inside WKS-KEYS is a basic script - l3.py, which will get keys by using your CDM.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  10. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Karoolus View Post

    Well, the same one as I posted a while ago:

    https://files.videohelp.com/u/303646/WKS-KEYS.zip
    Thanks for helping.
    I think that version insists on protobuf==3.20.3 and not protobuf==4.x.x which pywidevine uses. To choose that version of WKS-KEYS will lead to future pip version conflicts and python fails if ever pywidevine is installed.

    An updated WKS-KEYS with wv_proto_pb complled for protobuf==4.x.x is here https://files.videohelp.com/u/301890/WKS-KEYS.zip
    @marioeivissa Inside WKS-KEYS is a basic script - l3.py, which will get keys by using your CDM.


    thanks guys
    Quote Quote  
  11. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Karoolus View Post

    Well, the same one as I posted a while ago:

    https://files.videohelp.com/u/303646/WKS-KEYS.zip
    Thanks for helping.
    I think that version insists on protobuf==3.20.3 and not protobuf==4.x.x which pywidevine uses. To choose that version of WKS-KEYS will lead to future pip version conflicts and python fails if ever pywidevine is installed.

    An updated WKS-KEYS with wv_proto_pb complled for protobuf==4.x.x is here https://files.videohelp.com/u/301890/WKS-KEYS.zip
    @marioeivissa Inside WKS-KEYS is a basic script - l3.py, which will get keys by using your CDM.
    I know it's the outdated version, but it's the one I uploaded that comes with a working CDM.
    I'll have to look into using a newer link then
    Quote Quote  
  12. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Karoolus View Post

    I know it's the outdated version, but it's the one I uploaded that comes with a working CDM.
    I'll have to look into using a newer link then

    That's very generous of you to post a CDM. The issue is of compatibility. . There is nothing to stop the CDM from being copied over.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  13. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    I know, it was lazyness. I updated my link with the version you posted
    Quote Quote  
  14. Sorry to bring back the old dead horse error: ModuleNotFoundError: No module named 'pywidevine.L3'

    Read the form with similar error, followed the solution but still same error.

    My situation:

    Code:
    PS C:\Python\WKS-KEYS> python l3.py
    Traceback (most recent call last):
      File "C:\Python\WKS-KEYS\l3.py", line 15, in <module>
        from pywidevine.L3.cdm import cdm, deviceconfig
    ModuleNotFoundError: No module named 'pywidevine.L3'
    line 15 in l3.py:
    from pywidevine.L3.cdm import cdm, deviceconfig

    My directory structure: PS C:\Python\WKS-KEYS\pywidevine\L3\cdm>

    Directory contents of PS C:\Python\WKS-KEYS\pywidevine\L3\cdm>:
    Code:
    PS C:\Python\WKS-KEYS\pywidevine\L3\cdm> ls
    
    
        Directory: C:\Python\WKS-KEYS\pywidevine\L3\cdm
    
    
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    d-----        11/10/2021   7:40 PM                devices
    d-----        11/10/2021   7:40 PM                formats
    d-----        11/10/2021   7:44 PM                __pycache__
    -a----        11/10/2021   7:43 PM          15536 cdm.py
    -a----         6/28/2021  10:13 AM           2805 deviceconfig.py
    -a----         5/27/2019   4:29 PM            535 key.py
    -a----         5/27/2019   4:29 PM            594 session.py
    -a----         5/27/2019   4:29 PM           3075 vmp.py
    -a----         5/27/2019   4:29 PM              0 __init__.py
    I am stumped. Any help?
    Quote Quote  
  15. Do you have by any chance also installed the official pywidevine module? That would explain the error, and is described (including solutions) many times here.

    I'd recommend to go the route described by A_n_g_e_l_a here: https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS
    Quote Quote  
  16. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    create an empty file called __init__.py in each directory from the WKS-KEYS folder all the way down to CDM ( I see it is in the CDM folder and maybe others too - only add if missing)
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  17. Originally Posted by A_n_g_e_l_a View Post
    create an empty file called __init__.py in each directory from the WKS-KEYS folder all the way down to CDM ( I see it is in the CDM folder and maybe others too - only add if missing)

    Thanks Angela. It worked after two steps. My OMG moment!

    #1 After I inserted __init__.py empty files in each directory as you suggested got this error:

    Code:
    TypeError: Descriptors cannot not be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
    If you cannot immediately regenerate your protos, some other possible workarounds are:
     1. Downgrade the protobuf package to 3.20.x or lower.
     2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
    As explained elsewhere I ran for compatibility:

    pip install protobuf==3.20.1

    Mamma Mia, it worked!

    Obo, I thought I would try your suggestion after Angela's.

    Thanks Angela again.
    Quote Quote  
  18. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Spectrumhsm View Post

    Code:
    TypeError: Descriptors cannot not be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
    If you cannot immediately regenerate your protos, some other possible workarounds are:
     1. Downgrade the protobuf package to 3.20.x or lower.
     2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
    pip install protobuf==3.20.1

    Mamma Mia, it worked!
    If you had used WKS-KEYS linked in the first post you wouldn't have had these compatibility issues. I strongly suggest you use this WKS-KEYS (post #1 link) https://files.videohelp.com/u/301890/WKS-KEYS.zip After installation, upgrade protobuf back to 4.x.x. It will allow WKS-KEYS and pip installed pywidevine to live together more easily and cause much less future hassle.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  19. Thank you for the information that it is best to use WKS-KEYS, which are linked in the first post of the thread,
    Quote Quote  
  20. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Spectrumhsm View Post

    Code:
    TypeError: Descriptors cannot not be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
    If you cannot immediately regenerate your protos, some other possible workarounds are:
     1. Downgrade the protobuf package to 3.20.x or lower.
     2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
    pip install protobuf==3.20.1

    Mamma Mia, it worked!
    If you had used WKS-KEYS linked in the first post you wouldn't have had these compatibility issues. I strongly suggest you use this WKS-KEYS (post #1 link) https://files.videohelp.com/u/301890/WKS-KEYS.zip After installation, upgrade protobuf back to 4.x.x. It will allow WKS-KEYS and pip installed pywidevine to live together more easily and cause much less future hassle.
    angela but i cant use pywidevine just installed(like i told you), i must to use the other pywidevine, so should i use also the new wks keys without problems? and update protobuf? or just stay with the older one and with protobuf 3.20.3?
    Quote Quote  
  21. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by marioeivissa View Post

    angela but i cant use pywidevine just installed(like i told you), i must to use the other pywidevine, so should i use also the new wks keys without problems? and update protobuf? or just stay with the older one and with protobuf 3.20.3?
    I'm really not following this too well!

    If pywidevine global is still preventing pywidevine wks-keys from working, you may find setting an env(ironment) in python will correct your issue.

    Read this https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  22. After giving execute program privileges to the Frida server ('chmod +x'), it throws a 'Bad mode' message.
    Does anyone know how I can resolve this?

    Image
    [Attachment 75061 - Click to enlarge]
    Quote Quote  
  23. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by h4zyda1sy View Post
    After giving execute program privileges to the Frida server ('chmod +x'), it throws a 'Bad mode' message.
    Does anyone know how I can resolve this?

    Image
    [Attachment 75061 - Click to enlarge]
    Try the alternative 'chmod 555 <path+file name>'

    if that fails try moving to the path folder and operate only on the filename.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  24. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by h4zyda1sy View Post
    After giving execute program privileges to the Frida server ('chmod +x'), it throws a 'Bad mode' message.
    Does anyone know how I can resolve this?

    Image
    [Attachment 75061 - Click to enlarge]
    Try the alternative 'chmod 555 <path+file name>'

    if that fails try moving to the path folder and operate only on the filename.

    Thanks! I did the first option, which then resulted in a 'Not executable: 64-bit ELF file'. So I switched Frida server to the 32-bit arm (even though my device is 64 bit).
    However, when I'm running this Frida server, I get following error on the dump_keys.py:

    Image
    [Attachment 75066 - Click to enlarge]


    Should I use a different Frida server? Where can I find older versions?
    Quote Quote  
  25. I used Frida 16.1.7 yesterday and it worked fine so it doesn't sound like that's the issue.
    Quote Quote  
  26. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by h4zyda1sy View Post
    Thanks! I did the first option, which then resulted in a 'Not executable: 64-bit ELF file'. So I switched Frida server to the 32-bit arm (even though my device is 64 bit).
    However, when I'm running this Frida server, I get following error on the dump_keys.py:

    Image
    [Attachment 75066 - Click to enlarge]


    Should I use a different Frida server? Where can I find older versions?
    The guide suggests looking up the architecture of the device you have before downloading Frida-server. Clearly you have a version not compiled for your device.
    It's one of these:-
    Image
    [Attachment 75069 - Click to enlarge]
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  27. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    If you are only going to want keys to one video from one site and will never ask for keys again, ask your question in a new thread, giving the website URL for the video and as much extra information as you can - such as the mpd, pssh and license url.

    But if you expect to need more keys in the future you need to learn how to extract keys yourself.

    So, you would read this thread. And then, in general terms you will know how to get your own keys to decrypt videos for simple websites. To further your key getting abilities you read The Dungeon of Despair.

    If you study each part carefully over a few nights, and practice some bits shown in the thread, you will know how to answer your own question. If you just flash-read the contents and don't think about what you are reading, you will waste your time

    It just needs some hard work from you. Are you up for that?
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  28. Originally Posted by A_n_g_e_l_a View Post
    If you are only going to want keys to one video from one site and will never ask for keys again, ask your question in a new thread, giving the website URL for the video and as much extra information as you can - such as the mpd, pssh and license url.

    But if you expect to need more keys in the future you need to learn how to extract keys yourself.

    So, you would read this thread. And then, in general terms you will know how to get your own keys to decrypt videos for simple websites. To further your key getting abilities you read The Dungeon of Despair.

    If you study each part carefully over a few nights, and practice some bits shown in the thread, you will know how to answer your own question. If you just flash-read the contents and don't think about what you are reading, you will waste your time

    It just needs some hard work from you. Are you up for that?
    Thanks so much! this is what i need! because i found the url in any random group and i want to learn how to get news when them was changed. I will check your link now, i think i have to get a dazn account and then enter, with something like httptoolkit read or search this info but idk how to get mpd of channels that i dont have access
    Quote Quote  
  29. I made an account just to say a HUGE THANK YOU. Your guide, along with some other online resources, got me up and running with decrypting Widevine content. I did find some parts of the guide a little weird, or didn't make total sense, but I figured it all out, and I got it working, and it's all thanks to you. So thank you for putting all this information together.

    For the curious, I used a Samsung Galaxy S9 Starlite. Rooting it was no easy task. I originally tried a Nexus 5X, but I couldn't get it working. Widevine was at version 5, so that's probably why, maybe.

    I'd recommend skipping the section about using WKS-KEYS and just going straight to using the pywidevine part. WKS-KEYS wasn't able to obtain keys from https://bitmovin.com/demos/drm at all. It gave me an error about protobuf. It appears that there's a new method of getting keys where you have to make two requests, and WKS-KEYS doesn't do this, but pywidevine does.
    Quote Quote  



Similar Threads

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