VideoHelp Forum




+ Reply to Thread
Page 44 of 53
FirstFirst ... 34 42 43 44 45 46 ... LastLast
Results 1,291 to 1,320 of 1590
  1. Originally Posted by Tricky_Vicky View Post
    Originally Posted by SaintyUK View Post
    Originally Posted by darkell View Post
    I've read that it can download videos from BBC in 4K
    I have actually found the UHD downloads to be failing myself.

    On the left, a file downloaded using Devine and a L3 wvd that I extracted myself from a rooted Pixel 4a. On the right, the same file downloaded from the torrents.

    The torrented one on the right will play as UHD on my LG TV both via direct play (usb), and through Plex. The one of the left is SD only.

    Mediainfo detects some very minor differences between the files, but from what I can read the "BT.2020" should mean "HDR" for both of them. I am feeling a little lost, and mightily confused.

    Does anyone have some suggestions on what I can try please? Thanks.




    a]
    iPlayer does not use L3 (can change after 2027
    What is even more upsetting to see, is that "stabbedbybrick" also marked the fact in help !!!
    https://cdm-project.com/stabbedbybrick/devine-services/src/branch/main/services/iP/__init__.py
    Security: None

    So you either did not run:
    Code:
     devine dl iP -?
    Or did not read/understand the output of the command

    Plus now, "Services" are versioned. Thank you very much "stabbedbybrick".


    b]
    The file on the left is also UHD with HDR that is HLG.

    - SD up to 576p
    - HD = 720p
    - FHD = 1080p
    - UHD = 2160p

    - HDR = HLG / HDR10 / HDR10+ / DV

    I am not familiar with LG TVs, but I doubt that your TV will "downscale" to SD,
    can you expand on your statement "The one of the left is SD only." and
    how did you come to that conclusion?


    c]
    MediaInfo - Debug - Complete
    and compare the files (best to also use same S and E)


    d]
    Read the manual for your TV, what resolution/fps/codecs/containers will it play etc.


    e]
    Try editing the file with MakeMKVToolNixGUI.

    - the file on the left has tag for Video as English, set to "und" or not at all maybe could work .....
    (but I am guessing here as I have not come across TV that would downscale HLG to SD)


    f]
    Could it be the heat and the TV may need some cooling (Corona)??
    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  
  2. Originally Posted by pssh View Post
    Which environment are you running Devine in?
    Weird! I was running it in a virtual machine via Hyper-V but not explicitly the Windows Sandbox. I will try to recreate the environment and give this another go but perhaps it is something to do with the virtualisation
    Quote Quote  
  3. I am giving iP a try again and I have success listing titles so that is a first for me. I am failing on getting it set up for a download though.

    This is successful:

    devine dl --list-titles iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    It results in a title list. Now this fails:

    devine dl --list iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    It results in "ConnectionError: Failed to request the M3U(8) document" as does

    devine dl -q 480 -w S02E01-S02E08 iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    Here is the log:

    Code:
    C:\devine>devine dl -q 480 -w S02E01-S02E08 iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2025 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4464 (L3)
         Loaded 1 Vaults
    
      ─────────────────────────────── Service: iP ────────────────────────────────
    
         Service is not Geoblocked in your region
         Authenticated with Service
    
      ────────────────────── Series: Silent Witness (1996) ───────────────────────
    
         28 Seasons, 249 Episodes
    
      ─────────── Silent Witness S02E01 Blood, Sweat and Tears, Part 1 ───────────
    
    ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
    │ in _run_module_as_main:198                                                   │
    │ in _run_code:88                                                              │
    │                                                                              │
    │ in <module>:7                                                                │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1157 in __call__                                                  │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1078 in main                                                      │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1657 in _process_result                                           │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:783 in invoke                                                     │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\dev │
    │ ine\commands\dl.py:340 in result                                             │
    │                                                                              │
    │   337 │   │   │   │   events.subscribe(events.Types.TRACK_MULTIPLEX, service │
    │   338 │   │   │                                                              │
    │   339 │   │   │   with console.status("Getting tracks...", spinner="dots"):  │
    │ ❱ 340 │   │   │   │   title.tracks.add(service.get_tracks(title), warn_only= │
    │   341 │   │   │   │   title.tracks.chapters = service.get_chapters(title)    │
    │   342 │   │   │                                                              │
    │   343 │   │   │   # strip SDH subs to non-SDH if no equivalent same-lang non │
    │                                                                              │
    │ C:\Users\sheld\git\stabbedbybrick-333\devine-services\services\iP\__init__.p │
    │ y:205 in get_tracks                                                          │
    │                                                                              │
    │   202 │   │   if connection["transferFormat"] == "dash":                     │
    │   203 │   │   │   tracks = DASH.from_url(url=connection["href"], session=sel │
    │   204 │   │   elif connection["transferFormat"] == "hls":                    │
    │ ❱ 205 │   │   │   tracks = HLS.from_url(url=connection["href"], session=self │
    │   206 │   │   else:                                                          │
    │   207 │   │   │   raise ValueError(f"Unsupported video media transfer format │
    │   208                                                                        │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\dev │
    │ ine\core\manifests\hls.py:56 in from_url                                     │
    │                                                                              │
    │    53 │   │                                                                  │
    │    54 │   │   res = session.get(url, **args)                                 │
    │    55 │   │   if not res.ok:                                                 │
    │ ❱  56 │   │   │   raise requests.ConnectionError(                            │
    │    57 │   │   │   │   "Failed to request the M3U(8) document.",              │
    │    58 │   │   │   │   response=res                                           │
    │    59 │   │   │   )                                                          │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    ConnectionError: Failed to request the M3U(8) document.
    
    C:\devine>
    Any advice is appreciated and thank you in advance. I am pleased though as this as close as I have ever got iP to work for me in Devine or in any other program.
    Quote Quote  
  4. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    I am giving iP a try again and I have success listing titles so that is a first for me. I am failing on getting it set up for a download though.

    This is successful:

    devine dl --list-titles iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    It results in a title list. Now this fails:

    devine dl --list iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    It results in "ConnectionError: Failed to request the M3U(8) document" as does

    devine dl -q 480 -w S02E01-S02E08 iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    Here is the log:

    Code:
    C:\devine>devine dl -q 480 -w S02E01-S02E08 iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2025 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4464 (L3)
         Loaded 1 Vaults
    
      ─────────────────────────────── Service: iP ────────────────────────────────
    
         Service is not Geoblocked in your region
         Authenticated with Service
    
      ────────────────────── Series: Silent Witness (1996) ───────────────────────
    
         28 Seasons, 249 Episodes
    
      ─────────── Silent Witness S02E01 Blood, Sweat and Tears, Part 1 ───────────
    
    ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
    │ in _run_module_as_main:198                                                   │
    │ in _run_code:88                                                              │
    │                                                                              │
    │ in <module>:7                                                                │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1157 in __call__                                                  │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1078 in main                                                      │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1657 in _process_result                                           │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:783 in invoke                                                     │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\dev │
    │ ine\commands\dl.py:340 in result                                             │
    │                                                                              │
    │   337 │   │   │   │   events.subscribe(events.Types.TRACK_MULTIPLEX, service │
    │   338 │   │   │                                                              │
    │   339 │   │   │   with console.status("Getting tracks...", spinner="dots"):  │
    │ ❱ 340 │   │   │   │   title.tracks.add(service.get_tracks(title), warn_only= │
    │   341 │   │   │   │   title.tracks.chapters = service.get_chapters(title)    │
    │   342 │   │   │                                                              │
    │   343 │   │   │   # strip SDH subs to non-SDH if no equivalent same-lang non │
    │                                                                              │
    │ C:\Users\sheld\git\stabbedbybrick-333\devine-services\services\iP\__init__.p │
    │ y:205 in get_tracks                                                          │
    │                                                                              │
    │   202 │   │   if connection["transferFormat"] == "dash":                     │
    │   203 │   │   │   tracks = DASH.from_url(url=connection["href"], session=sel │
    │   204 │   │   elif connection["transferFormat"] == "hls":                    │
    │ ❱ 205 │   │   │   tracks = HLS.from_url(url=connection["href"], session=self │
    │   206 │   │   else:                                                          │
    │   207 │   │   │   raise ValueError(f"Unsupported video media transfer format │
    │   208                                                                        │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\dev │
    │ ine\core\manifests\hls.py:56 in from_url                                     │
    │                                                                              │
    │    53 │   │                                                                  │
    │    54 │   │   res = session.get(url, **args)                                 │
    │    55 │   │   if not res.ok:                                                 │
    │ ❱  56 │   │   │   raise requests.ConnectionError(                            │
    │    57 │   │   │   │   "Failed to request the M3U(8) document.",              │
    │    58 │   │   │   │   response=res                                           │
    │    59 │   │   │   )                                                          │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    ConnectionError: Failed to request the M3U(8) document.
    
    C:\devine>
    Any advice is appreciated and thank you in advance. I am pleased though as this as close as I have ever got iP to work for me in Devine or in any other program.
    no 480p..
    available track:
    Code:
       ─────────── Silent Witness S02E01 Blood, Sweat and Tears, Part 1 ───────────
    
         ╭───────────────────────── Available Tracks ─────────────────────────╮
         │ 12 Videos                                                          │
         │ ├── [H.264, SDR] | en | 1920x1080 @ 12000 kb/s, 50.000 FPS         │
         │ ├── [H.264, SDR] | en | 1280x720 @ 5070 kb/s, 50.000 FPS           │
         │ ├── [H.264, SDR] | en | 960x540 @ 2812 kb/s, 50.000 FPS            │
         │ ├── [H.264, SDR] | en | 960x540 @ 1604 kb/s, 25.000 FPS            │
         │ ├── [H.264, SDR] | en | 704x396 @ 1570 kb/s, 50.000 FPS            │
         │ ├── [H.264, SDR] | en | 704x396 @ 827 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 640x360 @ 688 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 512x288 @ 437 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 448x252 @ 436 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 384x216 @ 281 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 256x144 @ 156 kb/s, 25.000 FPS             │
         │ └── [H.264, SDR] | en | 192x108 @ 86 kb/s, 25.000 FPS
    Quote Quote  
  5. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    I am giving iP a try again and I have success listing titles so that is a first for me. I am failing on getting it set up for a download though.

    This is successful:

    devine dl --list-titles iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    It results in a title list. Now this fails:

    devine dl --list iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    It results in "ConnectionError: Failed to request the M3U(8) document" as does

    devine dl -q 480 -w S02E01-S02E08 iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness

    Here is the log:

    Code:
    C:\devine>devine dl -q 480 -w S02E01-S02E08 iP https://www.bbc.co.uk/iplayer/episodes/b007y6k8/silent-witness
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.1 Copyright © 2019-2025 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4464 (L3)
         Loaded 1 Vaults
    
      ─────────────────────────────── Service: iP ────────────────────────────────
    
         Service is not Geoblocked in your region
         Authenticated with Service
    
      ────────────────────── Series: Silent Witness (1996) ───────────────────────
    
         28 Seasons, 249 Episodes
    
      ─────────── Silent Witness S02E01 Blood, Sweat and Tears, Part 1 ───────────
    
    ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
    │ in _run_module_as_main:198                                                   │
    │ in _run_code:88                                                              │
    │                                                                              │
    │ in <module>:7                                                                │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1157 in __call__                                                  │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1078 in main                                                      │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:1657 in _process_result                                           │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\cli │
    │ ck\core.py:783 in invoke                                                     │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\dev │
    │ ine\commands\dl.py:340 in result                                             │
    │                                                                              │
    │   337 │   │   │   │   events.subscribe(events.Types.TRACK_MULTIPLEX, service │
    │   338 │   │   │                                                              │
    │   339 │   │   │   with console.status("Getting tracks...", spinner="dots"):  │
    │ ❱ 340 │   │   │   │   title.tracks.add(service.get_tracks(title), warn_only= │
    │   341 │   │   │   │   title.tracks.chapters = service.get_chapters(title)    │
    │   342 │   │   │                                                              │
    │   343 │   │   │   # strip SDH subs to non-SDH if no equivalent same-lang non │
    │                                                                              │
    │ C:\Users\sheld\git\stabbedbybrick-333\devine-services\services\iP\__init__.p │
    │ y:205 in get_tracks                                                          │
    │                                                                              │
    │   202 │   │   if connection["transferFormat"] == "dash":                     │
    │   203 │   │   │   tracks = DASH.from_url(url=connection["href"], session=sel │
    │   204 │   │   elif connection["transferFormat"] == "hls":                    │
    │ ❱ 205 │   │   │   tracks = HLS.from_url(url=connection["href"], session=self │
    │   206 │   │   else:                                                          │
    │   207 │   │   │   raise ValueError(f"Unsupported video media transfer format │
    │   208                                                                        │
    │                                                                              │
    │ C:\Users\sheld\AppData\Local\Programs\Python\Python311\Lib\site-packages\dev │
    │ ine\core\manifests\hls.py:56 in from_url                                     │
    │                                                                              │
    │    53 │   │                                                                  │
    │    54 │   │   res = session.get(url, **args)                                 │
    │    55 │   │   if not res.ok:                                                 │
    │ ❱  56 │   │   │   raise requests.ConnectionError(                            │
    │    57 │   │   │   │   "Failed to request the M3U(8) document.",              │
    │    58 │   │   │   │   response=res                                           │
    │    59 │   │   │   )                                                          │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    ConnectionError: Failed to request the M3U(8) document.
    
    C:\devine>
    Any advice is appreciated and thank you in advance. I am pleased though as this as close as I have ever got iP to work for me in Devine or in any other program.
    To re-iterate what Imaghost said, no 480, but you can select the other versions with -q 540, -q 1080, etc.

    Or if there are two like 540, choose with -vb 1604 like below:
    Code:
    (env) PS C:\dl\Downloads> devine dl --list -w S02E01 iP b007y6k8
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.3 Copyright © 2019-2025 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4464 (L3)
         Loaded 1 Vaults
         Loaded Hola: 43 Countries
    
      ─────────────────────────────── Service: iP ────────────────────────────────
    
         Service is not Geoblocked in your region
         Authenticated with Service
    
      ────────────────────── Series: Silent Witness (1996) ───────────────────────
    
         28 Seasons, 249 Episodes
    
      ─────────── Silent Witness S02E01 Blood, Sweat and Tears, Part 1 ───────────
    
         ╭───────────────────────── Available Tracks ─────────────────────────╮
         │ 12 Videos                                                          │
         │ ├── [H.264, SDR] | en | 1920x1080 @ 12000 kb/s, 50.000 FPS         │
         │ ├── [H.264, SDR] | en | 1280x720 @ 5070 kb/s, 50.000 FPS           │
         │ ├── [H.264, SDR] | en | 960x540 @ 2812 kb/s, 50.000 FPS            │
         │ ├── [H.264, SDR] | en | 960x540 @ 1604 kb/s, 25.000 FPS            │
         │ ├── [H.264, SDR] | en | 704x396 @ 1570 kb/s, 50.000 FPS            │
         │ ├── [H.264, SDR] | en | 704x396 @ 827 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 640x360 @ 688 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 512x288 @ 437 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 448x252 @ 436 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 384x216 @ 281 kb/s, 25.000 FPS             │
         │ ├── [H.264, SDR] | en | 256x144 @ 156 kb/s, 25.000 FPS             │
         │ └── [H.264, SDR] | en | 192x108 @ 86 kb/s, 25.000 FPS              │
         │ 3 Audio                                                            │
         │ ├── [AAC] | en | 2.0 | 128 kb/s                                    │
         │ ├── [AAC] | en | 2.0 | 96 kb/s                                     │
         │ └── [AAC] | en | 2.0 | 48 kb/s                                     │
         │ 2 Subtitles                                                        │
         │ ├── [TTML] | en                                                    │
         │ └── [TTML] | en | SDH                                              │
         ╰────────────────────────────────────────────────────────────────────╯
         Processed all titles in 0m11s
    Code:
    (env) PS C:\dl\Downloads> devine dl -vb 1604 -w S02E01 iP b007y6k8
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.3 Copyright © 2019-2025 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4464 (L3)
         Loaded 1 Vaults
         Loaded Hola: 43 Countries
    
      ─────────────────────────────── Service: iP ────────────────────────────────
    
         Service is not Geoblocked in your region
         Authenticated with Service
    
      ────────────────────── Series: Silent Witness (1996) ───────────────────────
    
         28 Seasons, 249 Episodes
    
      ─────────── Silent Witness S02E01 Blood, Sweat and Tears, Part 1 ───────────
    
    
         1 Video
         └── [H.264, SDR] | en | 960x540 @ 1604 kb/s, 25.000 FPS
             ⠼ ━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 04:18 • HLS 1.7 MB/s
         1 Audio
         └── [AAC] | en | 2.0 | 128 kb/s
             ⠼ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • --:-- • -
         2 Subtitles
         ├── [TTML] | en
         │   ⠼ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • --:-- • -
         └── [TTML] | en | SDH
             ⠴ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • --:-- • -


    I also used the show ID not the full url, either works, sometime show id is just quicker to grab.
    Quote Quote  
  6. iamghost: Thank you for your post.

    ehurdler: I copied your code line and it seems like it is going to work and it says "not geoblocked", "authenticated with service", "fetching title metadata" "getting tracks" and then it fails in gives the line: ConnectionError: Failed to request the M3U(8) document

    But regardless whether this gets figured out thank you both for your guidance. Thankfully CBC worked fine when I used Devine earlier today and I did update to the latest services that stabbedbybrick put up.

    On a success front TUBI UK works just fine for me.
    Last edited by Tom Saurus; 18th Jan 2025 at 12:55.
    Quote Quote  
  7. Originally Posted by ehurdler View Post
    I also used the show ID not the full url, either works, sometime show id is just quicker to grab.

    It's not ID but PID (Programme Identifier)
    https://en.wikipedia.org/wiki/BBC_Programme_Identifier



    https://www.bbc.co.uk/programmes
    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  
  8. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by pssh View Post
    Originally Posted by ehurdler View Post
    I also used the show ID not the full url, either works, sometime show id is just quicker to grab.

    It's not ID but PID (Programme Identifier)
    https://en.wikipedia.org/wiki/BBC_Programme_Identifier



    https://www.bbc.co.uk/programmes
    I stand corrected, and Thank you. I never really took time to really look, just knew the instructions.

    The more info the better. Thanks pssh
    Quote Quote  
  9. I am giving up on iP for now. There is a lot of other services to keep me busy.
    Quote Quote  
  10. Originally Posted by Tom Saurus View Post
    I am giving up on iP for now. There is a lot of other services to keep me busy.
    Try vinefeeder in front of devine. that saves you having to find pids or ids. https://github.com/vinefeeder/VineFeeder
    Quote Quote  
  11. Originally Posted by pssh View Post
    The file on the left is also UHD with HDR that is HLG.

    I am not familiar with LG TVs, but I doubt that your TV will "downscale" to SD, can you expand on your statement "The one of the left is SD only." and how did you come to that conclusion?
    I really appreciate your answer, thank you. Though it looks like when I mistyped SDR as SD I opened a whole unnecessary avenue. My apologies, I know precision is key for things like this.

    The summary of my exploration was that I put both files onto a memory stick and played them one after another. The one I acquired via a torrent triggered the TVs HLG output (shown below), the one from Devine didn't. The command I have run is:

    Code:
    devine -d dl -q 2160 -r HLG iP https://www.bbc.co.uk/iplayer/episode/m001y4f2/mammals-series-1-2-the-new-wild
    So as far as I can tell I am writing all the correct commands.

    Here's the diffed ffprobe output from two files of the same episode (Mammals s01e02). "Language" and "Disposition" seems to be the only differences other than the length.


    I am investigating this as I can't find HDR versions of Asia anywhere and the Devine download wasn't triggering HDR on my TV. Mammals allowed the comparison.

    --------------

    Again, with thanks to @pssh I seem to have cracked this by loading the devine-created file into MKVToolNix and setting the value on "Transfer Characteristics" to 18 (rather than the 14 that Devine gave it). This swapped the value from "BT.2020 (10-bit)" to "HLG / BT.2020 (10-bit)".

    I can't guess at what can be edited to do this automatically, but this seems to be the answer. I will investigate an ffmpeg command.

    --------------

    Solution

    Running this command on the created file sets the correct HLG transfer characteristics.

    Code:
    mkvmerge -o output.mkv --colour-transfer-characteristics 0:18 input.mkv

    Here's the list of these 'characteristics' as it's not an area I have explored before:

    0: Reserved
    1: BT.709
    2: Unspecified
    3: Reserved
    4: Gamma 2.2 curve (BT.470 System M)
    5: Gamma 2.8 curve (BT.470 System B, G)
    6: SMPTE 170M
    7: SMPTE 240M
    8: Linear
    9: Logarithmic (100:1 range)
    10: Logarithmic (316.227:1 range)
    11: XVYCC
    12: BT.1361 Extended Colour Gamut
    13: sRGB or sYCC
    14: BT.2020 10-bit systems
    15: BT.2020 12-bit systems
    16: SMPTE ST 2084, ITU BT.2100 PQ
    17: SMPTE ST 428-1
    18: ARIB STD-B67 (HLG)
    Last edited by Tricky_Vicky; 19th Jan 2025 at 13:33. Reason: adding solution, typo
    Quote Quote  
  12. Hello,

    does devine have an option to add REPACK to the file name? Thanks.
    Quote Quote  
  13. Originally Posted by Tricky_Vicky View Post

    --------------

    Solution

    Running this command on the created file sets the correct HLG transfer characteristics.

    Code:
    mkvmerge -o output.mkv --colour-transfer-characteristics 0:18 input.mkv

    Here's the list of these 'characteristics' as it's not an area I have explored before:


    0: Reserved
    1: BT.709
    2: Unspecified
    3: Reserved
    4: Gamma 2.2 curve (BT.470 System M)
    5: Gamma 2.8 curve (BT.470 System B, G)
    6: SMPTE 170M
    7: SMPTE 240M
    8: Linear
    9: Logarithmic (100:1 range)
    10: Logarithmic (316.227:1 range)
    11: XVYCC
    12: BT.1361 Extended Colour Gamut
    13: sRGB or sYCC
    14: BT.2020 10-bit systems
    15: BT.2020 12-bit systems
    16: SMPTE ST 2084, ITU BT.2100 PQ
    17: SMPTE ST 428-1
    18: ARIB STD-B67 (HLG)
    Great find @Tricky_Vicky

    I have checked my HLG files both .mp4 and .mkv
    #MKV
    Code:
    find . -name "*.mkv" -type f | (while read FN ; do echo "$FN: $(mediainfo "--Inform=Video;Transfer_characteristics: %transfer_characteristics%" "$FN")"; done)
    #MP4
    Code:
    find . -name "*.m*" -type f | (while read FN ; do echo "$FN: $(mediainfo "--Inform=Video;Transfer_characteristics: %transfer_characteristics%" "$FN")"; done)

    and it's only some of my mkv's that have the 14 (BT.2020 10-bit systems) instead of 18 ARIB STD-B67 (HLG)........
    so it could be OS (Win 11 or Debian 12) dependent problem (as I can't remember which OS I have used with Devine to get some of the HLGs)
    or version of MakeMKVToolNix ......


    But looking at the MKV's I have the wollowing:
    Writing application: mkvmerge v80.0 ('Roundabout') 64-bitTransfer characteristics: BT.2020 (10-bit)
    Writing application: mkvmerge v84.0 ('Sleeper') 64-bitTransfer characteristics: BT.2020 (10-bit)
    Writing application: mkvmerge v85.0 ('Shame For You') 64-bitTransfer characteristics: HLG
    Writing application: mkvmerge v88.0 ('All I Know') 64-bitTransfer characteristics: BT.2020 (10-bit)
    Writing application: mkvmerge v89.0 ('And the Melody Still Lingers On (Night in Tunisia)') 64-bitTransfer characteristics: BT.2020 (10-bit)



    Code:
    nano $HOME/MITemplate.txt
    General;Writing application: %Encoded_Application%
    Video;Transfer characteristics: %transfer_characteristics%"
    Code:
    find . -name "*.mkv" -type f | (while read FN ; do echo "$FN: $(mediainfo --Inform="file://$HOME/MITemplate.txt" "$FN")"; done)
    Last edited by pssh; 19th Jan 2025 at 18:53.
    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  
  14. Originally Posted by pssh View Post
    (Credit goes to StabbedByBrick, PSXman_uk and countless others in this forum).

    Tested on the latest version of Windows 10 Pro 22H2 and Windows 11 Pro 24H2.


    #Update "stabbedbybrick" SERVICES:
    Code:
    git -C $home\git\SERVICES-stabbedbybrick\devine-services\ pull

    # Updating DEVINE "n_m3u8dl_re" branch:
    Code:
    cd $home\git\devine-333-poetry-n_m3u8dl_re\devine\
    # Git - Fetch/Pull from and integrate with another repository or a local branch
    git pull origin n_m3u8dl_re



    #################################################
    #[1] Devine needs the following to be installed and in PATH:
    #################################################

    - Python
    - Poetry
    - Git
    - MKVToolNix
    - FFmpeg
    - CCExtractor
    - Shaka Packager
    - aria2
    - Nano CLI Text Editor (edit files in PowerShell)
    - N-m3u8DL-RE



    An "how to" is here:
    https://forum.videohelp.com/threads/414487



    # PowerShell (Administrator | with elevated privileges);
    WinKey + x + a

    # Windows 10 ONLY"
    # Removes the per-installed version of the Microsoft Store app,
    # which includes the App Installer package that contains WinGet.
    # and install it from ms-windows -store

    Code:
    Get-AppxPackage Microsoft.DesktopAppInstaller | Remove-AppxPackage
    Code:
    start ms-windows-store://pdp/?productid=9nblggh4nns1


    Windows 11 comes with Winget, it just needs updating as it shipped with OUTDATED v1.21.10120.0.....
    # This command/script will install "WinGet/Windows Package Manager"
    # This windows will close after successfully installing it.

    Code:
    irm asheroto.com/winget | iex



    # PowerShell (Administrator | with elevated privileges);
    WinKey + x + a


    Code:
    # Install LATEST VLC, FFMpeg, Git, MKVToolNix, Nano, aria2 and Python 3.12;
    # YT-DLP depends on FFMpeg, so will automatically install it;
    winget install --accept-source-agreements --accept-package-agreements `
    VideoLAN.VLC `
    Gyan.FFmpeg `
    Git.Git `
    MoritzBunkus.MKVToolNix `
    GNU.Nano `
    aria2.aria2 `
    Python.Python.3.12 `
    #Fin; 
    
    #Speed-up the IWR (Invoke-WebRequest); 
    $ProgressPreference = 'SilentlyContinue'
    
    # Download/Extract "CCExtractor" v0.93; 
    Invoke-WebRequest `
    https://github.com/CCExtractor/ccextractor/releases/download/v0.93/CCExtractor.msi `
    -OutFile $home\Downloads\CCExtractor-v0.93.msi `
    #Fin; 
    #Install the OLDER version v0.93 (that works with Devine)
    Start-Process $home\Downloads\CCExtractor-v0.93.msi -ArgumentList '/quiet' -Wait `
    #Fin; 
    #Create "SymLink" for "ccextractor.exe"; 
    New-Item -ItemType SymbolicLink -Path C:\Windows\System32\ccextractor.exe `
    -Target "C:\Program Files (x86)\CCExtractor\ccextractorwinfull.exe" `
    #Fin; 
    
    # Download/Extract "N_m3u8DL-RE" - 20241203 | 0.3.0+ea9de55eacbd5e9dabf8dd92f5991ab1a37d80f2; 
    Invoke-WebRequest `
    https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.3.0-beta/N_m3u8DL-RE_v0.3.0-beta_win-x64_20241203.zip `
    -OutFile $home\Downloads\N_m3u8DL-RE_v0.3.0-beta_win-x64_20241203.zip `
    #Fin; 
    # Extract "N_m3u8DL-RE"; 
    tar -xzvf $home\Downloads\N_m3u8DL-RE_v0.3.0-beta_win-x64_20241203.zip `
    -C C:\Windows\System32\ --verbose `
    #Fin;
    
    # Download LATEST "shaka-packager"; 
    Invoke-WebRequest `
    https://github.com/shaka-project/shaka-packager/releases/latest/download/packager-win-x64.exe `
    -OutFile C:\Windows\System32\shaka-packager.exe `
    #Fin; 
    
    # Python at this stage is not in PATH in the current PowerShell
    # So need to close this Windows and open a NEW one
    
    #Exit the Administrator Console!!!;
    exit;


    # PowerShell (Administrator | with elevated privileges);
    WinKey + x + a
    (Can also be installed in "un-elevated Level)"...
    WinKey + x + i

    Code:
    # Poetry "1.8.4"
    (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - --version 1.8.4
    
    #Exit the Administrator Console!!!;
    exit;



    #########################################
    #[2] Add WINDOWS PATHS | Check all is installed as should be:
    #########################################

    #Fire up PS
    (PowerShell User/un-elevated Level)
    WinKey+x + i




    Code:
    # Install Windows PATHs for MKVToolNix, VLC, CCExtractor and Poetry;
    # Check what you have in path;
    $env:path.Split(";")
    
    # Add the following to the path;
    [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\Program Files\MKVToolNix\", "User")
    [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\Program Files\VideoLAN\VLC\", "User")
    [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\Program Files (x86)\CCExtractor\", "User")
    [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\Users\$env:UserName\AppData\Roaming\Python\Scripts", "User")
    
    #Exit the Console!!!;
    exit;











    OR using Windows GUI:
    Code:
    # Check your current PATHs;
    $env:path.Split(";")
    
    #Launch "Environment Variables" Window;
    powershell -command "&{start-process rundll32.exe sysdm.cpl,EditEnvironmentVariables}"
    #OR press "n" to open up "Environment Variables"
    Code:
    SystemPropertiesAdvanced

    PATHS for CCExtractor, MKVToolNix and Poetry:
    Code:
    c:\Program Files (x86)\CCExtractor\
    Code:
    c:\Program Files\MKVToolNix\
    Code:
    %USERPROFILE%\AppData\Roaming\Python\Scripts\




    (PowerShell User/un-elevated Level)
    WinKey+x + i

    Code:
    # Git; 
    git -v; 
    # FFMpeg; 
    ffmpeg -version; 
    ffprobe -version; 
    # Aria; 
    aria2c --version; 
    # Shaka; 
    shaka-packager -version; 
    # MKV ToolNix; 
    mkvextract --version; 
    mkvmerge --version; 
    # CCExtractor; 
    ccextractorwinfull --version; 
    ccextractor --version; 
    # Nano Editor; 
    nano --version; 
    # Python; 
    py -V; 
    python -V; 
    pip -V; 
    # Poetry; 
    poetry --version;
    # N_m3u8DL-RE; 
    N_m3u8DL-RE --version; 
    #Fin;

    If you get an error (IN RED)
    then correct it and install the required
    APPlication / BINary file.

    If you do not, this guide will not work for you ....

    An "how to" is here:
    https://forum.videohelp.com/threads/414487


    ##############################################
    #[3]Create DIR's to store Git, WVD's, Cookies;
    ##############################################

    Code:
    mkdir $home\git
    mkdir $home\wvd
    mkdir ~/DevineCookies
    #Fin;


    ######################################
    #[4] Clone "stabbedbybrick" SERVICES:
    ######################################

    Code:
    cd ~; 
    mkdir $home\git\SERVICES-stabbedbybrick 
    cd $home\git\SERVICES-stabbedbybrick 
    git clone https://cdm-project.com/stabbedbybrick/devine-services.git


    #########################
    #[5] # Download WVD, PEM:
    #########################


    Code:
    # Download WVD File; 
    Invoke-WebRequest `
    https://files.videohelp.com/u/33133/samsung_sm-a025g_16.0.0_929e205b_22589_l3.wvd `
    -OutFile $home\wvd\samsung_sm-a025g_16.0.0_929e205b_22589_l3.wvd `
    #Fin; 
    
    # Download BBC PEM; 
    Invoke-WebRequest `
    https://raw.githubusercontent.com/sdhtele/VT/18f0e652d3e1a532ca85510469ff175390056b98/vinetrimmer/certs/bbciplayer.pem `
    -OutFile $home\wvd\bbciplayer.pem `
    #Fin;


    ###########################
    #[6] Set "ExecutionPolicy";
    ###########################

    # Allow "CurrentUser" to run scrips locally, needed for Poetry...;
    # Downloaded scripts will "Require" a digital signature....;
    Code:
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
    Get-ExecutionPolicy -List


    ################################################## ##############
    #[7] Clone "stabbedbybrick" DEVINE v3.3.3 branch "n_m3u8dl_re";
    ################################################## ##############

    Code:
    cd $home
    mkdir -p ~/git/devine-333-poetry-n_m3u8dl_re; 
    cd ~/git/devine-333-poetry-n_m3u8dl_re;
    # Clone a repository into a new directory;
    git clone -b n_m3u8dl_re https://github.com/stabbedbybrick/devine.git
    cd devine
    # Check LOG for latest changes (press "q" to quit the log);
    #git log
    # Check BRANCH;
    git branch
    # List both REMOTE-tracking branches and local branches;
    git branch -a
    # Check BRANCH and their commits;
    git show-branch
    poetry config virtualenvs.in-project true
    poetry install
    poetry shell
    #
    # Check the version installed; 
    devine -v


    ############
    #[8] Config;
    ############

    Code:
    #
    # Create *.YAML settings file in the current DEVINE DIRectory
    ni $home\git\devine-333-poetry-n_m3u8dl_re\devine\devine.yaml
    # Profiles:
    devine cfg profiles.default default
    # Service Classes:
    devine cfg directories.services $home\git\SERVICES-stabbedbybrick\devine-services\services\
    # Downloads:
    devine cfg directories.downloads $home\Videos\
    # Widevine Devices:
    devine cfg directories.wvds $home\wvd\
    # Expiring Cookie data:
    devine cfg directories.cookies $home\DevineCookies
    # Headers:
    devine cfg headers.Accept-Language "en-US,en;q=0.8"
    devine cfg headers.User-Agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36"
    # Services iP:
    devine cfg services.iP.cert $home\wvd\bbciplayer.pem
    # DL - Convert subtitels to SubRip (.srt):
    devine cfg dl.sub_format srt
    # Set how many tracks to download concurrently to 3 and download threads to 6:
    devine cfg dl.downloads 3
    devine cfg dl.workers 6
    # CDM:
    devine cfg cdm.default samsung_sm-a025g_16.0.0_929e205b_22589_l3
    # Fin
    There is lot more you can SET from CLI


    ########################
    #[9] Config DOWNLOADERS;
    ########################

    SELECT ONLY ONE ("N_m3u8DL-RE" or "Ari" or "curl_impersonate" or "requests")!!!!

    # N_m3u8DL-RE:
    Code:
    devine cfg downloader n_m3u8dl_re
    devine cfg n_m3u8dl_re.use_proxy false
    devine cfg n_m3u8dl_re.thread_count 1



    # OR #Aria:
    Code:
    devine cfg downloader aria2c
    devine cfg aria2c.max_concurrent_downloads 2
    devine cfg aria2c.file_allocation prealloc
    # OR #curl_impersonate:
    Code:
    devine cfg downloader curl_impersonate
    devine cfg curl_impersonate.browser safari18_0_ios
    # OR (default) #requests:
    Code:
    devine cfg downloader requests




    ###################
    #[10] MANUAL Config;
    ###################

    #You can also view/edit manually in text editor of choice nano/notepad etc.:
    Code:
    nano $home\git\devine-333-poetry-n_m3u8dl_re\devine\devine.yaml




    ##########################################
    #[11] List "devine.yaml" "Config/Settings:
    ##########################################

    Code:
    devine cfg --list


    ################################################## ########################
    #[12] List/View direct "locations" for "devine.yaml" and Directories with:
    ################################################## ########################

    Code:
    devine env info




    ##########################
    #[13] Check out the HELP:
    ##########################

    Code:
    devine --help
    #Check out the HELP for Downloading:
    Code:
    devine dl --help




    ##################
    #[14] Downloading;
    ##################

    --------------------
    #BBC iPlayer
    --------------------
    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell
    Code:
    devine dl iP -?
    devine dl --list-titles iP m0023h9c
    devine dl --list -v H.264 -w s01e01 iP m0023h9c
    devine dl --list -v H.265 -w s01e01 iP m0023h9c
    devine -d dl -q 432 -r HLG --no-folder -w s01e01 iP m0023h9c
    --------------------
    #ITVx
    --------------------
    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell
    (Requires "Cookies")
    (Place the Cookies in the below file)
    Code:
    ni $home\DevineCookies\ITV.txt
    Code:
    devine dl ITV --help
    devine dl --list-titles ITV https://www.itv.com/watch/vera/1a7314
    devine dl --list -w s04e04 ITV https://www.itv.com/watch/vera/1a7314
    # 396p version is not available
    devine -d dl -q 396 --no-folder -w s04e04 ITV https://www.itv.com/watch/vera/1a7314
    # 576p
    devine -d dl -q 576 --no-folder -w s04e04 ITV https://www.itv.com/watch/vera/1a7314


    --------------------
    #Ch4 #Channel4 #All4
    --------------------
    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell
    #Credential REQUIRED
    Code:
    devine cfg credentials.ALL4 "email:password"
    devine dl ALL4 -?
    devine dl --list-titles ALL4 https://www.channel4.com/programmes/the-snowman
    devine dl --list ALL4 https://www.channel4.com/programmes/the-snowman
    devine -d dl --no-folder ALL4 https://www.channel4.com/programmes/the-snowman



    --------------------
    #Ch5 #Channel5 #My5
    --------------------
    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell

    Code:
    devine --help
    devine dl --help
    devine dl MY5 -?

    Code:
    devine dl MY5 -?
    devine dl --list-titles MY5 https://www.channel5.com/show/winter-on-the-farm
    devine dl --list -w s04e04 MY5 https://www.channel5.com/show/winter-on-the-farm
    devine -d dl -q 180 --no-folder -w s04e04 MY5 https://www.channel5.com/show/winter-on-the-farm


    --------------------
    #RTE RTÉ Player
    --------------------
    Movies only work with IE IP Address.

    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell

    Code:
    devine --help
    devine dl --help
    devine dl RTE -?

    --------------------
    #DSCP #discovery+
    --------------------
    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell
    (Requires "Cookies")
    #(Place the Cookies in the below file)
    Code:
    ni $home\DevineCookies\DSCP.txt

    Code:
    devine --help
    devine dl --help
    devine dl DSCP -?

    Code:
    devine dl --list-titles DSCP https://www.discoveryplus.com/gb/video/1000-lb-best-friends-quest-red-uk/cheese-as-far-as-i-can-see
    devine dl --list DSCP https://www.discoveryplus.com/gb/video/1000-lb-best-friends-quest-red-uk/cheese-as-far-as-i-can-see
    devine -d dl --no-folder DSCP https://www.discoveryplus.com/gb/video/1000-lb-best-friends-quest-red-uk/cheese-as-far-as-i-can-see



    --------
    #PLUTO
    --------
    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell
    Code:
    devine --help
    devine dl --help
    devine dl PLUTO -?
    Code:
    devine dl --list-titles PLUTO https://pluto.tv/on-demand/series/670e6211b99f850013c0bb36/details
    devine dl --list PLUTO https://pluto.tv/on-demand/series/670e6211b99f850013c0bb36/details
    devine -d dl --no-folder PLUTO https://pluto.tv/on-demand/series/670e6211b99f850013c0bb36/details


    --------------------
    #TUBI
    --------------------
    #RETURN:
    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell
    (Requires "Cookies")

    #(Place the Cookies in the below file)
    Code:
    ni $home\DevineCookies\TUBI.txt

    Code:
    devine dl TUBI -?
    devine dl --list-titles TUBI https://tubitv.com/movies/100028872/anna-karenina
    devine dl --list TUBI https://tubitv.com/movies/100028872/anna-karenina
    devine -d dl --no-folder TUBI https://tubitv.com/movies/100028872/anna-karenina

    TUBI thrown out an error from UK IP, but with disabled DRM module in the WebBrowser, TUBI offered m3u8 and srt in F12


    #-----------
    #TUBI N_m3u8DL-RE
    #-----------
    FF:
    Code:
    regexp:srt|m3u8
    Ch:
    Code:
    /srt|m3u8/

    https://tubitv.com/movies/100028872/anna-karenina

    Code:
    # Save in Videos DIR;
    cd $home\Videos;
    
    # Subs DOWNLOAD;
    curl -kLo sub.srt https://s.adrise.tv/89eb72e3-a630-4ef5-b711-7b3f160f48e5.srt
    
    # Video/Audio and SUBs muxing and download using N_m3u8DL-RE;
    N_m3u8DL-RE -mt -M mp4 -sv best -sa all -ss all --save-name Anna.Karenina.2012.358p.TUBI.WEB-DL.AAC.2.0.H.264 --no-log \
    --mux-import path=sub.srt:lang=en:name="English" \
    https://akamai2.tubi.video/7d.....sz2u.m3u8?token=eyJhb......vMn1E



    #EDIT 9th Dec 2024
    - Added WinGet instructions
    - Changed command to get the "Environment Variables" window so it is safe and one command
    - Added Update SERVICES command
    - Added more detailed instructions for ITVx (no need for "Requests")
    - Added instructions on how to update Devine branch of m3u8dl_re
    - Added My5

    #EDIT 10th Dec 2024
    - Correct the SERVICES update PATH command

    #EDIT 17th Dec 2024
    - Moved Update/Upgrade of Devine | SERVICES to the top of the page
    - Added TUBI (works from UK IP)
    - Added PLUTO (works from UK IP)
    - Added DSCP (works from UK IP)
    - Added RTE (works from UK IP)
    - Added Git commands to check LOG/BRANCH
    - Small corrections

    #EDIT 06th Jan 2025
    - Added FFMpeg back to installation
    - Poetry will install 1.8.4 instead of "Latest" version
    - Added scrip to install WinGet automatically for Windows 11 Pro
    - Corrected ITV as 396p is now not available for that particular download
    - Added Note RTE Movies only work with IE IP Address
    - Small corrections
    Image
    [Attachment 84994 - Click to enlarge]



    i dont know what happan
    Quote Quote  
  15. Hi there, I've had to reinstall my system and setup devine how I normal would but when I run a command now I get this error

    ImportError: DLL load failed while importing marisa_trie: The specified module
    could not be found.
    (env) PS C:\Users\Kev\git\devine-333-pip>

    I forgot how you fix this, thank you for the help
    Quote Quote  
  16. Originally Posted by p1020 View Post

    Image
    [Attachment 84994 - Click to enlarge]


    i dont know what happan

    This is what works for me

    Code:
    cd $home
    mkdir -p ~/git/devine-333-poetry-n_m3u8dl_re; 
    cd ~/git/devine-333-poetry-n_m3u8dl_re;
    # Clone a repository into a new directory;
    git clone -b n_m3u8dl_re https://github.com/stabbedbybrick/devine.git
    cd devine
    # Check LOG for latest changes (press "q" to quit the log);
    #git log
    # Check BRANCH;
    git branch
    # List both REMOTE-tracking branches and local branches;
    git branch -a
    # Check BRANCH and their commits;
    git show-branch
    # Poetry 2.x.x removed "shell" and add it as "Add-On" so it needs to be installed;
    #poetry self add poetry-plugin-shell
    poetry config virtualenvs.in-project true
    poetry install
    poetry shell

    but you started to MIX and MATCH
    Code:
    poetry config virtualenvs.in-project true
    and then you fire up
    Code:
    poetry config virtualenvs.in-project true --local && poetry [new | init | install]
    you get an error and again you fire up
    Code:
    poetry config virtualenvs.in-project true --local
    and "--local" after config
    Code:
    poetry config --local virtualenvs.in-project true
    .......

    Is there any reason why?


    https://python-poetry.org/docs/configuration/#local-configuration
    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  
  17. Hi there, I've set up devine on a new system using the latest setup guide but when I run a command at the muxing stage I get this error, could I get some help on what is the cause please?

    thank you

    this is the error

    Code:
    CalledProcessError: Command
    '['input=C:\\Users\\Kev\\AppData\\Local\\Temp\\devine\\Audio_f9bc085b.mp4,stream
    =0,output=C:\\Users\\Kev\\AppData\\Local\\Temp\\devine\\Audio_f9bc085b_decrypted
    .mp4,output_format=MP4', '--enable_raw_key_decryption', '--keys',
    'label=0:key_id=52fe278586e941c3bf16c43e955304dd:key=2bdb482c7f53186ea552242226b
    0c37d,label=1:key_id=00000000000000000000000000000000:key=2bdb482c7f53186ea55224
    2226b0c37d', '--temp_dir',
    WindowsPath('C:/Users/Kev/AppData/Local/Temp/devine')]' returned non-zero exit
    status 3221225477.
    
         ❌ Download Failed...
            An unexpected error occurred in one of the download workers.
            Binary call failed, Process exit code: 3221225477
            See the error trace above for more information.
    
    (devine-py3.12) PS C:\Users\Kev\git\devine-333-poetry-n_m3u8dl_re\devine>
    Edit: iP and DSCP work fine, I get the error on ITVX and ALL4 I have the cookie for ITVX and the credentials set in my devine yaml for ALL4, I searched this thread and saw another user getting error 3221225477 but I'm not sure how it was resolved.

    Thanks again for the help.
    Last edited by kev043; 21st Jan 2025 at 17:46.
    Quote Quote  
  18. Member
    Join Date
    Nov 2006
    Location
    canada
    Search Comp PM
    Quick question, How do i download one series from ITV, when there are 4 series of the show ?

    Cheers
    Quote Quote  
  19. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by mickmars View Post
    Quick question, How do i download one series from ITV, when there are 4 series of the show ?

    Cheers
    What show?

    I needed to finish a few episodes of Brockmire earlier:

    Code:
    devine dl -q 720 -w s02e04-s02e08 ITV https://www.itv.com/watch/brockmire/10a5428
    This could work for Brockmire as there are 8 episodes:
    Code:
    devine dl -q 720 -w s02e01-s02e08 ITV https://www.itv.com/watch/brockmire/10a5428
    Also, this would work:
    Code:
    devine dl -q 720 -w s02 ITV https://www.itv.com/watch/brockmire/10a5428
    But it may depend on the show. So, example??
    Quote Quote  
  20. Member
    Join Date
    Nov 2006
    Location
    canada
    Search Comp PM
    Originally Posted by ehurdler View Post
    Originally Posted by mickmars View Post
    Quick question, How do i download one series from ITV, when there are 4 series of the show ?

    Cheers
    What show?

    I needed to finish a few episodes of Brockmire earlier:

    Code:
    devine dl -q 720 -w s02e04-s02e08 ITV https://www.itv.com/watch/brockmire/10a5428
    This could work for Brockmire as there are 8 episodes:
    Code:
    devine dl -q 720 -w s02e01-s02e08 ITV https://www.itv.com/watch/brockmire/10a5428
    Also, this would work:
    Code:
    devine dl -q 720 -w s02 ITV https://www.itv.com/watch/brockmire/10a5428
    But it may depend on the show. So, example??
    Thanks, your third example works perfectly

    https://www.itv.com/watch/rising-damp/Ya1447
    Last edited by mickmars; 22nd Jan 2025 at 23:48.
    Quote Quote  
  21. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by mickmars View Post
    Quick question, How do i download one series from ITV, when there are 4 series of the show ?

    Cheers

    There is always an easier way.

    Image
    [Attachment 85040 - Click to enlarge]
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  22. Hi guys, I'm still trying to figure out what this error is, has anyone else have this error? 3221225477 I'm running on a fresh install of Windows 11 x64 24H2

    Thank you.

    Code:
    ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
    │ C:\Users\Kev\git\devine-333-poetry-n_m3u8dl_re\devine\devine\commands\dl.py: │
    │ 541 in result                                                                │
    │                                                                              │
    │   538 │   │   │   │   │   │   │   )                                          │
    │   539 │   │   │   │   │   │   │   for i, track in enumerate(title.tracks)    │
    │   540 │   │   │   │   │   │   )):                                            │
    │ ❱ 541 │   │   │   │   │   │   │   download.result()                          │
    │   542 │   │   │   except KeyboardInterrupt:                                  │
    │   543 │   │   │   │   console.print(Padding(                                 │
    │   544 │   │   │   │   │   ":x: Download Cancelled...",                       │
    │                                                                              │
    │ C:\Users\Kev\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\ │
    │ _base.py:449 in result                                                       │
    │                                                                              │
    │   446 │   │   │   │   if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]: │
    │   447 │   │   │   │   │   raise CancelledError()                             │
    │   448 │   │   │   │   elif self._state == FINISHED:                          │
    │ ❱ 449 │   │   │   │   │   return self.__get_result()                         │
    │   450 │   │   │   │                                                          │
    │   451 │   │   │   │   self._condition.wait(timeout)                          │
    │   452                                                                        │
    │                                                                              │
    │ C:\Users\Kev\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\ │
    │ _base.py:401 in __get_result                                                 │
    │                                                                              │
    │   398 │   def __get_result(self):                                            │
    │   399 │   │   if self._exception:                                            │
    │   400 │   │   │   try:                                                       │
    │ ❱ 401 │   │   │   │   raise self._exception                                  │
    │   402 │   │   │   finally:                                                   │
    │   403 │   │   │   │   # Break a reference cycle with the exception in self._ │
    │   404 │   │   │   │   self = None                                            │
    │                                                                              │
    │ C:\Users\Kev\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\ │
    │ thread.py:59 in run                                                          │
    │                                                                              │
    │    56 │   │   │   return                                                     │
    │    57 │   │                                                                  │
    │    58 │   │   try:                                                           │
    │ ❱  59 │   │   │   result = self.fn(*self.args, **self.kwargs)                │
    │    60 │   │   except BaseException as exc:                                   │
    │    61 │   │   │   self.future.set_exception(exc)                             │
    │    62 │   │   │   # Break a reference cycle with the exception 'exc'         │
    │                                                                              │
    │ C:\Users\Kev\git\devine-333-poetry-n_m3u8dl_re\devine\devine\core\tracks\tra │
    │ ck.py:242 in download                                                        │
    │                                                                              │
    │   239 │   │   │   │   │   license_widevine=prepare_drm                       │
    │   240 │   │   │   │   )                                                      │
    │   241 │   │   │   elif self.descriptor == self.Descriptor.DASH:              │
    │ ❱ 242 │   │   │   │   DASH.download_track(                                   │
    │   243 │   │   │   │   │   track=self,                                        │
    │   244 │   │   │   │   │   save_path=save_path,                               │
    │   245 │   │   │   │   │   save_dir=save_dir,                                 │
    │                                                                              │
    │ C:\Users\Kev\git\devine-333-poetry-n_m3u8dl_re\devine\devine\core\manifests\ │
    │ dash.py:544 in download_track                                                │
    │                                                                              │
    │   541 │   │                                                                  │
    │   542 │   │   if drm:                                                        │
    │   543 │   │   │   progress(downloaded="Decrypting", completed=0, total=100)  │
    │ ❱ 544 │   │   │   drm.decrypt(save_path)                                     │
    │   545 │   │   │   track.drm = None                                           │
    │   546 │   │   │   events.emit(                                               │
    │   547 │   │   │   │   events.Types.TRACK_DECRYPTED,                          │
    │                                                                              │
    │ C:\Users\Kev\git\devine-333-poetry-n_m3u8dl_re\devine\devine\core\drm\widevi │
    │ ne.py:293 in decrypt                                                         │
    │                                                                              │
    │   290 │   │   │   p.wait()                                                   │
    │   291 │   │   │                                                              │
    │   292 │   │   │   if p.returncode != 0 or had_error:                         │
    │ ❱ 293 │   │   │   │   raise subprocess.CalledProcessError(p.returncode, argu │
    │   294 │   │   │                                                              │
    │   295 │   │   │   path.unlink()                                              │
    │   296 │   │   │   if not stream_skipped:                                     │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    CalledProcessError: Command
    '['input=C:\\Users\\Kev\\AppData\\Local\\Temp\\devine\\Audio_f9bc085b.mp4,stream
    =0,output=C:\\Users\\Kev\\AppData\\Local\\Temp\\devine\\Audio_f9bc085b_decrypted
    .mp4,output_format=MP4', '--enable_raw_key_decryption', '--keys',
    'label=0:key_id=00000000000000000000000011821941:key=4b826334e7ab0c4b37854e85d0c
    a001f,label=1:key_id=00000000000000000000000000000000:key=4b826334e7ab0c4b37854e
    85d0ca001f', '--temp_dir',
    WindowsPath('C:/Users/Kev/AppData/Local/Temp/devine')]' returned non-zero exit
    status 3221225477.
    
         ❌ Download Failed...
            An unexpected error occurred in one of the download workers.
            Binary call failed, Process exit code: 3221225477
            See the error trace above for more information.
    
    (devine-py3.12) PS C:\Users\Kev\git\devine-333-poetry-n_m3u8dl_re\devine>
    Edit: I did another fresh install of Windows 11 24H2 and setup devine again and I think all the error I was getting has gone now.
    Last edited by kev043; 25th Jan 2025 at 17:16.
    Quote Quote  
  23. Originally Posted by kev043 View Post
    Hi guys, I'm still trying to figure out what this error is, has anyone else have this error? 3221225477 I'm running on a fresh install of Windows 11 x64 24H2

    Thank you.
    I have had a similar error. Differences are I wasn't using Windows and I wasn't using any unofficial version of Devine.

    But i had errors appearing during muxing after I'd upgraded my Linux machine. I found that there was not enough space in the system's tmp folder to allow devine room to work. Once I assigned another temp location (in Devine's config.yaml) pointing at my main partition those errors disappeared.
    Quote Quote  
  24. Hi phased, thanks for the reply, I've been thinking myself like it's something to do with the temp folder but my temp location has plenty of room, but I did change my temp location in the devine.yaml and it still failed, the weird thing is it works fine with some services like DSCP and iP but others get the 3221225477 error.
    Quote Quote  
  25. I had success with downloading from ITV via Devine. I didn't have any credentials or cookies set up for it but it worked anyway. It is nice to have success with this Devine Service.
    Quote Quote  
  26. Deleted
    Last edited by coltseavers; 24th Jan 2025 at 11:01.
    Quote Quote  
  27. I had success with downloading from ALL4 via Devine. I had to sign up and added the credentials to my main .yaml file. I did not bother setting up a cookie and it worked fine. It failed on the first try for whatever reason but the second attempt did work out. BBC still fails via Devine but I can play videos from the website so that is something.

    Now I am getting code 401 token no valid. Maybe I need to do a cookie after all.

    I made a cookie and that didn't seem to help. Then I did the command: devine env clear cache ALL4 and it seems to be working again.
    Last edited by Tom Saurus; 25th Jan 2025 at 16:10.
    Quote Quote  
  28. Originally Posted by kev043 View Post
    Hi there, I've had to reinstall my system and setup devine how I normal would but when I run a command now I get this error

    ImportError: DLL load failed while importing marisa_trie: The specified module
    could not be found.
    (env) PS C:\Users\Kev\git\devine-333-pip>

    I forgot how you fix this, thank you for the help
    I searched this and found that I had posted about this before, the error is a missing dll, install this and you wont get the error - VC_redist.x64
    Quote Quote  
  29. This is a "working" set-up of Windows Sandbox and Devine running on Win 11 Pro 24H2.
    (Credit goes to StabbedByBrick, PSXman_uk and countless others in this forum).

    In cca. 10+ min you can be up and running.

    --------------------
    YOU WILL NEED:
    --------------------

    a] - Latest Win 11 (Pro/Ent) version = 24H2;
    - [10.0.26100.2894] | 24H2 offers 80GB of space inside the Sandbox
    WinKey + x +a
    Code:
    cmd.exe --version
    #OR
    Code:
    winver

    b] - You need to have Virtualization enabled on your PC;
    WinKey + x +a
    Code:
    Get-ComputerInfo -property "HyperV*"

    c] - Decent amount of RAM available on your PC;
    https://www.ebay.co.uk/sch/170083/i.html?_nkw=RAM&_from=R40
    (RAM is the safest comp product that can be purchased second hand)
    WinKey + x +a
    Code:
    [math]::Round((Get-WmiObject -Class Win32_ComputerSystem).TotalPhysicalMemory/1MB)
    (divide by 2 to be safe, by default Sandbox runs with 4GB ...)


    d] - Decent space on your HDD/SSD/NVME Windows drive;
    WinKey + x +a
    Code:
    Get-PSDrive C

    e] - Enabled WSB (Windows Sandbox);
    https://learn.microsoft.com/en-us/windows/security/application-security/application-is...ndows-sandbox/
    WinKey + x +a
    Code:
    Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online

    f] - Download "PSDevine.zip";
    - PowerShell Script to install + configure all the dependencies and Devine inside the Sandbox.
    (There is even easier method how to achieve this using .WSB file, but this gives user a chance
    to spot any errors during the installation/configuration process if any and report back ....).

    WinKey + x +i
    Code:
    Invoke-WebRequest `
    https://forum.videohelp.com/attachments/85138-1737932206/PSDevine.zip `
    -OutFile $home\Downloads\PSDevine.zip
    Expand-Archive -LiteralPath $home\Downloads\PSDevine.zip -DestinationPath $home\Downloads\


    g] - (Optional) Create your new GUID
    Code:
    New-Guid
    - Replace "fb59cd60-c1dc-4a1b-b44f-ece8595f057b" with your new one


    h] - Start W_indows S_andB_ox
    - Enable "Networking"
    - Set "8GB" insted of default 4GB
    Code:
    wsb start --id fb59cd60-c1dc-4a1b-b44f-ece8595f057b -c "<Configuration><Networking>Enabled</Networking><MemoryInMB>8192</MemoryInMB></Configuration>"

    i] - Connect the your newly created W_indows S_andB_ox
    Code:
    wsb connect --id fb59cd60-c1dc-4a1b-b44f-ece8595f057b

    j] - Share 2 Folders/DIRectories with WRITE access;

    Code:
    wsb share --id fb59cd60-c1dc-4a1b-b44f-ece8595f057b -f $home\Videos -s C:\Users\WDAGUtilityAccount\Videos --allow-write
    wsb share --id fb59cd60-c1dc-4a1b-b44f-ece8595f057b -f $home\Downloads -s C:\Users\WDAGUtilityAccount\Downloads --allow-write

    k] - Allow scripts to be executed in your W_indows S_andB_ox
    (You can only run one instance of WSB...)
    Code:
    wsb ip --id fb59cd60-c1dc-4a1b-b44f-ece8595f057b
    wsb exec --id fb59cd60-c1dc-4a1b-b44f-ece8595f057b -c "powershell -ExecutionPolicy Unrestricted Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force" -r ExistingLogin

    l] - now move to your W_indows S_andB_ox and install WinGet
    (Terminal Window will close when done)
    WinKey + x +a
    Code:
    Invoke-RestMethod asheroto.com/winget | Invoke-Expression

    m] - Run the script
    WinKey + x +i
    Code:
    & "$home\Downloads\PSDevine.ps1"
    Once complete and "VLC" is installed and icon on the Desktop,
    confirm there was no error(s) (RED) messages and close the Terminal/PowerShell window.


    n] - Download from #ITVx
    WinKey + x +i

    (Optinal step is to install VPN) ......


    Code:
    cd ~/git/devine-333-poetry-n_m3u8dl_re/devine
    poetry shell
    (Some Programs requires "Cookies")
    (Place the Cookies in the below file)
    (Once you create the "cookie" file, Devine will EXPECT cookies for the service to work....)
    Code:
    ni $home\DevineCookies\ITV.txt

    Code:
    devine dl ITV --help
    devine dl --list-titles ITV https://www.itv.com/watch/mr-bean/1a7287/
    devine dl --list -w s01e07 ITV https://www.itv.com/watch/mr-bean/1a7287/
    # 396p (VIDEO) version is not available
    devine -d dl -q 396 --no-folder -w s01e07 ITV https://www.itv.com/watch/mr-bean/1a7287/
    # 576p with lower bit rate @1252
    devine -d dl -q 576 -vq 1252 --no-folder -w s01e08 ITV https://www.itv.com/watch/mr-bean/1a7287/
    # 576p with higer bit rate @1944
    devine -d dl -vq 1944 --no-folder -w s01e09 ITV https://www.itv.com/watch/mr-bean/1a7287/
    Image Attached Files
    Last edited by pssh; 26th Jan 2025 at 17:03.
    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  
  30. anyone taken a look at citytv? .ca service similar to ctv, free aswell, would be a good service to include with devine
    Quote Quote  



Similar Threads

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