VideoHelp Forum




+ Reply to Thread
Page 5 of 53
FirstFirst ... 3 4 5 6 7 15 ... LastLast
Results 121 to 150 of 1581
  1. Originally Posted by SB47x View Post
    Originally Posted by LastResort View Post
    Thank you for the replies chaps...

    No... my pem does not look like that at all,... it looks more like a html file.

    Is it okay for me to place a link for where I found my one... (it's on a github page).
    Sounds like you've downloaded the HTML page it's on, rather than downloading the pem itself. Easy to fix.
    Thanks SB47x,

    All sorted now....

    (Thanks chaps for the replies).
    Quote Quote  
  2. One note - if you're on an M series mac, you want to adjust your devine/core/drm/widevine.py to allow for an arm64 version of shaka-packager.
    The quick and dirty way I did it was:
    Code:
            platform = {"win32": "win", "darwin": "osx"}.get(sys.platform, sys.platform)
            executable = get_binary_path("shaka-packager", "packager", f"packager-{platform}", f"packager-{platform}-arm64")
            if not executable:
                raise EnvironmentError("Shaka Packager executable not found but is required.")
    as I won't be running this elsewhere. Of course you could also edit it in a smarter way, but quick and dirty does the trick for me.
    Quote Quote  
  3. Originally Posted by macos View Post
    Hello i am completely new in using command line tools and need your help.

    I need help for installing under macOS or I can install utm on Mac for using windows 11 on virtual device.

    why we have 2 threads for one and the same app one that is discontinued and with 46 pages and the other now with 3 pages ?
    You can install absolutely fine (and run it) on MacOS.
    Maybe a couple of tweaks needed here and there - but absolutely no reason to faff about with virtualisation.

    Reach out and I'll help.
    Quote Quote  
  4. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Can anyone shed any light on this issue for me, please?

    I get to the decryption stage and it's working away when I then get a message in the Widevine panel saying:

    Code:
    " An exception occurred in the Service's license function: License       
             request failed: The token has already expired (te value)"
    Devine errors as a result, with:

    Code:
    ConnectionError: License request failed: The token has already expired (te 
    value)
    My .wvd file is the same as the one I've used previously with Freevine.
    Quote Quote  
  5. Originally Posted by mkjustuk View Post
    Can anyone shed any light on this issue for me, please?

    I get to the decryption stage and it's working away when I then get a message in the Widevine panel saying:

    Code:
    " An exception occurred in the Service's license function: License       
             request failed: The token has already expired (te value)"
    Devine errors as a result, with:

    Code:
    ConnectionError: License request failed: The token has already expired (te 
    value)
    My .wvd file is the same as the one I've used previously with Freevine.

    Sent you another one to try tested working
    Quote Quote  
  6. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Fab, thank you very much. I've tried that and I get an immediate Token expired error now, with either. It looks like it's caching something, but I can't see an option to clear or ignore the cache. - **Found the cache folder and just emptied it!**

    Now getting an android_heights error -
    Code:
    UnboundLocalError: cannot access local variable 'android_heights' where it is 
    not associated with a value
    Last edited by mkjustuk; 22nd Apr 2024 at 09:30.
    Quote Quote  
  7. I had some success by going back to what iamghost posted in the Freevine thread shortly after stabbedbybrick set up Devine Services:

    The services seem to be finally accepted from the log and it failing on the WVDs. With his zip of Devine I was able to get the .yaml file that is in the Devine subfolder. I have of course moved it to where it indicated it wanted to be moved to. Here is a log:

    Code:
    Microsoft Windows [Version 10.0.22000.2538]
    (c) Microsoft Corporation. All rights reserved.
    
    C:\devine>poetry config virtualenvs.in-project true
    
    C:\devine>poetry install
    Creating virtualenv devine in C:\devine\.venv
    Installing dependencies from lock file
    
    Package operations: 69 installs, 0 updates, 0 removals
    
      - Installing frozenlist (1.4.1)
      - Installing idna (3.6)
      - Installing multidict (6.0.5)
      - Installing aiosignal (1.3.1)
      - Installing attrs (23.2.0)
      - Installing certifi (2024.2.2)
      - Installing charset-normalizer (3.3.2)
      - Installing colorama (0.4.6)
      - Installing construct (2.8.8)
      - Installing distlib (0.3.8)
      - Installing filelock (3.13.3)
      - Installing marisa-trie (1.1.0)
      - Installing mdurl (0.1.2)
      - Installing platformdirs (4.2.0)
      - Installing pycparser (2.22)
      - Installing soupsieve (2.5)
      - Installing urllib3 (2.2.1)
      - Installing yarl (1.9.4)
      - Installing aiohttp (3.9.3)
      - Installing beautifulsoup4 (4.12.3)
      - Installing cffi (1.16.0)
      - Installing cfgv (3.4.0)
      - Installing click (8.1.7)
      - Installing cssutils (2.10.2)
      - Installing identify (2.5.35)
      - Installing iso8601 (2.1.0)
      - Installing language-data (1.2.0.dev3)
      - Installing lxml (5.2.1)
      - Installing markdown-it-py (3.0.0)
      - Installing mypy-extensions (1.0.0)
      - Installing nodeenv (1.8.0)
      - Installing protobuf (4.25.3)
      - Installing pycryptodome (3.20.0)
      - Installing pygments (2.17.2)
      - Installing pymp4 (1.4.0)
      - Installing pysocks (1.7.1)
      - Installing pyyaml (6.0.1)
      - Installing requests (2.31.0)
      - Installing ruamel-yaml-clib (0.2.8)
      - Installing types-protobuf (4.24.0.20240311)
      - Installing typing-extensions (4.10.0)
      - Installing unidecode (1.3.8)
      - Installing virtualenv (20.25.1)
      - Installing appdirs (1.4.4)
      - Installing brotli (1.1.0)
      - Installing chardet (5.2.0)
      - Installing crccheck (1.3.0)
      - Installing curl-cffi (0.6.2)
      - Installing isort (5.13.2)
      - Installing jsonpickle (3.0.3)
      - Installing langcodes (3.3.0)
      - Installing mypy (1.9.0)
      - Installing mypy-protobuf (3.6.0)
      - Installing pproxy (2.7.9)
      - Installing pre-commit (3.7.0)
      - Installing pycaption (2.2.4)
      - Installing pycryptodomex (3.20.0)
      - Installing pyjwt (2.8.0)
      - Installing pymediainfo (6.1.0)
      - Installing pymysql (1.1.0)
      - Installing pywidevine (1.8.0)
      - Installing rich (13.7.1)
      - Installing rlaphoenix-m3u8 (3.4.0)
      - Installing ruamel-yaml (0.18.6)
      - Installing ruff (0.3.5)
      - Installing sortedcontainers (2.4.0)
      - Installing subtitle-filter (1.4.9)
      - Installing types-pymysql (1.1.0.1)
      - Installing types-requests (2.31.0.20240403)
    
    Installing the current project: devine (3.3.1)
    
    C:\devine>poetry shell
    Spawning shell within C:\devine\.venv
    
    (devine-py3.11) C:\devine>devine env info
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         [Root Config]     : C:\Users\xxxx\AppData\Local\devine\devine.yaml
         [Cookies]         : C:\PATH\devine\cookies
         [WVDs]            : C:\Users\xxxx\AppData\Local\devine\WVDs
         [Cache]           : C:\PATH\devine\cache
         [Logs]            : C:\PATH\devine\Logs
         [Temp Files]      : C:\PATH\devine\temp
         [Downloads]       : C:\PATH\devine\downloads
    (devine-py3.11) C:\devine>devine dl SERVICE -?
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
    Error: There are no Services added yet, therefore the 'SERVICE' Service could not be found.
    (devine-py3.11) C:\devine>git clone https://cdm-project.com/stabbedbybrick/devine-services.git
    Cloning into 'devine-services'...
    remote: Enumerating objects: 71, done.
    remote: Counting objects: 100% (71/71), done.
    remote: Compressing objects: 100% (71/71), done.
    remote: Total 71 (delta 29), reused 0 (delta 0), pack-reused 0
    Receiving objects: 100% (71/71), 23.06 KiB | 1.44 MiB/s, done.
    Resolving deltas: 100% (29/29), done.
    
    (devine-py3.11) C:\devine>devine env info
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         [Root Config]     : C:\Users\xxxx\AppData\Local\devine\devine.yaml
         [Cookies]         : C:\PATH\devine\cookies
         [WVDs]            : C:\Users\xxxx\AppData\Local\devine\WVDs
         [Cache]           : C:\PATH\devine\cache
         [Logs]            : C:\PATH\devine\Logs
         [Temp Files]      : C:\PATH\devine\temp
         [Downloads]       : C:\PATH\devine\downloads
    (devine-py3.11) C:\devine>devine env info
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         [Root Config]     : C:\Users\xxxx\AppData\Local\devine\devine.yaml
         [Cookies]         : C:\PATH\devine\cookies
         [WVDs]            : C:\Users\xxxx\AppData\Local\devine\WVDs
         [Cache]           : C:\PATH\devine\cache
         [Logs]            : C:\PATH\devine\Logs
         [Temp Files]      : C:\PATH\devine\temp
         [Downloads]       : C:\PATH\devine\downloads
    (devine-py3.11) C:\devine>poetry install devine
    
    No arguments expected for "install" command, got "devine"
    
    (devine-py3.11) C:\devine>devine env info
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         [Root Config]     : C:\Users\xxxx\AppData\Local\devine\devine.yaml
         [Cookies]         : C:\PATH\devine\cookies
         [WVDs]            : C:\Users\xxxx\AppData\Local\devine\WVDs
         [Cache]           : C:\PATH\devine\cache
         [Logs]            : C:\PATH\devine\Logs
         [Temp Files]      : C:\PATH\devine\temp
         [Downloads]       : C:\PATH\devine\downloads
    (devine-py3.11) C:\devine>upgrade devine
    'upgrade' is not recognized as an internal or external command,
    operable program or batch file.
    
    (devine-py3.11) C:\devine>pip install devine
    Requirement already satisfied: devine in c:\devine\.venv\lib\site-packages (3.3.1)
    Requirement already satisfied: Brotli<2.0.0,>=1.1.0 in c:\devine\.venv\lib\site-packages (from devine) (1.1.0)
    Requirement already satisfied: PyYAML<7.0.0,>=6.0.1 in c:\devine\.venv\lib\site-packages (from devine) (6.0.1)
    Requirement already satisfied: Unidecode<2.0.0,>=1.3.8 in c:\devine\.venv\lib\site-packages (from devine) (1.3.8)
    Requirement already satisfied: appdirs<2.0.0,>=1.4.4 in c:\devine\.venv\lib\site-packages (from devine) (1.4.4)
    Requirement already satisfied: chardet<6.0.0,>=5.2.0 in c:\devine\.venv\lib\site-packages (from devine) (5.2.0)
    Requirement already satisfied: click<9.0.0,>=8.1.7 in c:\devine\.venv\lib\site-packages (from devine) (8.1.7)
    Requirement already satisfied: construct<3.0.0,>=2.8.8 in c:\devine\.venv\lib\site-packages (from devine) (2.8.8)
    Requirement already satisfied: crccheck<2.0.0,>=1.3.0 in c:\devine\.venv\lib\site-packages (from devine) (1.3.0)
    Requirement already satisfied: curl-cffi<0.7.0,>=0.6.2 in c:\devine\.venv\lib\site-packages (from devine) (0.6.2)
    Requirement already satisfied: jsonpickle<4.0.0,>=3.0.3 in c:\devine\.venv\lib\site-packages (from devine) (3.0.3)
    Requirement already satisfied: langcodes<4.0.0,>=3.3.0 in c:\devine\.venv\lib\site-packages (from langcodes[data]<4.0.0,>=3.3.0->devine) (3.3.0)
    Requirement already satisfied: language-data<2.0.0,>=1.2.0.dev3 in c:\devine\.venv\lib\site-packages (from devine) (1.2.0.dev3)
    Requirement already satisfied: lxml<6.0.0,>=5.2.1 in c:\devine\.venv\lib\site-packages (from devine) (5.2.1)
    Requirement already satisfied: marisa-trie<2.0.0,>=1.1.0 in c:\devine\.venv\lib\site-packages (from devine) (1.1.0)
    Requirement already satisfied: pproxy<3.0.0,>=2.7.9 in c:\devine\.venv\lib\site-packages (from devine) (2.7.9)
    Requirement already satisfied: protobuf<5.0.0,>=4.25.3 in c:\devine\.venv\lib\site-packages (from devine) (4.25.3)
    Requirement already satisfied: pycaption<3.0.0,>=2.2.4 in c:\devine\.venv\lib\site-packages (from devine) (2.2.4)
    Requirement already satisfied: pycryptodomex<4.0.0,>=3.20.0 in c:\devine\.venv\lib\site-packages (from devine) (3.20.0)
    Requirement already satisfied: pyjwt<3.0.0,>=2.8.0 in c:\devine\.venv\lib\site-packages (from devine) (2.8.0)
    Requirement already satisfied: pymediainfo<7.0.0,>=6.1.0 in c:\devine\.venv\lib\site-packages (from devine) (6.1.0)
    Requirement already satisfied: pymp4<2.0.0,>=1.4.0 in c:\devine\.venv\lib\site-packages (from devine) (1.4.0)
    Requirement already satisfied: pymysql<2.0.0,>=1.1.0 in c:\devine\.venv\lib\site-packages (from devine) (1.1.0)
    Requirement already satisfied: pywidevine<2.0.0,>=1.8.0 in c:\devine\.venv\lib\site-packages (from pywidevine[serve]<2.0.0,>=1.8.0->devine) (1.8.0)
    Requirement already satisfied: requests<3.0.0,>=2.31.0 in c:\devine\.venv\lib\site-packages (from requests[socks]<3.0.0,>=2.31.0->devine) (2.31.0)
    Requirement already satisfied: rich<14.0.0,>=13.7.1 in c:\devine\.venv\lib\site-packages (from devine) (13.7.1)
    Requirement already satisfied: rlaphoenix.m3u8<4.0.0,>=3.4.0 in c:\devine\.venv\lib\site-packages (from devine) (3.4.0)
    Requirement already satisfied: ruamel.yaml<0.19.0,>=0.18.6 in c:\devine\.venv\lib\site-packages (from devine) (0.18.6)
    Requirement already satisfied: sortedcontainers<3.0.0,>=2.4.0 in c:\devine\.venv\lib\site-packages (from devine) (2.4.0)
    Requirement already satisfied: subtitle-filter<2.0.0,>=1.4.9 in c:\devine\.venv\lib\site-packages (from devine) (1.4.9)
    Requirement already satisfied: urllib3<3.0.0,>=2.2.1 in c:\devine\.venv\lib\site-packages (from devine) (2.2.1)
    Requirement already satisfied: colorama in c:\devine\.venv\lib\site-packages (from click<9.0.0,>=8.1.7->devine) (0.4.6)
    Requirement already satisfied: cffi>=1.12.0 in c:\devine\.venv\lib\site-packages (from curl-cffi<0.7.0,>=0.6.2->devine) (1.16.0)
    Requirement already satisfied: certifi in c:\devine\.venv\lib\site-packages (from curl-cffi<0.7.0,>=0.6.2->devine) (2024.2.2)
    Requirement already satisfied: setuptools in c:\devine\.venv\lib\site-packages (from marisa-trie<2.0.0,>=1.1.0->devine) (69.2.0)
    Requirement already satisfied: beautifulsoup4>=4.12.1 in c:\devine\.venv\lib\site-packages (from pycaption<3.0.0,>=2.2.4->devine) (4.12.3)
    Requirement already satisfied: cssutils>=2.0.0 in c:\devine\.venv\lib\site-packages (from pycaption<3.0.0,>=2.2.4->devine) (2.10.2)
    Requirement already satisfied: pycryptodome<4.0.0,>=3.19.0 in c:\devine\.venv\lib\site-packages (from pywidevine<2.0.0,>=1.8.0->pywidevine[serve]<2.0.0,>=1.8.0->devine) (3.20.0)
    Requirement already satisfied: aiohttp<4.0.0,>=3.9.1 in c:\devine\.venv\lib\site-packages (from pywidevine[serve]<2.0.0,>=1.8.0->devine) (3.9.3)
    Requirement already satisfied: charset-normalizer<4,>=2 in c:\devine\.venv\lib\site-packages (from requests<3.0.0,>=2.31.0->requests[socks]<3.0.0,>=2.31.0->devine) (3.3.2)
    Requirement already satisfied: idna<4,>=2.5 in c:\devine\.venv\lib\site-packages (from requests<3.0.0,>=2.31.0->requests[socks]<3.0.0,>=2.31.0->devine) (3.6)
    Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in c:\devine\.venv\lib\site-packages (from requests[socks]<3.0.0,>=2.31.0->devine) (1.7.1)
    Requirement already satisfied: markdown-it-py>=2.2.0 in c:\devine\.venv\lib\site-packages (from rich<14.0.0,>=13.7.1->devine) (3.0.0)
    Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\devine\.venv\lib\site-packages (from rich<14.0.0,>=13.7.1->devine) (2.17.2)
    Requirement already satisfied: iso8601 in c:\devine\.venv\lib\site-packages (from rlaphoenix.m3u8<4.0.0,>=3.4.0->devine) (2.1.0)
    Requirement already satisfied: ruamel.yaml.clib>=0.2.7 in c:\devine\.venv\lib\site-packages (from ruamel.yaml<0.19.0,>=0.18.6->devine) (0.2.8)
    Requirement already satisfied: aiosignal>=1.1.2 in c:\devine\.venv\lib\site-packages (from aiohttp<4.0.0,>=3.9.1->pywidevine[serve]<2.0.0,>=1.8.0->devine) (1.3.1)
    Requirement already satisfied: attrs>=17.3.0 in c:\devine\.venv\lib\site-packages (from aiohttp<4.0.0,>=3.9.1->pywidevine[serve]<2.0.0,>=1.8.0->devine) (23.2.0)
    Requirement already satisfied: frozenlist>=1.1.1 in c:\devine\.venv\lib\site-packages (from aiohttp<4.0.0,>=3.9.1->pywidevine[serve]<2.0.0,>=1.8.0->devine) (1.4.1)
    Requirement already satisfied: multidict<7.0,>=4.5 in c:\devine\.venv\lib\site-packages (from aiohttp<4.0.0,>=3.9.1->pywidevine[serve]<2.0.0,>=1.8.0->devine) (6.0.5)
    Requirement already satisfied: yarl<2.0,>=1.0 in c:\devine\.venv\lib\site-packages (from aiohttp<4.0.0,>=3.9.1->pywidevine[serve]<2.0.0,>=1.8.0->devine) (1.9.4)
    Requirement already satisfied: soupsieve>1.2 in c:\devine\.venv\lib\site-packages (from beautifulsoup4>=4.12.1->pycaption<3.0.0,>=2.2.4->devine) (2.5)
    Requirement already satisfied: pycparser in c:\devine\.venv\lib\site-packages (from cffi>=1.12.0->curl-cffi<0.7.0,>=0.6.2->devine) (2.22)
    Requirement already satisfied: mdurl~=0.1 in c:\devine\.venv\lib\site-packages (from markdown-it-py>=2.2.0->rich<14.0.0,>=13.7.1->devine) (0.1.2)
    
    (devine-py3.11) C:\devine>devine env info
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         [Root Config]     : C:\Users\xxxx\AppData\Local\devine\devine.yaml
         [Cookies]         : C:\PATH\devine\cookies
         [WVDs]            : C:\Users\xxxx\AppData\Local\devine\WVDs
         [Cache]           : C:\PATH\devine\cache
         [Logs]            : C:\PATH\devine\Logs
         [Temp Files]      : C:\PATH\devine\temp
         [Downloads]       : C:\PATH\devine\downloads
    (devine-py3.11) C:\devine>devine env info
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         [Root Config]     : C:\Users\xxxx\AppData\Local\devine\devine.yaml
         [Cookies]         : C:\devine\cookies
         [WVDs]            : C:\Users\xxxx\AppData\Local\devine\WVDs
         [Cache]           : C:\devine\cache
         [Logs]            : C:\Users\xxxx\AppData\Local\devine\Logs
         [Temp Files]      : C:\devine\temp
         [Downloads]       : C:\devine\downloads
    (devine-py3.11) C:\devine>devine dl -w s01e01 CTV cold-squad
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Failed to load Widevine CDM, ***** does not exist or is not a file
    (devine-py3.11) C:\devine>
    The terrific thing is it has something to do with venv. Even if I never get this working I am glad I got this far.
    Quote Quote  
  8. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    The terrific thing is it has something to do with venv. Even if I never get this working I am glad I got this far.
    The.wvd file isn't where it should be or you have not referenced it correctly in the devine.yaml file.

    Use devine env info to find the correct location for it and check the yaml file.
    Quote Quote  
  9. Originally Posted by mkjustuk View Post
    Fab, thank you very much. I've tried that and I get an immediate Token expired error now, with either. It looks like it's caching something, but I can't see an option to clear or ignore the cache. - **Found the cache folder and just emptied it!**

    Now getting an android_heights error -
    Code:
    UnboundLocalError: cannot access local variable 'android_heights' where it is 
    not associated with a value
    Once in a while, the cached authorization token for ALL4 becomes invalid before it's set to expire and you'll have to clear the cache:
    Code:
    devine env clear cache ALL4
    Your other error is most likely due to bad VPN/proxy. If you check the logs, it'll probably show you a <Response [403]>.
    Quote Quote  
  10. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Originally Posted by stabbedbybrick View Post
    Once in a while, the cached authorization token for ALL4 becomes invalid before it's set to expire and you'll have to clear the cache:
    Code:
    devine env clear cache ALL4
    Your other error is most likely due to bad VPN/proxy. If you check the logs, it'll probably show you a <Response [403]>.
    Brilliant, it was indeed my VPN connection that wasn't working on a particular server - thanks! The env clear cache was what I needed, noted!
    Quote Quote  
  11. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Is there a way to set the output format/container for all downloads? I can't see a command listed to force mp4 over mkv?
    Last edited by mkjustuk; 23rd Apr 2024 at 09:28. Reason: first question resolved
    Quote Quote  
  12. A question for stabbed....

    Would it be possible for sometime in the future to possibly have the service of itv ported over please.
    Quote Quote  
  13. Originally Posted by LastResort View Post
    A question for stabbed....

    Would it be possible for sometime in the future to possibly have the service of itv ported over please.
    Yeah, probably. I'm focusing on "non-free" services where you can still get 1080p/2160p with L3 right now, but I'll probably add some free ones as well.

    In the meantime, I believe Freevine still works, and I think Angela's downloader's got ITV, so there are several options available.
    Quote Quote  
  14. Originally Posted by mkjustuk View Post
    Is there a way to set the output format/container for all downloads? I can't see a command listed to force mp4 over mkv?
    Nope ... no "official" support for MP4 container.

    The only option at the moment is MKV,
    been advised to raise on GitHub, (but I have not got and do not want a GitHub account ...)

    One way to achieve for the video not to MUX to MKV is forcing wrong type of SUBS,
    Devine will throw an ERROR and you can then merge the audio+video+subs with ffmpeg into MP4.
    Code:
    py -3.10 -m poetry run devine dl -v H.265 -w S01E01 --no-folder --sub-format TTML iP m001xxn5
    Convert the subs to SRT using: https://gotranscript.com/subtitle-converter


    #FFMpeg CMD Command:
    Code:
    ffmpeg -hide_banner ^
    -i Video_4c401f64.mp4 ^
    -i Audio_ba73abfd.mp4 ^
    -i Subtitle_808ecc.srt ^
    -strict experimental ^
    -map 0 -map 1 -map 2 ^
    -c:v copy ^
    -c:a copy ^
    -c:s mov_text ^
    -c:d copy ^
    -map_metadata 0 ^
    -metadata title="Mammals - Series 1: 1. Dark" ^
    -metadata description="The dark, a world of opportunity for mammals. More than two-thirds prefer the cover of the night, with some now returning to the safety of the shadows in order to avoid us." ^
    -metadata comment="https://www.bbc.co.uk/iplayer/episode/m001xxn3/mammals-series-1-1-dark" ^
    -metadata year="2024" ^
    -metadata:s:v:0 language=und -metadata:s:v:0 handler_name=Und -metadata:s:v:0 title="2160p | h265 - HDR HLG | 25FPS" ^
    -metadata:s:a:0 language=eng -metadata:s:a:0 handler_name=English -metadata:s:a:0 title="eng | English AAC LC 2.0 (Stereo) fltp, 189 kb/s (default)" ^
    -metadata:s:s:0 language=eng -metadata:s:s:0 handler_name=English -metadata:s:s:0 title="eng | English" ^
    -f mp4 -movflags use_metadata_tags ^
    -ignore_unknown -copy_unknown ^
    Mammals.S01E01.Dark.2160p.iPl.WEB-DL.AAC.LC.2.0.HDR.HLG.H.265.mp4 -v verbose

    #FFMpeg PS Command:
    Code:
    ffmpeg -hide_banner `
    -i Video_4c401f64.mp4 `
    -i Audio_ba73abfd.mp4 `
    -i Subtitle_808ecc.srt `
    -strict experimental `
    -map 0 -map 1 -map 2 `
    -c:v copy `
    -c:a copy `
    -c:s mov_text `
    -c:d copy `
    -map_metadata 0 `
    -metadata title="Mammals - Series 1: 1. Dark" `
    -metadata description="The dark, a world of opportunity for mammals. More than two-thirds prefer the cover of the night, with some now returning to the safety of the shadows in order to avoid us." `
    -metadata comment="https://www.bbc.co.uk/iplayer/episode/m001xxn3/mammals-series-1-1-dark" `
    -metadata year="2024" `
    -metadata:s:v:0 language=und -metadata:s:v:0 handler_name=Und -metadata:s:v:0 title="2160p | h265 - HDR HLG | 25FPS" `
    -metadata:s:a:0 language=eng -metadata:s:a:0 handler_name=English -metadata:s:a:0 title="eng | English AAC LC 2.0 (Stereo) fltp, 189 kb/s (default)" `
    -metadata:s:s:0 language=eng -metadata:s:s:0 handler_name=English -metadata:s:s:0 title="eng | English" `
    -f mp4 -movflags use_metadata_tags `
    -ignore_unknown -copy_unknown `
    Mammals.S01E01.Dark.2160p.iPl.WEB-DL.AAC.LC.2.0.HDR.HLG.H.265.mp4 -v verbose





    # Update 26/4/2024 (Windows)
    # I have found another way to convert TTML (XML) Subs to SRT from the PowerShell (PS) = ttconv
    # Library for conversion of common timed text formats
    # https://pypi.org/project/ttconv/

    #Installing as part of my Devine TPD DIR
    Code:
    (devine-py3.12) PS C:\Users\user\git\devine332TPDpy312poetry\devine> pip install --pre ttconv
    #Help Guide
    Code:
    (devine-py3.12) PS C:\Users\user\git\devine332TPDpy312poetry\devine> tt convert -h
    #Download UHD with SUBS set as TTML
    Code:
    devine dl -v H.265 -w S01E07 --no-folder --sub-format TTML iP p07dzjwl
    #List files in TEMP to get the names:
    Code:
    ls $home\AppData\Local\Temp\devine\

    #Convert TTML to SRT
    Code:
    tt convert -i $home\AppData\Local\Temp\devine\Subtitle_xXxXxX.ttml -o $home\AppData\Local\Temp\devine\Subtitle.srt
    #Merge all togethe in PS=PowerShell:
    Code:
    ffmpeg -hide_banner `
    -i $home\AppData\Local\Temp\devine\Video_xXxXxXxX.mp4 `
    -i $home\AppData\Local\Temp\devine\Audio_XxXxXxXx.mp4 `
    -i $home\AppData\Local\Temp\devine\Subtitle.srt `
    -strict experimental `
    -map 0 -map 1 -map 2 `
    -c:v copy `
    -c:a copy `
    -c:s mov_text `
    -c:d copy `
    -map_metadata 0 `
    -metadata title="Seven Worlds, One Planet - Series 1: 7. Africa" `
    -metadata description="Africa - home to the greatest wildlife gatherings on earth. But even in this land of plenty, wildlife faces huge challenges." `
    -metadata comment="https://www.bbc.co.uk/iplayer/episode/m000c6pn/seven-worlds-one-planet-series-1-7-africa" `
    -metadata year="2019" `
    -metadata:s:v:0 language=und -metadata:s:v:0 handler_name=Und -metadata:s:v:0 title="2160p | h265 - HDR HLG | 25FPS" `
    -metadata:s:a:0 language=eng -metadata:s:a:0 handler_name=English -metadata:s:a:0 title="eng | English AAC LC 2.0 (Stereo) fltp, 189 kb/s (default)" `
    -metadata:s:s:0 language=eng -metadata:s:s:0 handler_name=English -metadata:s:s:0 title="eng | English SRT" `
    -f mp4 -movflags use_metadata_tags `
    -ignore_unknown -copy_unknown `
    $home\Videos\Seven.Worlds-One.Planet.S01E07.Africa.2019.2160p.iPl.WEB-DL.AAC.LC.2.0.HDR.HLG.H.265.mp4 -v verbose

    #Remove "ALL" the TEMP data:
    Code:
    rm $home\AppData\Local\Temp\devine\*.*


    # Update 27/4/2024
    Thank you for "requesting" this "enhancement".
    Last edited by pssh; 27th Apr 2024 at 05:34.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  15. @stabbedbybrick

    Would it be possible to include in the "SERVICES" the following as well please:

    https://www.rtve.es/play/ [1080p, WV, Free Account registration OFFERED, not enforced YET]
    https://www.rtp.pt/play/ [Max 720p, drmtoday]
    https://www.raiplay.it/film/ [Max 720p, Clear, Free Account required, +DOB]
    https://www.france.tv/films/ [1080p, Clear, Free Account required, +DOB + Post Code - Google Maps can supply]
    Last edited by pssh; 24th Apr 2024 at 03:48.
    Quote Quote  
  16. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Originally Posted by pssh View Post
    Nope ... no "official" support for MP4 container.

    The only option at the moment is MKV,
    been advised to raise on GitHub, (but I have not got and do not want a GitHub account ...)
    Ok thanks for the confirmation - I'll raise it on GitHub then as it's an obvious omission.
    Quote Quote  
  17. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by pssh View Post
    Originally Posted by mkjustuk View Post
    Is there a way to set the output format/container for all downloads? I can't see a command listed to force mp4 over mkv?
    Nope ... no "official" support for MP4 container.

    The only option at the moment is MKV,
    been advised to raise on GitHub, (but I have not got and do not want a GitHub account ...)

    One way to achieve for the video not to MUX to MKV is forcing wrong type of SUBS,
    Devine will throw an ERROR and you can then merge the audio+video+subs with ffmpeg into MP4.
    One way I suppose, but a bit round-the houses.
    Wouldn't it to be easier to let Devine download an mkv, and then, if you really must use a less space efficient container, run ffmpeg on the mkv to do the conversion?
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  18. Do not send me DM's
    Join Date
    Dec 2021
    Location
    Tórshavn
    Search Comp PM
    Originally Posted by mkjustuk View Post
    Originally Posted by pssh View Post
    Nope ... no "official" support for MP4 container.

    The only option at the moment is MKV,
    been advised to raise on GitHub, (but I have not got and do not want a GitHub account ...)
    Ok thanks for the confirmation - I'll raise it on GitHub then as it's an obvious omission.
    It's not an omission. MP4 is outdated. Devine uses mkvmerge see: devine/core/tracks/tracks.py lines 330-33 & 401-407
    Code:
             cl = [
                "mkvmerge",
                "--no-date",  # remove dates from the output for security
            ]
    Code:
           output_path = (
                self.videos[0].path.with_suffix(".muxed.mkv") if self.videos else
                self.audio[0].path.with_suffix(".muxed.mka") if self.audio else
                self.subtitles[0].path.with_suffix(".muxed.mks") if self.subtitles else
                chapters_path.with_suffix(".muxed.mkv") if self.chapters else
                None
            )
    MKV is a far better container than mp4, it supports a larger number of codecs and file types. (This tool identifies avc/x264/x265, mp4 is limited to specific versions of these codecs while mkv is far more flexible.)
    The script does not need to be changed. If you really are desperate for the output file to be mp4, do as A_n_g_e_l_a says and use ffmpeg
    Code:
    ffmpeg -i input.mkv -map 0 -map_metadata 0 -c:v copy -c:a copy -c:s copy output.mp4 && rm input.mkv
    Takes seconds, retains everything without faffing about with bento4 or similar.
    Quote Quote  
  19. Originally Posted by pssh View Post
    @stabbedbybrick

    Would it be possible to include in the "SERVICES" the following as well please:

    https://www.rtve.es/play/ [1080p, WV, Free Account registration OFFERED, not enforced YET]
    https://www.rtp.pt/play/ [Max 720p, drmtoday]
    https://www.raiplay.it/film/ [Max 720p, Clear, Free Account required, +DOB]
    https://www.france.tv/films/ [1080p, Clear, Free Account required, +DOB + Post Code - Google Maps can supply]
    Possible, sure, but I probably won't. Right now, I'm focusing more on services I actually use myself. Which tend to be predominantly English-speaking or from my local region.
    Quote Quote  
  20. Originally Posted by A_n_g_e_l_a View Post
    One way I suppose, but a bit round-the houses.
    Wouldn't it to be easier to let Devine download an mkv, and then, if you really must use a less space efficient container, run ffmpeg on the mkv to do the conversion?
    From past experience
    MKV can include many formats of SUBtitles,
    so wanted to avoid "Devine" muxing it all to MKV
    (and having to extract or re-download the SUBs again)
    to include them in MP4 container...as MP4 should have subs as SRT (and other apple format)
    for compatibility ......
    Last edited by pssh; 24th Apr 2024 at 08:41.
    Quote Quote  
  21. Originally Posted by Sorenb View Post
    MKV is a far better container than mp4, it supports a larger number of codecs and file types. (This tool identifies avc/x264/x265, mp4 is limited to specific versions of these codecs while mkv is far more flexible.)
    The script does not need to be changed. If you really are desperate for the output file to be mp4, do as A_n_g_e_l_a says and use ffmpeg
    Code:
    ffmpeg -i input.mkv -map 0 -map_metadata 0 -c:v copy -c:a copy -c:s copy output.mp4 && rm input.mkv
    Takes seconds, retains everything without faffing about with bento4 or similar.
    The above command would work if subtitles inside the MKV ware other then SRT|S_TEXT/UTF8 as well?

    The question was not about whenever the MKV is better then MP4 or the other way round.

    Some people prefer MP4 container and as much of the stuff gets downloaded
    as MP4S, want to keep it in the MP4 container ......for compatibility, etc.

    In Freevine it took 2 seconds to configure to have all downloaded as MP4
    and Devine is a different cup of tea ........

    Developer is aware and if "requested" on GitHub he will look into this.

    Having the option to "merge" the MP4 files instead of muxing to MKV
    will IMHO not make "Devine" any more worse off.
    Last edited by pssh; 24th Apr 2024 at 08:45.
    Quote Quote  
  22. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by pssh View Post

    From past experience
    MKV can include many formats of SUBtitles,
    so wanted to avid "Devine" muxing it all to MKV
    (and having to extract or re-download the SUBs again)
    to include them in MP4 container...as MP4 should have subs as SRT (and other apple format)
    for compatibility ......
    Bit bruised eh? I thought Devine only downloaded srt for the moment. Is that not the case?
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  23. Originally Posted by stabbedbybrick View Post
    Originally Posted by LastResort View Post
    A question for stabbed....

    Would it be possible for sometime in the future to possibly have the service of itv ported over please.
    Yeah, probably. I'm focusing on "non-free" services where you can still get 1080p/2160p with L3 right now, but I'll probably add some free ones as well.

    In the meantime, I believe Freevine still works, and I think Angela's downloader's got ITV, so there are several options available.
    Thank you for the reply Stabby,

    I'm still using Angela's, and freevine... and thanks for the "heads up" on the free ones. (I am a Prime subscriber, is that in the pipeline, or would you advise not to use my personal credentials).
    Quote Quote  
  24. Not sure, (you may be right

    Adding an config "devine cfg dl.sub_format srt" seem to be advise ..

    But,
    what I know from my past attempts to get MKV to MP4 if subs are not SRT it's pain the the ......
    Quote Quote  
  25. mkvextract can be used to extract any track from an mkv and there are a million subtitle converters that can convert to srt. Then mux it into the mp4 with ffmpeg.

    I don't really see what the problem is. I doubt devine will ever support mp4, or at least, it would be at the bottom of the priority list.
    Quote Quote  
  26. Originally Posted by LastResort View Post

    Thank you for the reply Stabby,

    I'm still using Angela's, and freevine... and thanks for the "heads up" on the free ones. (I am a Prime subscriber, is that in the pipeline, or would you advise not to use my personal credentials).
    I do have one for Prime/AMZN, but I probably won't post it online anytime soon. The code is a huge mess at the moment, and you can't get any decent quality with L3 so it's not really worth the effort to clean it up until I'm cool enough to get access to a higher level CDM.

    The audio is great, but the best video you can hope for is SD:

    Image
    [Attachment 78608 - Click to enlarge]


    If you don't mind low quality, I do believe there's an AMZN service on CDM project, though. I haven't tried it so I can't say how well it works, but it might be worth a shot.

    As for using your personal credentials, you're safe as long as you're using the official Devine and service code from reputable sources. I'd advise against using sensitive credentials/cookies with some random version of Vinetrimmer or other scripts found lying around.
    Quote Quote  
  27. Thank you for the reply Stabby...
    Last edited by LastResort; 2nd May 2024 at 16:57.
    Quote Quote  
  28. Is there any way to download multiple audio tracks with "Devine"?

    If not, anyone got any "hacks" how to do so?

    I have tried:

    Code:
    devine dl -q 360 -a DD,AAC -w s02e01 --no-folder CTV /shows/227
    devine dl -q 360 -a DD+AAC -w s02e01 --no-folder CTV /shows/227
    devine dl -q 360 -a DD|AAC -w s02e01 --no-folder CTV /shows/227
    devine dl -q 360 -a DD -AAC -w s02e01 --no-folder CTV /shows/227
    But without result.

    Looking at the code
    https://cdm-project.com/TPD94/devine/src/branch/master/devine/commands/dl.py
    video has the option to download multiple resolutions(s), but no such a thing for Audio
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  29. Originally Posted by LastResort View Post
    Originally Posted by stabbedbybrick View Post
    Originally Posted by LastResort View Post
    A question for stabbed....

    Would it be possible for sometime in the future to possibly have the service of itv ported over please.
    Yeah, probably. I'm focusing on "non-free" services where you can still get 1080p/2160p with L3 right now, but I'll probably add some free ones as well.

    In the meantime, I believe Freevine still works, and I think Angela's downloader's got ITV, so there are several options available.
    Thank you for the reply Stabby,

    I'm still using Angela's, and freevine... and thanks for the "heads up" on the free ones. (I am a Prime subscriber, is that in the pipeline, or would you advise not to use my personal credentials).
    Pmed you
    Quote Quote  
  30. Originally Posted by pssh View Post
    Is there any way to download multiple audio tracks with "Devine"?

    If not, anyone got any "hacks" how to do so?

    I have tried:

    Code:
    devine dl -q 360 -a DD,AAC -w s02e01 --no-folder CTV /shows/227
    devine dl -q 360 -a DD+AAC -w s02e01 --no-folder CTV /shows/227
    devine dl -q 360 -a DD|AAC -w s02e01 --no-folder CTV /shows/227
    devine dl -q 360 -a DD -AAC -w s02e01 --no-folder CTV /shows/227
    But without result.

    Looking at the code
    https://cdm-project.com/TPD94/devine/src/branch/master/devine/commands/dl.py
    video has the option to download multiple resolutions(s), but no such a thing for Audio
    There's no default feature for this as far as I know. You'd have to add it to the service code yourself.
    Quote Quote  



Similar Threads

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