VideoHelp Forum




+ Reply to Thread
Page 7 of 53
FirstFirst ... 5 6 7 8 9 17 ... LastLast
Results 181 to 210 of 1577
  1. It depends! I usually download 2,3,4 episodes per week of some shows I like, so everything which is new. However my network access is pretty slow so this usually takes between 20-30min per episode, sometimes also stales, so I am looking for a feature which allows me to just put all the episodes I gathered in one place and then say "Download this" and just have that run in the background for some hours while doing something different. I used the freevine GUI before which allowed to do exactly this and was pretty happy with it.

    That being said: That's why I placed the FR in the devine project because it might not only affect iPlayer but the others streaming provider like ITV, Ch4, ... as well, depending on my hunter/collector mood I'll have a look at Angela's suggestion nevertheless as well.

    And, yes, I can always ofc just put multiple "python devine dl .... .... " lines in a single batch file as well
    Quote Quote  
  2. The easiest route would probably be a batch file in that case. That way, you could batch download whatever from multiple services if you wanted. I might still add the option to input multiple entries, though. Could be useful for particular episodes or movies.

    I'd also recommend any iPlayer users to not update to the latest Devine version (v3.3.3) since it broke the service for some reason.
    Quote Quote  
  3. I just have a text file which I paste all the episodes in if I want to just do certain ones and not a whole season etc.

    I download Coronation Street from 2004, there are two episode a day and it's very easy to do and takes seconds. I just used Chatgpt for the batch file and it works fine.
    Quote Quote  
  4. Originally Posted by stabbedbybrick View Post

    I'd also recommend any iPlayer users to not update to the latest Devine version (v3.3.3) since it broke the service for some reason.
    The iPlayer service has been fixed in the latest commit, so you're now safe to update to latest Devine version.

    I also fixed the issue with not listing UHD tracks as HLG. You'll now need to use -r HLG to request UHD tracks instead of -v H.265.
    Quote Quote  
  5. Originally Posted by stabbedbybrick View Post
    Originally Posted by stabbedbybrick View Post

    I'd also recommend any iPlayer users to not update to the latest Devine version (v3.3.3) since it broke the service for some reason.
    The iPlayer service has been fixed in the latest commit, so you're now safe to update to latest Devine version.

    I also fixed the issue with not listing UHD tracks as HLG. You'll now need to use -r HLG to request UHD tracks instead of -v H.265.
    Thank you
    Quote Quote  
  6. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    Thanks stabby. I was using q 2160 in my command for UHD. Updated my GUI to -r HLG, works well. Thanks.
    Quote Quote  
  7. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    This is more of a curiosity of mine, but can you build devine services based on hls aes instead of drm?
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  8. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    This is more of a curiosity of mine, but can you build devine services based on hls aes instead of drm?
    Yes, it's got support for AES Clear Key systems.
    Quote Quote  
  9. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by stabbedbybrick View Post
    Yes, it's got support for AES Clear Key systems.
    Neat. Thanks for the clarification.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  10. Does anyone know why I am getting this error message when downloading with ALL4? I thought it may have been aria2c but commented that out and tried again but the same thing happened. I tried different shows and that didn't change anything.

    Image
    [Attachment 79008 - Click to enlarge]
    Quote Quote  
  11. When you execute in PS the following:
    Code:
    ls $home\AppData\Local\Temp\devine\
    Do you have the following files there: ?

    Code:
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    -a----        10/05/2024     20:46       83448955 Audio_386a01a3.mp4
    -a----        10/05/2024     20:47          77656 Subtitle_1d9d5e.ttml
    -a----        10/05/2024     20:46          77656 Subtitle_1d9d5e_stripped.ttml
    -a----        10/05/2024     20:45     8194719224 Video_c5d910cd.mp4
    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  
  12. I have quite a lot of files in there...

    Image
    [Attachment 79013 - Click to enlarge]
    Quote Quote  
  13. Originally Posted by SaLTy View Post
    Does anyone know why I am getting this error message when downloading with ALL4? I thought it may have been aria2c but commented that out and tried again but the same thing happened. I tried different shows and that didn't change anything.

    79008
    Check the logs and see if you can find where it fails.
    Quote Quote  
  14. Originally Posted by stabbedbybrick View Post
    Originally Posted by SaLTy View Post
    Does anyone know why I am getting this error message when downloading with ALL4? I thought it may have been aria2c but commented that out and tried again but the same thing happened. I tried different shows and that didn't change anything.

    79008
    Check the logs and see if you can find where it fails.
    It doesn't say anything else in the logs, just the below. It usually takes a while and says it downloads but then right at the end it fails. Doesn't happen all the time but occasionally it does. I went back to Freevine to download the file. This morning it download OK but took quite some time.

    HTML Code:
         1 Video                                                                    
         └── [H.264, SDR] | en | 1920x1080 @ 4997 kb/s, 25.000 FPS                  
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 15:58 • Downloaded         
         1 Audio                                                                    
         └── [AAC] | en | 2.0 | 135 kb/s                                            
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 16:07 • Downloaded         
         2 Subtitles                                                                
         ├── [VTT] | en                                                             
         │    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 16:08 • Downloaded         
         └── [VTT] | en | SDH                                                       
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 16:15 • Downloaded         
         4 Chapters                                                                 
         ├── 00:00:00.000 | Chapter 01                                              
         ├── 00:15:32.760 | Chapter 02                                              
         ├── 00:25:01.520 | Chapter 03                                              
         └── 00:36:04.280 | Chapter 04                                              
                                                                                    
         Widevine(AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkIARIQ7xuZ8i6XeGtjH     
         ew24obcyhoIcmJtY2g0dHYiBzU2NTM0ODYyAA==)                                   
         └── ef1b99f22e97786b631dec36e286dcca:fc469d38ec14491e146acee13e722f3a*     
                                                                                    
                                                                                    
         1 Video                                                                    
         └── [H.264, SDR] | en | 1920x1080 @ 4997 kb/s, 25.000 FPS                  
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 15:58 • Downloaded         
         1 Audio                                                                    
         └── [AAC] | en | 2.0 | 135 kb/s                                            
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 16:07 • Downloaded         
         2 Subtitles                                                                
         ├── [VTT] | en                                                             
         │    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 16:08 • Downloaded         
         └── [VTT] | en | SDH                                                       
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 16:15 • Downloaded         
         4 Chapters                                                                 
         ├── 00:00:00.000 | Chapter 01                                              
         ├── 00:15:32.760 | Chapter 02                                              
         ├── 00:25:01.520 | Chapter 03                                              
         └── 00:36:04.280 | Chapter 04                                              
                                                                                    
         Widevine(AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkIARIQ7xuZ8i6XeGtjH     
         ew24obcyhoIcmJtY2g0dHYiBzU2NTM0ODYyAA==)                                   
         └── ef1b99f22e97786b631dec36e286dcca:fc469d38ec14491e146acee13e722f3a*     
                                                                                    
                                                                                    
         ❌ Download Failed...                                                      
            An unexpected error occurred in one of the download workers.            
            See the error trace above for more information.      
    Quote Quote  
  15. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    maybe they are trying to mux but something missing, perhap missing is mkvtoolnix?
    Quote Quote  
  16. Originally Posted by SaLTy View Post
    I have quite a lot of files in there...
    you have

    I believe that the video after it has been MUXed to MKV, should have been deleted
    from that DIR, unless there was an error as is in your case and its still there with others .......

    That particular video has a timestamp of 22:38:22 - 28:38:45 ( fast download and file name:
    Video_fee1b8e5_decrypted.mp4
    Audio_ea06eef3_decrypted.mp4
    The subs will be around the same time ....(so sort the files by TIME and you get the right Video/Audio/Subs)

    (Check the files have been decrypted...)

    You can either use MKVToolNix GUI and mux them into an MKV container
    or use FFMpeg to mux to MP4 container:

    #SUBS if they are in TTML: (check how to install it in my other posts here..) not sure what ALL4 uses ...
    tt convert -i $home\AppData\Local\Temp\devine\Subtitle_1d9d5e.tt ml -o $home\AppData\Local\Temp\devine\Subtitle_1d9d5e.sr t

    #PS Command:
    Code:
    ffmpeg -hide_banner `
    -i $home\AppData\Local\Temp\devine\Video_c5d910cd.mp4 `
    -i $home\AppData\Local\Temp\devine\Audio_386a01a3.mp4 `
    -i $home\AppData\Local\Temp\devine\Subtitle_1d9d5e.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: 6. Forest" `
    -metadata description="From the barren Australian outback to the remote, dry deserts of Namibia, mammals use their ingenuity, incredible intelligence and remarkable resilience to beat the heat." `
    -metadata comment="https://www.bbc.co.uk/iplayer/episode/m001z1fp/mammals-series-1-6-forest" `
    -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 SRT" `
    -f mp4 -movflags use_metadata_tags `
    -ignore_unknown -copy_unknown `
    $home\AppData\Local\Temp\devine\Mammals.S01E06.Forest.2024.2160p.iPl.WEB-DL.AAC.LC.2.0.HDR.HLG.H.265.mp4 -v verbose

    It would also help if you included version of Devine and your "devine.yaml" config (redacted of log-in details)...
    Code:
    devine cfg --list
    DIR where log files are stored will show you this command:
    Code:
    devine env info
    Default on my Win setup is:
    Code:
    ls $home\AppData\Local\devine\Logs

    Adding this to your command may provide more information:
    Code:
      -d, --debug     Enable DEBUG level logs.

    Using an VPN/Proxy or residential UK IP?
    Last edited by pssh; 11th May 2024 at 06:04.
    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. Originally Posted by SaLTy View Post
    Originally Posted by stabbedbybrick View Post
    Originally Posted by SaLTy View Post
    Does anyone know why I am getting this error message when downloading with ALL4? I thought it may have been aria2c but commented that out and tried again but the same thing happened. I tried different shows and that didn't change anything.

    79008
    Check the logs and see if you can find where it fails.
    It doesn't say anything else in the logs, just the below. It usually takes a while and says it downloads but then right at the end it fails. Doesn't happen all the time but occasionally it does. I went back to Freevine to download the file. This morning it download OK but took quite some time.
    Run debug and then check the logs in your devine root folder:
    Code:
    devine --debug dl -w EPISODE all4 TITLE
    Quote Quote  
  18. Originally Posted by iamghost View Post
    maybe they are trying to mux but something missing, perhap missing is mkvtoolnix?
    I definitely have mkvtoolnix installed. It doesn't happen all the time, just occasionally. I have downloaded something else today from ALL4 and it worked fine.

    Originally Posted by pssh View Post
    Originally Posted by SaLTy View Post
    I have quite a lot of files in there...
    you have

    I believe that the video after it has been MUXed to MKV, should have been deleted
    from that DIR, unless there was an error as is in your case and its still there with others .......

    That particular video has a timestamp of 22:38:22 - 28:38:45 ( fast download and file name:
    Video_fee1b8e5_decrypted.mp4
    Audio_ea06eef3_decrypted.mp4
    The subs will be around the same time ....(so sort the files by TIME and you get the right Video/Audio/Subs)

    (Check the files have been decrypted...)

    You can either use MKVToolNix GUI and mux them into an MKV container
    or use FFMpeg to mux to MP4 container:

    #SUBS if they are in TTML: (check how to install it in my other posts here..) not sure what ALL4 uses ...
    tt convert -i $home\AppData\Local\Temp\devine\Subtitle_1d9d5e.tt ml -o $home\AppData\Local\Temp\devine\Subtitle_1d9d5e.sr t

    #PS Command:
    Code:
    ffmpeg -hide_banner `
    -i $home\AppData\Local\Temp\devine\Video_c5d910cd.mp4 `
    -i $home\AppData\Local\Temp\devine\Audio_386a01a3.mp4 `
    -i $home\AppData\Local\Temp\devine\Subtitle_1d9d5e.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: 6. Forest" `
    -metadata description="From the barren Australian outback to the remote, dry deserts of Namibia, mammals use their ingenuity, incredible intelligence and remarkable resilience to beat the heat." `
    -metadata comment="https://www.bbc.co.uk/iplayer/episode/m001z1fp/mammals-series-1-6-forest" `
    -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 SRT" `
    -f mp4 -movflags use_metadata_tags `
    -ignore_unknown -copy_unknown `
    $home\AppData\Local\Temp\devine\Mammals.S01E06.Forest.2024.2160p.iPl.WEB-DL.AAC.LC.2.0.HDR.HLG.H.265.mp4 -v verbose

    It would also help if you included version of Devine and your "devine.yaml" config (redacted of log-in details)...
    Code:
    devine cfg --list
    DIR where log files are stored will show you this command:
    Code:
    devine env info
    Default on my Win setup is:
    Code:
    ls $home\AppData\Local\devine\Logs

    Adding this to your command may provide more information:
    Code:
      -d, --debug     Enable DEBUG level logs.

    Using an VPN/Proxy or residential UK IP?
    I am not using a VPN/Proxy, in the UK so using a UK IP.

    I think the files do decrypt but fails right at the end, I didn't realise they were kept in a temp folder. I am on the latest version of Devine and my devine.yaml is the following:

    Code:
    directories:
        services: "D:/Downloads/DL Software/Devine/devine/devine/services"
        downloads: "D:/Downloads/devine"
    cdm:
        default: ANDROID_4445_l3
    credentials:
        ALL4: *******:**********
    dl:
        sub_format: srt
    
    # downloader: aria2c
    
    services:
        iP:
            cert: "D:/Downloads/DL Software/Devine/devine/devine/certs/bbciplayer.pem"
    
    key_vaults:
      - type: SQLite
        name: local
        path: "D:/Downloads/DL Software/Devine/devine/devine/key_vault.db"
    Originally Posted by stabbedbybrick View Post
    Originally Posted by SaLTy View Post
    Originally Posted by stabbedbybrick View Post
    Originally Posted by SaLTy View Post
    Does anyone know why I am getting this error message when downloading with ALL4? I thought it may have been aria2c but commented that out and tried again but the same thing happened. I tried different shows and that didn't change anything.

    79008
    Check the logs and see if you can find where it fails.
    It doesn't say anything else in the logs, just the below. It usually takes a while and says it downloads but then right at the end it fails. Doesn't happen all the time but occasionally it does. I went back to Freevine to download the file. This morning it download OK but took quite some time.
    Run debug and then check the logs in your devine root folder:
    Code:
    devine --debug dl -w EPISODE all4 TITLE
    I have just done this and this is the outcome...

    Code:
    devine --debug dl ALL4 https://www.channel4.com/programmes/gogglebox/on-demand/73368-013
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.3 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4445 (L3)
         Loaded 1 Vaults
    
      ────────────────────────────── Service: ALL4 ───────────────────────────────
    
         Starting new HTTPS connection (1): ipinfo.io:443
         https://ipinfo.io:443 "GET /json HTTP/1.1" 200 281
         Service is not Geoblocked in your region
          + Using cached Tokens...
         Authenticated with Service
         Starting new HTTPS connection (1): api.channel4.com:443
         https://api.channel4.com:443 "GET
         /online/v1/views/content-hubs/gogglebox.json?client=android-mod&device
         Group=mobile&include=extended-restart HTTP/1.1" 200 61159
    
      ──────────────────────────── Series: Gogglebox ─────────────────────────────
    
         1 Season, 1 Episode
    
      ───────────────────────────── Gogglebox S23E13 ─────────────────────────────
    
         https://api.channel4.com:443 "GET
         /online/v1/vod/stream/73368-013?client=android-mod HTTP/1.1" 200 1346
         Starting new HTTPS connection (1): www.channel4.com:443
         https://www.channel4.com:443 "GET /vod/stream/73368-013 HTTP/1.1" 200
         1981
         Starting new HTTP connection (1): ak.dash01.stream.c4assets.com:80
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_73368013001006_001_HD.mpd?c3.ri=13634757726
         723037715 HTTP/1.1" 200 8513
         Starting new HTTPS connection (1): cf.jos.c4assets.com:443
         https://cf.jos.c4assets.com:443 "GET
         /CH4_42_6_900_73368013001006_001/CH4_42_6_900_73368013001006_001_J01.i
         sm/stream.mpd?c3.ri=13494583188450102405&mpd_segment_template=time&fil
         ter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%2
         6%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=171
         5426007&e=600&st=x5-tnAquBuYMST-2itUUoDnLFthDWaYfFCq1SNFQu6A HTTP/1.1"
         200 11918
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_73368013001006_001_HD.mpd?c3.ri=13634757726
         723037715 HTTP/1.1" 200 8513
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_73368013001006_001_HD_5000.mp4 HTTP/1.1"
         206 894
         Starting new HTTP connection (1): ak.dash01.stream.c4assets.com:80
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_73368013001006_001_HD_5000.mp4 HTTP/1.1"
         206 1752625316
    
         [Widevine]: I0511 11:17:18.577294   25908 demuxer.cc:94]
                     Demuxer::Run() on file 'C:\Users\*******\AppData\Local\Temp\d
                     evine\Video_d2be2d76.mp4'. I0511 11:17:18.577344   25908
                     demuxer.cc:160] Initialize Demuxer for file 'C:\Users\*******
                     \AppData\Local\Temp\devine\Video_d2be2d76.mp4'. I0511
                     11:17:27.003018   25908 single_segment_segmenter.cc:111]
                     Update media header (moov) and rewrite the file to 'C:\Use
                     rs\*******\AppData\Local\Temp\devine\Video_d2be2d76_decrypted
                     .mp4'. I0511 11:17:28.376476   25908 mp4_muxer.cc:193] MP4
                     file 'C:\Users\*******\AppData\Local\Temp\devine\Video_d2be2d
                     76_decrypted.mp4' finalized.
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_73368013001006_001_HD_128_ENG.mp4 HTTP/1.1"
         206 813
         Starting new HTTP connection (1): ak.dash01.stream.c4assets.com:80
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_73368013001006_001_HD_128_ENG.mp4 HTTP/1.1"
         206 47793255
    
         [Widevine]: I0511 11:17:35.127609   28224 demuxer.cc:94]
                     Demuxer::Run() on file 'C:\Users\*******\AppData\Local\Temp\d
                     evine\Audio_fc77e89b.mp4'. I0511 11:17:35.127675   28224
                     demuxer.cc:160] Initialize Demuxer for file 'C:\Users\*******
                     \AppData\Local\Temp\devine\Audio_fc77e89b.mp4'. I0511
                     11:17:35.466895   28224 single_segment_segmenter.cc:111]
                     Update media header (moov) and rewrite the file to 'C:\Use
                     rs\*******\AppData\Local\Temp\devine\Audio_fc77e89b_decrypted
                     .mp4'. I0511 11:17:35.490322   28224 mp4_muxer.cc:193] MP4
                     file 'C:\Users\*******\AppData\Local\Temp\devine\Audio_fc77e8
                     9b_decrypted.mp4' finalized.
         Starting new HTTP connection (1): subs.channel4.com:80
         http://subs.channel4.com:80 "GET
         /73368_013_6/8c15aa85c2a2711b2af4d61a93f1a3e3.vtt HTTP/1.1" 200 30287
         Starting new HTTPS connection (1): subs.channel4.com:443
         https://subs.channel4.com:443 "GET
         /73368_013_68c15aa85c2a2711b2af4d61a93f1a3e3.vtt HTTP/1.1" 302 0
         Resetting dropped connection: subs.channel4.com
         https://subs.channel4.com:443 "GET /404.vtt HTTP/1.1" 200 34
    
         1 Video
         └── [H.264, SDR] | en | 1920x1080 @ 4997 kb/s, 25.000 FPS
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 03:58 • Downloaded
         1 Audio
         └── [AAC] | en | 2.0 | 135 kb/s
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 04:04 • Downloaded
         2 Subtitles
         ├── [VTT] | en
         │    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 04:04 • Downloaded
         └── [VTT] | en | SDH
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 04:05 • Downloaded
         5 Chapters
         ├── 00:00:00.000 | Chapter 01
         ├── 00:15:32.760 | Chapter 02
         ├── 00:25:01.520 | Chapter 03
         ├── 00:36:04.280 | Chapter 04
         └── 00:46:31.040 | Credits
    
         Widevine(AAAASXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACkIARIQ7xuZ8i6XeGtjH
         ew24obcyhoIcmJtY2g0dHYiBzU2NTM0ODYyAA==)
         └── ef1b99f22e97786b631dec36e286dcca:fc469d38ec14491e146acee13e722f3a*
             from local SQLite
    
    
         ❌ Download Failed...
            An unexpected error occurred in one of the download workers.
            See the error trace above for more information.
    Quote Quote  
  19. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    i got the same
    Image
    [Attachment 79018 - Click to enlarge]


    edit: i try to download without subtitles, it works fine
    Code:
    devine dl -V -A -w s23e13 ALL4 gogglebox
    There is something wrong with subtitles
    Image
    [Attachment 79020 - Click to enlarge]
    Last edited by iamghost; 11th May 2024 at 07:13.
    Quote Quote  
  20. Ah, must be the same for this one as well then...

    Code:
    devine --debug dl ALL4 https://www.channel4.com/programmes/late-night-lycett/on-demand/76300-005
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.3 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4445 (L3)
         Loaded 1 Vaults
    
      ────────────────────────────── Service: ALL4 ───────────────────────────────
    
         Starting new HTTPS connection (1): ipinfo.io:443
         https://ipinfo.io:443 "GET /json HTTP/1.1" 200 281
         Service is not Geoblocked in your region
          + Using cached Tokens...
         Authenticated with Service
         Starting new HTTPS connection (1): api.channel4.com:443
         https://api.channel4.com:443 "GET
         /online/v1/views/content-hubs/late-night-lycett.json?client=android-mo
         d&deviceGroup=mobile&include=extended-restart HTTP/1.1" 200 7141
    
      ──────────────────────── Series: Late Night Lycett ─────────────────────────
    
         1 Season, 1 Episode
    
      ───────────────────────── Late Night Lycett S02E05 ─────────────────────────
    
         https://api.channel4.com:443 "GET
         /online/v1/vod/stream/76300-005?client=android-mod HTTP/1.1" 200 1270
         Starting new HTTPS connection (1): www.channel4.com:443
         https://www.channel4.com:443 "GET /vod/stream/76300-005 HTTP/1.1" 200
         1867
         Starting new HTTP connection (1): ak.dash01.stream.c4assets.com:80
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_76300_005_2_171539792065771.mpd?c3.ri=13506
         686612118429479 HTTP/1.1" 200 8503
         Starting new HTTPS connection (1): cf.jos.c4assets.com:443
         https://cf.jos.c4assets.com:443 "GET
         /CH4_08_02_900_76300005001002_002/CH4_08_02_900_76300005001002_002_J01
         .ism/stream.mpd?c3.ri=13629409730814585906&mpd_segment_template=time&f
         ilter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26
         %26%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1
         715428903&e=600&st=gsQFz8GpmdcH2BDk878czLfPjx_oTKCFfmCKq2pJmSo
         HTTP/1.1" 200 12637
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_76300_005_2_171539792065771.mpd?c3.ri=13506
         686612118429479 HTTP/1.1" 200 8503
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_76300_005_2_171539792065771_5000.mp4
         HTTP/1.1" 206 927
         Starting new HTTPS connection (1): c4.eme.lp.aws.redbeemedia.com:443
         https://c4.eme.lp.aws.redbeemedia.com:443 "POST
         /wvlicenceproxy-service/widevine/acquire HTTP/1.1" 200 None
         Cached 1 Key to 1/1 Vaults
         Starting new HTTP connection (1): ak.dash01.stream.c4assets.com:80
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_76300_005_2_171539792065771_5000.mp4
         HTTP/1.1" 206 1965137703
    
         [Widevine]: I0511 12:06:08.290080   26712 demuxer.cc:94]
                     Demuxer::Run() on file 'C:\Users\*******\AppData\Local\Temp\d
                     evine\Video_e6c7cd8b.mp4'. I0511 12:06:08.290125   26712
                     demuxer.cc:160] Initialize Demuxer for file 'C:\Users\*******
                     \AppData\Local\Temp\devine\Video_e6c7cd8b.mp4'. I0511
                     12:06:17.477956   26712 single_segment_segmenter.cc:111]
                     Update media header (moov) and rewrite the file to 'C:\Use
                     rs\*******\AppData\Local\Temp\devine\Video_e6c7cd8b_decrypted
                     .mp4'. I0511 12:06:18.556921   26712 mp4_muxer.cc:193] MP4
                     file 'C:\Users\*******\AppData\Local\Temp\devine\Video_e6c7cd
                     8b_decrypted.mp4' finalized.
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_76300_005_2_171539792065771_128_prog.mp4
         HTTP/1.1" 206 855
         Starting new HTTP connection (1): ak.dash01.stream.c4assets.com:80
         http://ak.dash01.stream.c4assets.com:80 "GET
         /wvmod-stream/CH4_33_05_42_76300_005_2_171539792065771_128_prog.mp4
         HTTP/1.1" 206 52332222
    
         [Widevine]: I0511 12:06:25.905596   26168 demuxer.cc:94]
                     Demuxer::Run() on file 'C:\Users\*******\AppData\Local\Temp\d
                     evine\Audio_828d58cb.mp4'. I0511 12:06:25.905663   26168
                     demuxer.cc:160] Initialize Demuxer for file 'C:\Users\*******
                     \AppData\Local\Temp\devine\Audio_828d58cb.mp4'. I0511
                     12:06:26.292093   26168 single_segment_segmenter.cc:111]
                     Update media header (moov) and rewrite the file to 'C:\Use
                     rs\*******\AppData\Local\Temp\devine\Audio_828d58cb_decrypted
                     .mp4'. I0511 12:06:26.318202   26168 mp4_muxer.cc:193] MP4
                     file 'C:\Users\*******\AppData\Local\Temp\devine\Audio_828d58
                     cb_decrypted.mp4' finalized.
         Starting new HTTP connection (1): subs.channel4.com:80
         http://subs.channel4.com:80 "GET
         /76300_005_2/dec678d939eedfda08d236c4baeabed6.vtt HTTP/1.1" 302 0
         Resetting dropped connection: subs.channel4.com
         http://subs.channel4.com:80 "GET /404.vtt HTTP/1.1" 200 34
    
         1 Video
         └── [H.264, SDR] | en | 1920x1080 @ 5022 kb/s, 25.000 FPS
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 04:32 • Downloaded
         1 Audio
         └── [AAC] | en | 2.0 | 133 kb/s
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 04:40 • Downloaded
         1 Subtitle
         └── [VTT] | en
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 04:40 • Downloaded
         5 Chapters
         ├── 00:00:00.000 | Chapter 01
         ├── 00:24:57.920 | Chapter 02
         ├── 00:41:50.840 | Chapter 03
         ├── 00:46:56.520 | Chapter 04
         └── 00:52:16.840 | Credits
    
         Widevine(AAAASnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACoIARIQ7p9o/iqMa4pRC
         DOh1lYqixoIcmJtY2g0dHYiCDEwMTIzOTU0MgA=)
         └── ee9f68fe2a8c6b8a510833a1d6562a8b:85641b5c9fd6b6a16dc523f9d172a3ca*
    
    
         ❌ Download Failed...
            An unexpected error occurred in one of the download workers.
            See the error trace above for more information.
    Quote Quote  
  21. Would this be an indicator?

    Code:
    https://subs.channel4.com:443 "GET /404.vtt HTTP/1.1" 200 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  
  22. Originally Posted by SaLTy View Post
    Ah, must be the same for this one as well then...

    Code:
    devine --debug dl ALL4 https://www.channel4.com/programmes/late-night-lycett/on-demand/76300-005
    This is sometimes the case with all4, where they for some reason include empty subtitles:
    Code:
    WEBVTT
    NOTE Subtitles are missing
    This is causing the subtitle parser to fail, which is why you're getting the error. Do what @iamghost showed and download without subtitles for now.
    I could add an ugly fix for it, but this issue should ideally be fixed in the core code of Devine and not in the service code.
    Quote Quote  
  23. Originally Posted by stabbedbybrick View Post
    Originally Posted by SaLTy View Post
    Ah, must be the same for this one as well then...

    Code:
    devine --debug dl ALL4 https://www.channel4.com/programmes/late-night-lycett/on-demand/76300-005
    This is sometimes the case with all4, where they for some reason include empty subtitles:
    Code:
    WEBVTT
    NOTE Subtitles are missing
    This is causing the subtitle parser to fail, which is why you're getting the error. Do what @iamghost showed and download without subtitles for now.
    I could add an ugly fix for it, but this issue should ideally be fixed in the core code of Devine and not in the service code.
    OK thanks, glad to know it's not just me. It's annoying that they do that as you don't know if it has subs or not.
    Quote Quote  
  24. Trying to get the Devine working on Linux?
    You need to install GPAC in order to install CCExtractor

    This may help:

    ------------------------------------------
    #GPAC (Needed for CCExtractor to compile)
    ------------------------------------------
    https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Linux

    Code:

    Code:
    sudo apt install -y build-essential pkg-config g++ git cmake yasm
    Code:
    cd ~/git
    git clone https://github.com/gpac/gpac.git
    cd gpac
    ./configure
    make -j$(nproc)
    ./bin/gcc/MP4Box -h
    sudo make install

    Code:
    MP4Box -h
    Code:
    gpac -h

    -----------------------------------
    #CCExtractor (Needs GPAC Installed)
    -----------------------------------
    https://github.com/CCExtractor/ccextractor/blob/master/docs/COMPILATION.MD

    Code:
    sudo apt install -y libglew-dev libglfw3-dev cmake gcc libcurl4-gnutls-dev tesseract-ocr libtesseract-dev libleptonica-dev clang libclang-dev autoconf
    If you get the below ERROR, you are running out of date version of your Distro....
    configure.ac:4: error: Autoconf version 2.71 or higher is required On older systems

    Code:
    apt show autoconf
    Code:
    apt-cache policy autoconf
    Code:
    cd ~/git
    git clone https://github.com/CCExtractor/ccextractor.git
    cd ccextractor/linux
    ./autogen.sh
    ./configure --without-rust
    make -j$(nproc)
    ./ccextractor --version
    sudo make install
    ccextractor --version
    Last edited by pssh; 11th May 2024 at 09:22.
    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  
  25. Originally Posted by stabbedbybrick View Post
    This is sometimes the case with all4, where they for some reason include empty subtitles:
    Code:
    WEBVTT
    NOTE Subtitles are missing
    This is causing the subtitle parser to fail, which is why you're getting the error. Do what @iamghost showed and download without subtitles for now.
    I could add an ugly fix for it, but this issue should ideally be fixed in the core code of Devine and not in the service code.

    Just installed fresh Devine (3.3.3) and cloned your SERVICES

    Code:
    devine --debug dl -q 216 -v H.264 --no-folder --sub-format TTML -w s23e13 ALL4 gogglebox
    I want to stop Devine MUXing to MKV, hence the "--sub-format TTML".


    ───────────────────────────── Gogglebox S23E13 ─────────────────────────────
    ╭───────────────────────── Available Tracks ─────────────────────────╮
    │ 10 Videos │
    │ ├── [H.264, SDR] | en | 1920x1080 @ 4997 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1920x1080 @ 2957 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1280x720 @ 2023 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1024x576 @ 1528 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1024x576 @ 1183 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 640x360 @ 1007 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 640x360 @ 803 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 512x288 @ 505 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 384x216 @ 257 kb/s, 25.000 FPS │
    │ └── [H.264, SDR] | en | 256x144 @ 158 kb/s, 25.000 FPS │
    │ 1 Audio │
    │ └── [AAC] | en | 2.0 | 135 kb/s │
    │ 2 Subtitles │
    │ ├── [VTT] | en │
    │ └── [VTT] | en | SDH │
    │ 5 Chapters │
    │ ├── 00:00:00.000 | Chapter 01 │
    │ ├── 00:15:32.760 | Chapter 02 │
    │ ├── 00:25:01.520 | Chapter 03 │
    │ ├── 00:36:04.280 | Chapter 04 │
    │ └── 00:46:31.040 | Credits │


    So I am trying the lowest quality 144p, but that did not download (listed, but not available??)...
    216p worked.

    The subs I have had 2 files downloaded as usual:

    1. First one *.vtt with text inside:
    WEBVTT
    NOTE Subtitles are missing

    2. Second one *.vtt has the actual subs inside ...


    Also tried downloading only Subs:

    Code:
    devine --debug dl -S --no-folder -w s23e13 ALL4 gogglebox
    Result is an ERROR with 2 subs as above (one text with missing subs and one with the actual subs)...




    On the other hand trying:
    Code:
    devine --debug dl -q 216 -v H.264 --no-folder --sub-format TTML -w s02e05 ALL4 late-night-lycett
    And there is only one Subs file and only has "Subtitles are missing" .....
    Last edited by pssh; 11th May 2024 at 12:27.
    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  
  26. Originally Posted by pssh View Post
    Just installed fresh Devine (3.3.3) and cloned your SERVICES

    Code:
    devine --debug dl -q 216 -v H.264 --no-folder --sub-format TTML -w s23e13 ALL4 gogglebox
    I want to stop Devine MUXing to MKV, hence the "--sub-format TTML".
    Wouldn't it be easier to just change container with ffmpeg?
    Code:
    ffmpeg -i input.mkv -codec copy -scodec mov_text output.mp4
    Quote Quote  
  27. Originally Posted by pssh View Post
    Originally Posted by stabbedbybrick View Post
    This is sometimes the case with all4, where they for some reason include empty subtitles:
    Code:
    WEBVTT
    NOTE Subtitles are missing
    This is causing the subtitle parser to fail, which is why you're getting the error. Do what @iamghost showed and download without subtitles for now.
    I could add an ugly fix for it, but this issue should ideally be fixed in the core code of Devine and not in the service code.

    Just installed fresh Devine (3.3.3) and cloned your SERVICES

    Code:
    devine --debug dl -q 216 -v H.264 --no-folder --sub-format TTML -w s23e13 ALL4 gogglebox
    I want to stop Devine MUXing to MKV, hence the "--sub-format TTML".


    ───────────────────────────── Gogglebox S23E13 ─────────────────────────────
    ╭───────────────────────── Available Tracks ─────────────────────────╮
    │ 10 Videos │
    │ ├── [H.264, SDR] | en | 1920x1080 @ 4997 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1920x1080 @ 2957 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1280x720 @ 2023 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1024x576 @ 1528 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 1024x576 @ 1183 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 640x360 @ 1007 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 640x360 @ 803 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 512x288 @ 505 kb/s, 25.000 FPS │
    │ ├── [H.264, SDR] | en | 384x216 @ 257 kb/s, 25.000 FPS │
    │ └── [H.264, SDR] | en | 256x144 @ 158 kb/s, 25.000 FPS │
    │ 1 Audio │
    │ └── [AAC] | en | 2.0 | 135 kb/s │
    │ 2 Subtitles │
    │ ├── [VTT] | en │
    │ └── [VTT] | en | SDH │
    │ 5 Chapters │
    │ ├── 00:00:00.000 | Chapter 01 │
    │ ├── 00:15:32.760 | Chapter 02 │
    │ ├── 00:25:01.520 | Chapter 03 │
    │ ├── 00:36:04.280 | Chapter 04 │
    │ └── 00:46:31.040 | Credits │


    So I am trying the lowest quality 144p, but that did not download (listed, but not available??)...
    216p worked.

    The subs I have had 2 files downloaded as usual:

    1. First one *.vtt with text inside:
    WEBVTT
    NOTE Subtitles are missing

    2. Second one *.vtt has the actual subs inside ...


    Also tried downloading only Subs:

    Code:
    devine --debug dl -S --no-folder -w s23e13 ALL4 gogglebox
    Result is an ERROR with 2 subs as above (one text with missing subs and one with the actual subs)...




    On the other hand trying:
    Code:
    devine --debug dl -q 216 -v H.264 --no-folder --sub-format TTML -w s02e05 ALL4 late-night-lycett
    And there is only one Subs file and only has "Subtitles are missing" .....
    In latest release :

    "P.S. No service code changes are needed to apply this fix. It's a baked in fix that runs after the DASH or HLS downloader downloads all the sub segments. Also note that with this update, TTML subs will be converted to WebVTT if you did not configure --sub-format to any other format. This is because TTML is not supported by MKVMerge (or MKV? idk). Since WebVTT keeps the majority of the TTML's data and is also a format typically used for progressive web players, it seems like an appropriate conversion. If you did configure --sub-format it will convert from the TTML to the format you specified. Effectively downloading TTML and keeping as TTML is no longer possible. This code will be removed once/if the ability to use other containers that support TTML is added. And tbh I don't know any container that supports TTML, does MP4 support it? idk. "

    I believe this might be related to your problem?
    Quote Quote  
  28. Originally Posted by keep_it_breezy View Post

    In latest release :

    "P.S. No service code changes are needed to apply this fix. It's a baked in fix that runs after the DASH or HLS downloader downloads all the sub segments. Also note that with this update, TTML subs will be converted to WebVTT if you did not configure --sub-format to any other format. This is because TTML is not supported by MKVMerge (or MKV? idk). Since WebVTT keeps the majority of the TTML's data and is also a format typically used for progressive web players, it seems like an appropriate conversion. If you did configure --sub-format it will convert from the TTML to the format you specified. Effectively downloading TTML and keeping as TTML is no longer possible. This code will be removed once/if the ability to use other containers that support TTML is added. And tbh I don't know any container that supports TTML, does MP4 support it? idk. "

    I believe this might be related to your problem?
    MP4 container only supports SRT or Apples Sub format I believe ...
    To force Devine not to MUX to MKV is to set the format to TTML


    I was just reacting on what the @SaLTy reported it's not working for him on ALL4
    and trying to understand what is happening ..... and download it........


    devine --debug dl -q 216 -v H.264 --no-folder --sub-format TTML -w s23e13 ALL4 gogglebox
    Has 2nd Subs but Devine still fails .....


    devine --debug dl -q 216 -v H.264 --no-folder --sub-format TTML -w s02e05 ALL4 late-night-lycett
    does not have second Subs file and also fails


    I use Freevine for ALL4 and others as it does MP4 for me .........
    Devine only experimentally with beebs UHD and then I like to add my own "metadata" ....


    @stabbedbybrick
    (MKV to MP4 with FFMpeg is an option and perhaps it could be even faster ......
    but I think its the rejoice of being able to finally get the UHD from their archive .....
    that you shown to work on Freevine but then the branch disappear from your repo ....)
    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. Hi there, I'm new to installing Devine and am not sure if the install when right, I'm on a Windows 11 system with python v3.12.3 I ran the pip install devine command and it has put these files into my C:\Python312\Lib\site-packages\devine

    __pycache__
    commands
    core
    vaults
    __main__.py

    This doesn't seem correct am I doing something wrong?

    Thank you for the help.
    Quote Quote  
  30. Originally Posted by kev043 View Post
    Hi there, I'm new to installing Devine and am not sure if the install when right, I'm on a Windows 11 system with python v3.12.3 I ran the pip install devine command and it has put these files into my C:\Python312\Lib\site-packages\devine

    __pycache__
    commands
    core
    vaults
    __main__.py

    This doesn't seem correct am I doing something wrong?

    Thank you for the help.
    How many version of Python have you got installed on your PC?


    Check that your system has all it needs (all Dependencies):
    - Window$
    https://forum.videohelp.com/threads/414487

    - Linux (PATHs use Slash or solidus instead of Backslash that Windows use...so amend accordingly)
    https://forum.videohelp.com/threads/414856





    As someone here mention #17 it will get messy with different versions of Devine and SERVICES ...
    so I decided to create a naming structure for the different versions ......


    I store GIT projects in HOME DIR:
    Code:
    mkdir $home\git\
    And WVD keys also in the HOME DIR
    Code:
    mkdir $home\wvd\
    (Also have a $home\wvd-BACKUP DIR with zipped WVD's, blob .... etc. that is READ ONLY)

    then I create a separate DIR for APPnameVERsionINSTALLmethod so its clear which DIR contains what ....
    $home\git\devine-333-pip\
    $home\git\stabbedbybrick-333\
    or in case of older versions that (required) older python as it was the case with Devine
    $home\git\devine332TPDpy312poetry\


    and then clone with git the relevant REPOsitory from GIT .... (one command, instead of Click, Click, Click, Click, Click -> ZIP business!)
    (Same for updating the REPO, one command....)


    If you do NOT follow this,
    then you will have to change the paths to your location where you WANT to store your files in all the relevant commands ..

    (Upper, lower case letters and back/forward slashes all matter, so pay attention to it :)




    -----------------------------------------------------------------------------------------
    # Fix the PowerShell execution policies for Windows computers. error with "Get-ExecutionPolicy":



    # To open up "elevated" Windows PowerShell (PS) press:
    Code:
    WinKey+x + a

    #Check the current state:
    Code:
    Get-ExecutionPolicy -List

    CurrentUser RemoteSigned



    # Enabling Python ENV - Let's fix the ERROR
    Code:
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
    .
    #or
    #When Asked what ExecutionPolicy, type in: RemoteSigned
    Code:
    Set-ExecutionPolicy -Scope CurrentUser
    #ExecutionPolicy: ?
    Code:
    RemoteSigned
    [ENTER]




    Devine can be installed either using method [1] or/and [2] (Advanced) + NEW Fast versions:

    (Commands to be used in Power Shell = WinKey+x +i)



    [1] Installing MAIN Branch using PIP to Install + clone Services from Stabbedbybrick :


    ####################
    #3.3.3 #Devine install via PIP
    ####################
    Code:
    mkdir $home\git\devine-333-pip\
    Code:
    cd $home\git\devine-333-pip\
    Code:
    py -m venv env
    Code:
    .\env\Scripts\activate
    Code:
    pip install devine
    Code:
    py -m pip show --verbose devine
    Code:
    devine -v

    ####################################
    #3.3.3 #SERVICES from stabbedbybrick via GIT CLONE
    ####################################
    Code:
    mkdir $home\git\stabbedbybrick-333\
    Code:
    cd $home\git\stabbedbybrick-333\
    Code:
    git clone https://cdm-project.com/stabbedbybrick/devine-services
    #Your SERVICES path will be:
    Code:
    cd devine-services\services
    Code:
    pwd
    or
    $home\git\stabbedbybrick-333\devine-services\services\


    Go back to DEVINE:
    Code:
    cd $home\git\devine-333-pip\



    #################
    #Updating the "SERVICES"
    #################
    #This command can be run from any PATH in PS:
    Code:
    git -C $home\git\stabbedbybrick-333\devine-services\ pull


    ###########
    #WVD and PEM
    ###########

    --------
    #WVD
    Code:
    Invoke-WebRequest https://files.videohelp.com/u/303646/2448192963.zip -OutFile $home\wvd\2448192963.zip
    tar -tzf $home\wvd\2448192963.zip | findstr "pem bin"
    tar --verbose --extract --file=$home\wvd\2448192963.zip -C $home\wvd
    ls $home\wvd
    # Or Aria
    Code:
    aria2c https://files.videohelp.com/u/303646/2361419202.zip --dir  $home\wvd
    tar -tzf $home\wvd\2361419202.zip | findstr "pem bin"
    tar --verbose --directory=/2361419202/ --extract --file=$home\wvd\2361419202.zip --strip-components=1 -C $home\wvd
    ls $home\git\wvd

    --------------------
    #Create WVD device using PyWideVine
    Code:
    pywidevine create-device --help
    Code:
    pywidevine create-device -k $home\wvd\private_key.pem -c $home\wvd\client_id.bin -t ANDROID -l 3 -o $home\wvd\generic_4464_l3.wvd
    #Create WVD device using Devine:
    Code:
    devine wvd new -h
    Code:
    devine wvd new -t ANDRIOD -l 3 -o $home\wvd\ generic $home\wvd\private_key.pem $home\wvd\client_id.bin

    #Check the file created:
    Code:
    devine wvd parse $home\wvd\generic_4464_l3.wvd


    -------
    #PEM
    Code:
    Invoke-WebRequest https://raw.githubusercontent.com/sdhtele/VT/18f0e652d3e1a532ca85510469ff175390056b98/vinetrimmer/certs/bbciplayer.pem -OutFile $home\wvd\bbciplayer.pem
    #or aria2
    Code:
    aria2c https://raw.githubusercontent.com/sdhtele/VT/18f0e652d3e1a532ca85510469ff175390056b98/vinetrimmer/certs/bbciplayer.pem --dir $home\wvd\ -o bbciplayer.pem







    ##############
    #Configure DEVINE
    ##############
    Code:
    devine env info
    # Assuming you also have DIR "$home\wvd\" with "generic_4464_l3.wvd" inside it
    # This command will RE-MOVE the file from this DIR and MOVE it inside it's OWN
    # Which the PATH is visible in the above command output
    Code:
    devine wvd add $home\wvd\generic_4464_l3.wvd
    Code:
    devine cfg directories.services $home\git\stabbedbybrick-333\devine-services\services\
    Code:
    devine cfg cdm.default generic_4464_l3
    Code:
    devine cfg credentials.ALL4 email:password # email:password = YourEmail:PasswordSetWhenRegisteredOnALL4Website
    Code:
    devine cfg downloader aria2c
    Code:
    devine cfg aria2c.max_concurrent_downloads 2
    Code:
    devine cfg aria2c.file_allocation prealloc
    Code:
    devine cfg dl.sub_format srt
    Code:
    devine cfg --list
    Code:
    devine dl iP -?
    Code:
    devine dl my5 -?




    PS command for Notepad EDITOR editing "default" - "devine.yaml":
    Code:
    notepad $home\AppData\Local\devine\devine.yaml
    PS command for Nano EDITOR editing "default" - "devine.yaml":
    Code:
    nano $home\AppData\Local\devine\devine.yaml
    PS command for for VSCode EDITOR editing "default" - "devine.yaml":
    Code:
    code $home\AppData\Local\devine\devine.yaml

    #Manually ADD these (I am not sure how to add them via "devine cfg" command):
    #Change XXXXX for your Windows PC USERNAME
    # Not sure what your username is?
    Code:
    $env:UserName

    Please be mindful of spaces "services" has "iP" (one space) and under iP there is "cert" (two spaces).
    Code:
    #Note that it is exactly 3 lines! and the space between cert: and the PATH
    services:
      iP:
        cert: c:\Users\XXXXX\wvd\bbciplayer.pem
    
    
    key_vaults:
        - type: SQLite
          name: Local-vault
          path: c:\Users\XXXXX\wvd\key_store.db
    
    
    remote_cdm:
        - name: "CDRM_Project_API"
          device_type: ANDROID
          system_id: 4464
          security_level: 3
          host: "https://cdrm-project.com/devine"
          secret: "CDRM-Project"
          device_name: "CDM"



    # IF you by accident close your PS, or
    # Want to return back to Devine
    # (open a new PS window):
    Winkey+x +i

    Code:
    cd $home\git\devine-333-pip\
    .\env\Scripts\activate
    devine -v









    [2] Installing Devine Cloned version you have to use POETRY to Install and Python 3.12:


    ##################################
    #3.3.2 TPD94 CLONE wit GIT and install with Poetry
    ##################################
    Code:
    mkdir $home\git\devine332TPDpy312poetry\
    Code:
    cd $home\git\devine332TPDpy312poetry\
    Code:
    git clone https://cdm-project.com/TPD94/devine.git
    Code:
    cd devine
    Code:
    py -3.12 -m pip install poetry
    Code:
    py -3.12 -m pip show --verbose poetry
    Code:
    py -3.12 -m poetry config virtualenvs.in-project true
    Code:
    py -3.12 -m poetry install
    Code:
    py -3.12 -m poetry shell
    Code:
    py -3.12 -m poetry env list
    Code:
    py -3.12 -m poetry run devine env info
    #Assuming you also have DIR "$home\wvd\" with "generic_4464_l3.wvd" inside it
    #This command will RE-MOVE the file from this DIR and MOVE it inside it's OWN
    Code:
    py -3.12 -m poetry run devine wvd add $home\wvd\generic_4464_l3.wvd
    Code:
    py -3.12 -m poetry run devine cfg directories.services $home\git\devine333TPDpy312poetry\devine\devine\services
    Code:
    py -3.12 -m poetry run devine cfg cdm.default generic_4464_l3
    Code:
    py -3.12 -m poetry run devine -?
    Code:
    py -3.12 -m poetry run devine cfg --list
    Code:
    py -3.12 -m poetry run devine dl iP -?








    [3] Improved "FAST" guide of Devine 3.3.3 with stabbedbybrick SERVICES


    #DIR's + PEM
    Code:
    mkdir $home\git\
    mkdir $home\wvd\
    mkdir $home\DevineCookies
    Invoke-WebRequest https://raw.githubusercontent.com/sdhtele/VT/18f0e652d3e1a532ca85510469ff175390056b98/vinetrimmer/certs/bbciplayer.pem -OutFile $home\wvd\bbciplayer.pem

    #3.3.3 #SERVICES from stabbedbybrick via GIT CLONE
    ##############################################
    Code:
    mkdir $home\git\stabbedbybrick-333\
    cd $home\git\stabbedbybrick-333\
    git clone https://cdm-project.com/stabbedbybrick/devine-services

    #3.3.3 #Devine install via PIP
    #######################
    Code:
    mkdir $home\git\devine-333-pip\
    cd $home\git\devine-333-pip\
    py -m venv env
    .\env\Scripts\activate
    pip install devine
    py -m pip show --verbose devine
    devine -v
    devine env info
    devine cfg --list

    #CONFIGURE - "devine.yaml"
    ##########################
    Code:
    nano $home\git\devine-333-pip\env\Lib\site-packages\devine.yaml
    Code:
    key_vaults:
     - type: SQLite
       name: Local-Vault
       path: ~/wvd/key_store.db
    remote_cdm:
     - name: CDRM_Project_API
       device_type: ANDROID
       system_id: 4464
       security_level: 3
       host: https://cdrm-project.com/devine
       secret: CDRM-Project
       device_name: CDM

    NOW PRESS Ctrl + O + Enter (to save it)
    PRESS Ctrl + X (to Exit Nano editor)


    #COMPLTE the CONFIGURATION from CLI
    #####################################
    Code:
    devine cfg directories.services $home\git\stabbedbybrick-333\devine-services\services\
    devine cfg directories.downloads $home\Videos
    devine cfg directories.cookies $home\DevineCookies
    devine cfg services.iP.cert $home\wvd\bbciplayer.pem
    devine cfg directories.wvds $home\wvd\
    devine cfg cdm.default CDRM_Project_API
    devine cfg dl.sub_format srt
    devine cfg dl.lang en
    devine cfg dl.downloads 4
    devine cfg dl.workers 16
    devine cfg profiles.default default
    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"
    devine env info
    devine cfg --list

    #RETURN to Devine when you close your Terminal (WT / PS)
    #################################################
    Code:
    cd $home\git\devine-333-pip\
    .\env\Scripts\activate





























    #My5 v3.3.3 (examples)
    ----------------------------------------
    #Check out the Devine HELP
    Code:
    devine -?
    #Check out the Devine DOWNLOAD commands HELP:
    Code:
    devine dl -?
    #Check out the Devine DOWNLOAD commands for My5 HELP:
    Code:
    devine dl my5 -?
    #SEARCH for specific program
    Code:
    devine search my5 "fred rose"

    #Check what is available:
    Code:
    devine dl --list-titles my5 fred-and-rose-west-british-horror-story
    #Check the QUALITY etc.
    Code:
    devine dl --list -w s01 my5 fred-and-rose-west-british-horror-story
    #Download - without proxy, co DIR structure, SUBs to be SRT format and Video at 180p - Whole S01
    Code:
    devine dl --no-proxy --no-folder --sub-format SRT -q 180 -w s01 my5 fred-and-rose-west-british-horror-story

    Code:
    devine dl --list-titles my5 the-clues-that-caught-the-killer-fred-rose-west
    devine dl --list my5 the-clues-that-caught-the-killer-fred-rose-west
    devine dl --no-proxy --no-folder --sub-format SRT -q 180 my5 the-clues-that-caught-the-killer-fred-rose-west



    #iP v.3.3.3 (UHD/H.265 change )
    --------------------------------------------
    #See HELP for iPlayer
    Code:
    devine dl iP -?
    #See whats available
    Code:
    devine dl --list-titles iP m0013cl7
    #OR
    devine dl --list-titles iP https://www.bbc.co.uk/iplayer/episode/m001gn7t/the-boy-the-mole-the-fox-and-the-horse
    #H264
    Code:
    devine dl --list -v H.264 -w s01e01 iP m0013cl7
    #OR
    devine dl --list -v H.264 iP https://www.bbc.co.uk/iplayer/episode/m001gn7t/the-boy-the-mole-the-fox-and-the-horse
    #H265
    Code:
    devine dl --list -v H.265 -w s01e01 iP m0013cl7
    #OR
    devine dl --list -v H.265 iP https://www.bbc.co.uk/iplayer/episode/m001gn7t/the-boy-the-mole-the-fox-and-the-horse
    #Download 432p (HDR HLG) video
    Code:
    devine dl -q 432 -r HLG --no-folder -w s01e1 iP m0013cl7
    #OR
    devine dl -q 432 -r HLG --no-folder iP https://www.bbc.co.uk/iplayer/episode/m001gn7t/the-boy-the-mole-the-fox-and-the-horse




    #ITV v.3.3.3
    ------------------------
    #Check the Devine HELP
    Code:
    devine -?
    #Check the Devine DOWNLOAD HELP
    Code:
    devine dl -?
    #Check the Devine ITV HELP
    Code:
    devine dl ITV -?
    #Cookies needed for Premium
    Code:
    mkdir $home\DevineCookies\ITV
    save as:
    Code:
    cookies-itv-com.txt
    #Search specific show/movie
    Code:
    devine search ITV "family guy"
    #Check the titles for specific ID/SHOW
    Code:
    devine dl --list-titles ITV https://www.itv.com/watch/family-guy/2a4259
    #List available formats (Video + Audio ONLY
    Code:
    devine dl -V -A --list -w s10e09 ITV https://www.itv.com/watch/family-guy/2a4259
    #Download:
    -d = DEBUG MODE
    - dl = download
    - Do not use PROXY
    - Do not create FOLDER structure
    - SUBs in SRT format
    - S10E09
    - SELECTED 288p VIDEO
    -V Video
    -A Audio
    - Use ITV
    - Download "Family Guy" episode 9. Grumpy Old Man ;)
    Code:
    devine -d dl --no-proxy --no-folder --sub-format SRT -w s10e09 -q 288  -V -A ITV https://www.itv.com/watch/family-guy/2a4259







    #ALL4 v.3.3.3
    --------------------------
    #Check the Devine HELP
    Code:
    devine -?
    #Check the Devine DOWNLOAD HELP
    Code:
    devine dl -?
    #Check the Devine ALL4 HELP
    Code:
    devine dl ALL4 -?
    #Add your credentials
    Code:
    devine cfg credentials.ALL4 email:password
    #Search specific show/movie
    Code:
    devine search ALL4 "helsinki"
    #Check the titles for specific ID/SHOW
    Code:
    devine dl --list-titles ALL4 helsinki-crimes
    #List available formats
    Code:
    devine dl --list -w s01e01 ALL4 helsinki-crimes
    #Download:
    - dl = download
    - Do not use PROXY
    - S01E01
    - Do not create FOLDER structure
    - SUBs in SRT format
    - SELECTED 360p VIDEO
    - Use ALL4
    - Download "helsinki-crimes" series ;)
    Code:
    devine dl --no-proxy -w s01e01 --no-folder --sub-format SRT -q 360 ALL4 helsinki-crimes



    #CTV v.3.3.3
    --------------------------
    Code:
    devine dl CTV -?
    Code:
    devine dl --list-titles -w s02e01 CTV /shows/227
    Code:
    devine dl --list --no-proxy -w s02e01 CTV /shows/227
    Code:
    devine -d dl -q 360 -a AAC --no-folder --no-proxy -w s02e01 CTV /shows/227
    -d, --debug Enable DEBUG level logs.
    -q, --quality QUALITY_LIST Download Resolution(s), defaults to the best available resolution.
    -a, --acodec [AAC|DD|DD+|OPUS|VORB|DTS|ALAC|FLAC] Audio Codec to download, defaults to any codec.
    --no-folder Disable folder creation for TV Shows.
    --no-proxy Force disable all proxy use.



    #TUBI v.3.3.3
    --------------------------
    Code:
    devine dl TUBI -?
    #Cookies
    Code:
    mkdir $home\DevineCookies\TUBI
    save as:
    Code:
    cookies-tubitv-com.txt
    Code:
    devine dl --list-titles --profile cookies-tubitv-com TUBI /movies/554188/fun-with-dick-and-jane
    Code:
    devine dl --list --no-proxy --profile cookies-tubitv-com TUBI /movies/554188/fun-with-dick-and-jane
    Code:
    devine -d dl -q 360 --no-folder --no-proxy --profile cookies-tubitv-com TUBI /movies/554188/fun-with-dick-and-jane
    -d, --debug Enable DEBUG level logs.
    -q, --quality QUALITY_LIST Download Resolution(s), defaults to the best available resolution.
    --no-folder Disable folder creation for TV Shows.
    --no-proxy Force disable all proxy use.
    -p, --profile TEXT Profile to use for Credentials and Cookies (if available).









    #EDIT 2024/05/30
    - Added details for Remote CDM
    - Added detailed ALL4 guide
    - Improved information with regards to devine.yaml

    #EDIT 2024/05/15
    - Added detailed commands for My5

    #EDIT 2024/05/14
    - Added Update command for SERVICES
    - Additional settings needed
    - Removed wrong command adding iP cert (needing manual editing now)
    - Added simple txt file with batch commands
    - Added Short Video

    #EDIT 2024/05/13
    - Corrected path that had missing "$home" string.
    - Small corrections....
    - iP changed command structure for UHD (included examples)
    - no need to clone Devine Repo, if installing via PIP (removed)

    #EDIT 2024/06/16
    - Added link to Linux guide

    #EDIT 2024/07/12
    - Added IMPROVED "Fast" Guide
    - ITV, CTV, TUBI examples
    Image Attached Files
    Last edited by pssh; 12th Jul 2024 at 13:05. Reason: #EDIT 2024/07/12
    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  



Similar Threads

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