VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 39
  1. how can i get keys for all4 tv shows? please help me thanks
    Quote Quote  
  2. got the tool but cant get it to work can u help plz write a step by step guide or make a video showing how please
    Quote Quote  
  3. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    do you have a CDM?
    Quote Quote  
  4. Originally Posted by ampersand View Post
    do you have a CDM?
    yes i have cdm, i cant install pywidevine for some reason can u help please, what version of python are u using? can u make a .rar file with all your python and ch4 files so i can use it please mines not working but my cdm is new and i havnt used it on any other script yet, but i dumped it myself

    all i get when i try to install pywidevine via cmd is

    ERROR: Ignored the following versions that require a different python version: 1.0.0 Requires-Python >=3.7,<3.11; 1.0.1 Requires-Python >=3.7,<3.11; 1.1.0 Requires-Python >=3.7,<3.11; 1.1.1 Requires-Python >=3.7,<3.11; 1.2.0 Requires-Python >=3.7,<3.11; 1.2.1 Requires-Python >=3.7,<3.11; 1.3.0 Requires-Python >=3.7,<3.11; 1.3.1 Requires-Python >=3.7,<3.11; 1.4.0 Requires-Python >=3.7,<3.11; 1.4.1 Requires-Python >=3.7,<3.11; 1.4.2 Requires-Python >=3.7,<3.11; 1.4.3 Requires-Python >=3.7,<3.11; 1.4.4 Requires-Python >=3.7,<3.11; 1.5.0 Requires-Python >=3.7,<3.11; 1.5.1 Requires-Python >=3.7,<3.11; 1.5.2 Requires-Python >=3.7,<3.11
    ERROR: Could not find a version that satisfies the requirement pywidevine>=1.4.3 (from versions: none)
    ERROR: No matching distribution found for pywidevine>=1.4.3

    and when i try to run the script i get:

    pip install Crypto

    and when i try to run the script i get:

    pip install Crypto
    Requirement already satisfied: Crypto in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (1.4.1)
    Requirement already satisfied: Naked in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from Crypto) (0.1.32)
    Requirement already satisfied: shellescape in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from Crypto) (3.8.1)
    Requirement already satisfied: requests in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from Naked->Crypto) (2.28.1)
    Requirement already satisfied: pyyaml in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from Naked->Crypto) (6.0)
    Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from requests->Naked->Crypto) (2.1.1)
    Requirement already satisfied: idna<4,>=2.5 in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from requests->Naked->Crypto) (3.4)
    Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from requests->Naked->Crypto) (1.26.12)
    Requirement already satisfied: certifi>=2017.4.17 in c:\users\danny\appdata\local\programs\python\pytho n311\lib\site-packages (from requests->Naked->Crypto) (2022.9.24)

    what python version do u use?

    im getting this now:

    C:\Users\danny\Desktop\c4-dl-master\c4-dl-master>py .\c4-dl.py --download --wvd "C:\widevine_device.wvd" --url "https://www.channel4.com/programmes/the-big-bang-theory/on-demand/44564-001"
    Traceback (most recent call last):
    File "C:\Users\danny\Desktop\c4-dl-master\c4-dl-master\c4-dl.py", line 10, in <module>
    import requests
    ModuleNotFoundError: No module named 'requests'

    i tried to install requests via pip install requests
    Last edited by Dannyboi; 22nd Nov 2022 at 14:47.
    Quote Quote  
  5. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    all the ch4 files I have are the script from github
    all the python files I have is the installation file for python v3.10.3

    "Requires-Python >=3.7,<3.11"
    this means it requires python version higher than or equal to 3.7 AND lower than 3.11
    I see you're using 3.11, so I guess that's the problem
    Quote Quote  
  6. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    and did requests install or was there an error or was there no output at all? i'm not a python guy, I work with javascript and node.
    Quote Quote  
  7. Originally Posted by ampersand View Post
    all the ch4 files I have are the script from github
    all the python files I have is the installation file for python v3.10.3

    "Requires-Python >=3.7,<3.11"
    this means it requires python version higher than or equal to 3.7 AND lower than 3.11
    I see you're using 3.11, so I guess that's the problem
    i have uninstalled the new version and am installing that version 3.10.3, yes i installed requests

    im getting the following error:

    C:\Users\danny\Desktop\c4-dl-master\c4-dl-master>py .\c4-dl.py --download --wvd "C:\widevine_device.wvd" --url "https://www.channel4.com/programmes/the-big-bang-theory/on-demand/44564-001"
    Traceback (most recent call last):
    File "C:\Users\danny\Desktop\c4-dl-master\c4-dl-master\c4-dl.py", line 12, in <module>
    from Crypto.Cipher import AES
    ModuleNotFoundError: No module named 'Crypto'

    C:\Users\danny\Desktop\c4-dl-master\c4-dl-master>pause
    Press any key to continue . . .

    i have tried pip install crypto, but all im getting is this still

    C:\Users\danny\Desktop\c4-dl-master\c4-dl-master>py .\c4-dl.py --download --wvd "C:\widevine_device.wvd" --url "https://www.channel4.com/programmes/the-big-bang-theory/on-demand/44564-001"
    Traceback (most recent call last):
    File "C:\Users\danny\Desktop\c4-dl-master\c4-dl-master\c4-dl.py", line 12, in <module>
    from Crypto.Cipher import AES
    ModuleNotFoundError: No module named 'Crypto'
    Last edited by Dannyboi; 22nd Nov 2022 at 15:03.
    Quote Quote  
  8. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    try this:
    https://stackoverflow.com/questions/19623267/importerror-no-module-named-crypto-cipher...48720#39048720

    in the future try googling the error itself, i got this by googling ModuleNotFoundError: No module named 'Crypto'
    stackoverflow is good for these kinds of problems
    Quote Quote  
  9. i have its not working:
    warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
    building 'Crypto.Random.OSRNG.winrandom' extension
    error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    error: legacy-install-failure

    × Encountered error while trying to install package.
    ╰─> pycrypto

    note: This is an issue with the package mentioned above, not pip.
    hint: See above for output from the failure.
    Quote Quote  
  10. also im getting this error when i tried to do this: pywidevine create-device -k device_private_key -c device_client_id_blob -t "ANDROID" -l 3 -o output

    C:\Users\danny\Desktop\c4-dl-master\c4-dl-master>pywidevine create-device -k device_private_key -c device_client_id_blob -t "ANDROID" -l 3 -o c4-dl-master
    INFO:rootywidevine version 1.5.2 Copyright (c) 2022 rlaphoenix
    INFO:root:https://github.com/rlaphoenix/pywidevine
    Traceback (most recent call last):
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\Scripts\pywidevine.exe\__main__.py", line 7, in <module>
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\site-packages\click\decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\site-packages\pywidevine\main.py", line 232, in create_device
    out_path.write_bytes(wvd_bin)
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\pathlib.py", line 1141, in write_bytes
    with self.open(mode='wb') as f:
    File "C:\Users\danny\AppData\Local\Programs\Python\Pyth on310\lib\pathlib.py", line 1117, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
    PermissionError: [Errno 13] Permission denied: 'c4-dl-master\\amlogic_mbox_v4.1.0-android_99908892_4445_l3.wvd'
    Quote Quote  
  11. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    i think the pywidevine error is because the folder that it is trying to write the output to doesn't exist.

    the setup needs to be like this:
    folder named folderA contains: device_private_key, device_client_id_blob and an empty folder named folderB
    then from folderA you call the "pywidevine create-device" command and for "-o" you use folderB
    Quote Quote  
  12. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    for crypto: it is again literally telling you what you need to do
    "error: Microsoft Visual C++ 14.0 or greater is required." means that you need to install Microsoft Visual C++ version 14 or greater
    https://www.google.com/search?q=Microsoft+Visual+C%2B%2B&rlz=1C1BNSD_enHR997HR997&sour...hrome&ie=UTF-8
    Quote Quote  
  13. Originally Posted by ampersand View Post
    i think the pywidevine error is because the folder that it is trying to write the output to doesn't exist.

    the setup needs to be like this:
    folder named folderA contains: device_private_key, device_client_id_blob and an empty folder named folderB
    then from folderA you call the "pywidevine create-device" command and for "-o" you use folderB
    see bottom for updates
    Quote Quote  
  14. im getting this now: when trying: pywidevine create-device -k folderA\device_private_key -c device_client_id_blob -t "ANDROID" -l 3 -o folderB

    C:\Users\danny\Desktop\c4-dl-master>pywidevine create-device -k folderA\device_private_key -c device_client_id_blob -t "ANDROID" -l 3 -o folderB
    INFO:rootywidevine version 1.5.2 Copyright (c) 2022 rlaphoenix
    INFO:root:https://github.com/rlaphoenix/pywidevine
    Usage: pywidevine create-device [OPTIONS]
    Try 'pywidevine create-device --help' for help.

    Error: client_id: Not a path to a file, or it doesn't exist.

    and

    C:\Users\danny\Desktop\c4-dl-master>pywidevine create-device -t ANDROID -l 3
    INFO:rootywidevine version 1.5.2 Copyright (c) 2022 rlaphoenix
    INFO:root:https://github.com/rlaphoenix/pywidevine
    Usage: pywidevine create-device [OPTIONS]
    Try 'pywidevine create-device --help' for help.

    Error: Missing option '-k' / '--key'.

    C:\Users\danny\Desktop\c4-dl-master>pywidevine create-device -t ANDROID -l 3 -k
    INFO:rootywidevine version 1.5.2 Copyright (c) 2022 rlaphoenix
    INFO:root:https://github.com/rlaphoenix/pywidevine
    Error: Option '-k' requires an argument.
    Quote Quote  
  15. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    you are making a big mess out of something very simple
    create folder named folderA. copy device_private_key and device_client_id_blob into it. then enter folderA. create empty folderB inside folderA. open command prompt (cmd) and navigate to folderA. enter THIS EXACT COMMAND: pywidevine create-device -k device_private_key -c device_client_id_blob -t "ANDROID" -l 3 -o folderB
    Quote Quote  
  16. Originally Posted by ampersand View Post
    you are making a big mess out of something very simple
    create folder named folderA. copy device_private_key and device_client_id_blob into it. then enter folderA. create empty folderB inside folderA. open command prompt (cmd) and navigate to folderA. enter THIS EXACT COMMAND: pywidevine create-device -k device_private_key -c device_client_id_blob -t "ANDROID" -l 3 -o folderB
    ok done that:

    C:\Users\danny\Desktop\c4-dl-master\folderA>pywidevine create-device -k device_private_key -c device_client_id_blob -t "ANDROID" -l 3 -o folderB
    INFO:rootywidevine version 1.5.2 Copyright (c) 2022 rlaphoenix
    INFO:root:https://github.com/rlaphoenix/pywidevine
    INFO:create-device:Created Widevine Device (.wvd) file, amlogic_mbox_v4.1.0-android_99908892_4445_l3.wvd
    INFO:create-device: + Type: ANDROID
    INFO:create-device: + System ID: 4445
    INFO:create-device: + Security Level: 3
    INFO:create-device: + Flags: None
    INFO:create-device: + Private Key: True (2048 bit)
    INFO:create-device: + Client ID: True (1766 bytes)
    INFO:create-device: + VMP: False
    INFO:create-device: + Saved to: C:\Users\danny\Desktop\c4-dl-master\folderA\folderB\amlogic_mbox_v4.1.0-android_99908892_4445_l3.wvd

    but still getting this error for some reason can u help with it please?

    C:\Users\danny\Desktop\c4-dl-master>py .\c4-dl.py --download --wvd "C:\widevine_device.wvd" --url "https://www.channel4.com/programmes/the-big-bang-theory/on-demand/44564-001"
    Traceback (most recent call last):
    File "C:\Users\danny\Desktop\c4-dl-master\c4-dl.py", line 12, in <module>
    from Crypto.Cipher import AES
    ModuleNotFoundError: No module named 'Crypto'

    UPDATE: Think i fixed it as its now downloading from channel 4

    Update 2: Getting this now:

    [!] Failed merging streams !!!
    Traceback (most recent call last):
    File "C:\Users\danny\Desktop\c4-dl-master\c4-dl.py", line 524, in <module>
    main()
    File "C:\Users\danny\Desktop\c4-dl-master\c4-dl.py", line 520, in main
    merge_streams(files, output_title)
    File "C:\Users\danny\Desktop\c4-dl-master\c4-dl.py", line 401, in merge_streams
    os.mkdir(output_dir)
    FileNotFoundError: [WinError 3] The system cannot find the path specified: './downloads/British.Army.Girls.British.Army.Girls.WEB-DL.1080p.H.264.AAC'

    C:\Users\danny\Desktop\c4-dl-master>pause
    Press any key to continue . . .

    Update 3: its downloaded and decrypted
    Last edited by Dannyboi; 22nd Nov 2022 at 17:20.
    Quote Quote  
  17. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    install Microsoft Visual C++ version 14 or higher
    then repeat the process fromt he stackoverflow answer i linked
    Quote Quote  
  18. got it working now thanks now all i need to do is update the script to mux the decrypted mp4 files
    Quote Quote  
  19. ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎
    Image
    [Attachment 67788 - Click to enlarge]
    Quote Quote  
  20. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    Originally Posted by Dannyboi View Post
    got it working now thanks now all i need to do is update the script to mux the decrypted mp4 files
    I totally tried to give up. After all your mess here you dont' get your video
    Quote Quote  
  21. Originally Posted by naim2007 View Post
    Originally Posted by Dannyboi View Post
    got it working now thanks now all i need to do is update the script to mux the decrypted mp4 files
    I totally tried to give up. After all your mess here you dont' get your video
    im grabbing loads of tv shows from all4 in 1080p
    Quote Quote  
  22. Originally Posted by Dannyboi View Post
    Originally Posted by naim2007 View Post
    Originally Posted by Dannyboi View Post
    got it working now thanks now all i need to do is update the script to mux the decrypted mp4 files
    I totally tried to give up. After all your mess here you dont' get your video
    im grabbing loads of tv shows from all4 in 1080p
    All with the higher bitrate yeah? (around 5000 kb/s) Or are you stuck with the web bitrate? (around 3000 kb/s)
    Quote Quote  
  23. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Originally Posted by T33V33 View Post
    All with the higher bitrate yeah? (around 5000 kb/s) Or are you stuck with the web bitrate? (around 3000 kb/s)
    if he's using the diazole script then it's the lower one, the web bitrate
    do you need L1 for the higher one or?
    Quote Quote  
  24. Originally Posted by ampersand View Post
    Originally Posted by T33V33 View Post
    All with the higher bitrate yeah? (around 5000 kb/s) Or are you stuck with the web bitrate? (around 3000 kb/s)
    if he's using the diazole script then it's the lower one, the web bitrate
    do you need L1 for the higher one or?
    no its still L3
    Quote Quote  
  25. Originally Posted by T33V33 View Post
    Originally Posted by ampersand View Post
    Originally Posted by T33V33 View Post
    All with the higher bitrate yeah? (around 5000 kb/s) Or are you stuck with the web bitrate? (around 3000 kb/s)
    if he's using the diazole script then it's the lower one, the web bitrate
    do you need L1 for the higher one or?
    no its still L3
    anyone know how i can download the higher bitrate videos?
    Quote Quote  
  26. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Originally Posted by T33V33 View Post
    no its still L3
    neither ffprobe nor yt-dlp's --list-formats show this hgiher quality stream
    is it possible it's available only on some shows?
    i have seen a scene all4 rip with 5000k bitrate, the other scene all4 rips are usually 3000k


    EDIT: you're right, I just tried downloading an episode of Screw with Diazole's script and got ~3000k, while SDCC's scene WEB-DL has 5000k
    Last edited by ampersand; 24th Nov 2022 at 17:39.
    Quote Quote  
  27. Originally Posted by ampersand View Post
    Originally Posted by T33V33 View Post
    no its still L3
    neither ffprobe nor yt-dlp's --list-formats show this hgiher quality stream
    is it possible it's available only on some shows?
    i have seen a scene all4 rip with 5000k bitrate, the other scene all4 rips are usually 3000k
    all tv shows see this mpd from my lgtv has higher bitrate: http://cf.p06.c4assets.com/xbox/CH4_29_02_29_73860001001001_001_HD.ism/Manifest?c3.ri=...68154391755162 need a way to get c4 script to download and decrypt it with l3 keys see below:

    Selected MPD :
    http://cf.p06.c4assets.com/xbox/CH4_29_02_29_73860001001001_001_HD.ism/Manifest?c3.ri=...68154391755162

    [generic] Manifest?c3: Requesting header
    WARNING: [generic] Falling back on generic information extractor.
    [generic] Manifest?c3: Downloading webpage
    [generic] Manifest?c3: Extracting information
    [info] Available formats for Manifest?c3:
    ID EXT RESOLUTION | TBR PROTO | VCODEC VBR ACODEC ABR ASR MORE INFO
    ------------- ---- ---------- - ----- ----- - ------ ----- ------ ---- ------- ---------
    audio_eng-128 isma audio only | 128k ism | AACL 128k 48000Hz 48000Hz
    video-498 ismv 512x288 | 498k ism | AVC1 498k
    video-795 ismv 640x360 | 795k ism | AVC1 795k
    video-993 ismv 640x360 | 993k ism | AVC1 993k
    video-1194 ismv 1024x576 | 1194k ism | AVC1 1194k
    video-1492 ismv 1024x576 | 1492k ism | AVC1 1492k
    video-1987 ismv 1280x720 | 1987k ism | AVC1 1987k
    video-2978 ismv 1920x1080 | 2978k ism | AVC1 2978k
    video-4962 ismv 1920x1080 | 4962k ism | AVC1 4962k

    website mpd: https://ak-jos-c4assets-com.akamaized.net/CH4_08_02_900_73860001001001_001/CH4_08_02_9...HzxtO6Q3D3VD-8

    tv mpd: http://cf.p06.c4assets.com/xbox/CH4_29_02_29_73860001001001_001_HD.ism/Manifest?c3.ri=...68154391755162

    i downloaded the video and audio of the highest bitrate from tv mpd but my keys cant decrypt can anyone help plz?
    Last edited by Dannyboi; 24th Nov 2022 at 17:51.
    Quote Quote  
  28. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    ok, so have I got this right - you're playing the episode from the same link on their web but in one case it's playing on a PC and in another on a TV and they detect this and send you different manifests?
    or are you playing it on your tv through some kind of all4 app for smart tvs?
    how are you getting the network traffic from the tv?
    Quote Quote  
  29. Originally Posted by ampersand View Post
    ok, so have I got this right - you're playing the episode from the same link on their web but in one case it's playing on a PC and in another on a TV and they detect this and send you different manifests?
    or are you playing it on your tv through some kind of all4 app for smart tvs?
    how are you getting the network traffic from the tv?
    tv app and website, im sniffing the tv urls, 2 different mpds 1 from website 1 from the all4 app on my tv
    Quote Quote  



Similar Threads

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