VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Page 1 of 16
1 2 3 11 ... LastLast
Results 1 to 30 of 464
Thread
  1. Hello. This is the support thread for Freevine, a program for downloading videos from various free streaming services.

    You can find it on github: https://github.com/stabbedbybrick/freevine

    I'm not a master programmer so bugs are more or less guaranteed. I'm basically making things up as I go. But I do have pretty thick skin, so feel free to use this thread to report weird behavior, bugs, or to ask for help.

    I've added an issue tracker on the Github repository. Please use it if possible. Thank you.

    Freevine v1.0.5

    Features:
    • Movies & TV-series
    • Episode selection and batch options
    • Quality selection
    • Automatic PSSH, manifest, and key retreival
    • Config files with customized settings
    • Search option

    Supported services:
    (Premium content on any service is not supported)

    Code:
    The Roku Channel: 1080p, DD5.1
    CBC Gem:          1080p, DD5.1
    CTV:              1080p, DD5.1
    Channel4 All4:    1080p, AAC2.0
    Channel5 My5:     1080p, AAC2.0
    BBC iPlayer:      1080p, AAC2.0
    STV Player:       1080p, AAC2.0
    ABC iView:        1080p, AAC2.0
    UKTVPlay:         1080p, AAC2.0
    Crackle:          1080p, AAC2.0
    CWTV:             1080p, AAC2.0
    Pluto:            720p,  AAC2.0
    ITVx:             720p,  AAC2.0
    Tubi:             720p,  AAC2.0
    Last edited by stabbedbybrick; 27th Nov 2023 at 11:10. Reason: changelog
    Quote Quote  
  2. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    You've produced a massive suite to keep loads of people happy. There is an enormouse amount ot work there. Well done.
    The interface, while not quite to my taste, (it has a 'scene-based' feel to it), gets the does the job.

    I suppose with a single point of reference you can more easily mute the notifications if DannyBoi is ever reincarnated?
    Last edited by A_n_g_e_l_a; 18th Sep 2023 at 09:19.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  3. Thank you, A_n_g_e_l_a. It's been a fun learning experience.

    Originally Posted by A_n_g_e_l_a View Post
    I suppose with a single point of reference you can more easily mute the notifications if DannyBoi is ever reincarnated?
    That is certainly one big bonus with having it all in one place
    Quote Quote  
  4. Thank you for starting a support thread. I was a chicken and didn't want to mess with my working folder with one of the previous versions in it. So I put that folder on my Desktop and started from scratch. I think I have got everything in there that is suppose to be in there in the new one. I had success with getting that missing episode that I couldn't get with the version I did have. I used this line and it worked:

    freevine.py -q 540p --episode S04E04 https://www.ctv.ca/shows/franklin-bash

    I am assuming since that turned out that I have the tools in the folder. But unless I am naming these wrong I may not have this figured out completely.

    freevine.py -q 540p -m https://www.ctv.ca/movies/the-meg

    freevine.py -q 480p -m https://tubitv.com/movies/255739/a-monster-in-paris

    Apologies up front for taking up time but on the other hand I didn't think I could get the folder set up right and I must have been at least partially successful for one thing to turn out right. Thank you in advance for any advice concerning this matter.
    Quote Quote  
  5. @Tom Saurus:

    You're not doing anything wrong, that's a definite bug with some titles. I'll take a look at it and fix it when I have some time over.

    But next time, please post the error message. I have no way of knowing what's happening for you otherwise.
    Quote Quote  
  6. Member
    Join Date
    Dec 2021
    Location
    Scotland
    Search Comp PM
    Thanks stabbedbybrick. Indeed, ITVX is now working. Excellent work.
    Now you did say you don't mind feedback. So perhaps I can mention this.

    With ITVX, the end subs are not srt but vtt (S_TEXT/WEBVTT). Some media players will not display those. Also, with the other downloaders, during muxing you make sure the subs do not autoplay (ie. to display subs you have to select display subs option in the player). With ITVX, they autoplay.

    Cheers and thank you.
    Quote Quote  
  7. @deccavox:

    ITV is unfortunately serving their subtitles separately from the manifest, and they don't offer SRT at all, so the built-in subtitle conversion by N_m3u8DL-RE doesn't work. I'm trying to figure out how to do it smoothly without having to install additional modules or binaries. I'll make a post about it when I figure it out.
    Quote Quote  
  8. Search, Learn, Download!
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by stabbedbybrick View Post
    @deccavox:

    ITV is unfortunately serving their subtitles separately from the manifest, and they don't offer SRT at all, so the built-in subtitle conversion by N_m3u8DL-RE doesn't work. I'm trying to figure out how to do it smoothly without having to install additional modules or binaries. I'll make a post about it when I figure it out.
    What format are the subs in?
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by stabbedbybrick View Post

    ITV is unfortunately serving their subtitles separately from the manifest, and they don't offer SRT at all, so the built-in subtitle conversion by N_m3u8DL-RE doesn't work. I'm trying to figure out how to do it smoothly without having to install additional modules or binaries. I'll make a post about it when I figure it out.
    This fragment from my ITVX downloader uses the python module pysubs2 . I've tried any number of converters but pysubs2 is the best so far.... but it works on files in a folder, not stuff in memory.
    Then N_m3u8DL-RE can do the muxing.
    Code:
    try:
                subs_url = video['Subtitles'][0]['Href']
                subs = self.client.get(subs_url)
                if subs.status_code==200:
                    SUBS = True
                    f = open(f"{videoname}.subs.vtt", "wb") # bytes needed for N_m's subtitles
                    subtitles = subs.content
                    f.write(subtitles)
                    f.close()
                    # convert subtitles
                    os.system(f"python -m pysubs2 --to srt {videoname}.subs.vtt")
                else:
                    SUBS=False
            except:
                SUBS = False
    If not importing another module is important to you, the above fits the bill as the module is called as an external program. So not imported but in the python library.
    And not an unwieldy binary like subtitleEditor.
    Last edited by A_n_g_e_l_a; 19th Sep 2023 at 04:21.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  10. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Subtitle Edit (may not be the one you referenced Angela) is an excellent tool that will scrub the VTT for funnies and common errors and then create a 'normal' subtitle.srt along with a version for HEARING IMPAIRED viewers and even one that is HI formatted but also includes COLOURS to aid with identifying different speakers.
    Quote Quote  
  11. Is there a possibility in the future to update the program like YT-DLP does where you just launch and type program name -U for update and it just gets whatever it needs. I am glad I kept the previous version on my Desktop because everything failed for me except that episode of Franklin & Bash on the newer version. But I will go back and give the new version another attempt I am thinking tomorrow. I feel rather ashamed to have not mastered this updating technique.
    Quote Quote  
  12. Originally Posted by Tom Saurus View Post
    Is there a possibility in the future to update the program like YT-DLP does where you just launch and type program name -U for update and it just gets whatever it needs. I am glad I kept the previous version on my Desktop because everything failed for me except that episode of Franklin & Bash on the newer version. But I will go back and give the new version another attempt I am thinking tomorrow. I feel rather ashamed to have not mastered this updating technique.
    If you've cloned the repo with:
    git clone https://github.com/stabbedbybrick/freevine.git

    You can use this command to update:
    git pull https://github.com/stabbedbybrick/freevine.git

    I know I'm missing out all the cmd cd stuff, but I'm assuming you know just enough to navigate with that. And once this works you can turn it into a bat file. At least that's what I do, but again, I'm just a beginner and I'm sure there's other ways.
    Quote Quote  
  13. All right, new update.

    ITV subtitles are now part of the manifest and should convert properly to SRT. Feel free to report any issues.

    Problems with some CTV movie titles have been fixed.

    Tubi errors when fetching subtitles have been fixed. If you're not getting subtitles, it's because there aren't any.
    Quote Quote  
  14. Originally Posted by A_n_g_e_l_a View Post
    This fragment from my ITVX downloader uses the python module pysubs2 . I've tried any number of converters but pysubs2 is the best so far.... but it works on files in a folder, not stuff in memory.
    Then N_m3u8DL-RE can do the muxing.
    Code:
    try:
                subs_url = video['Subtitles'][0]['Href']
                subs = self.client.get(subs_url)
                if subs.status_code==200:
                    SUBS = True
                    f = open(f"{videoname}.subs.vtt", "wb") # bytes needed for N_m's subtitles
                    subtitles = subs.content
                    f.write(subtitles)
                    f.close()
                    # convert subtitles
                    os.system(f"python -m pysubs2 --to srt {videoname}.subs.vtt")
                else:
                    SUBS=False
            except:
                SUBS = False
    If not importing another module is important to you, the above fits the bill as the module is called as an external program. So not imported but in the python library.
    And not an unwieldy binary like subtitleEditor.
    Looks like a good solution. I figured out a way to include the subtitles in the manifest so N_m3u8DL-RE can properly convert them, but if that doesn't work out, I'm definitely looking into py2subs.
    Quote Quote  
  15. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Thank you!
    Quote Quote  
  16. Originally Posted by freebee View Post
    Originally Posted by Tom Saurus View Post
    Is there a possibility in the future to update the program like YT-DLP does where you just launch and type program name -U for update and it just gets whatever it needs. I am glad I kept the previous version on my Desktop because everything failed for me except that episode of Franklin & Bash on the newer version. But I will go back and give the new version another attempt I am thinking tomorrow. I feel rather ashamed to have not mastered this updating technique.
    If you've cloned the repo with:
    git clone https://github.com/stabbedbybrick/freevine.git

    You can use this command to update:
    git pull https://github.com/stabbedbybrick/freevine.git

    I know I'm missing out all the cmd cd stuff, but I'm assuming you know just enough to navigate with that. And once this works you can turn it into a bat file. At least that's what I do, but again, I'm just a beginner and I'm sure there's other ways.
    Thank you for you post. I took a fresh go at updating this morning. I downloaded the zip file and moved it over from my Downloads Folder and dropped it in the Freevine Main folder. Then I extracted and then moved what was in that extracted folder up into the main folder and chose replace and then I ran the pip install requirements which told me that everything was already there that was needed.

    I followed that by reading through the Help Documentation and eventually I arrived at a correct instruction line and had success on getting four episodes that I instructed for it to get. This was for CTV and now I am trying a CTV movie and so far it is looking like it is working. I will try Tubi next and see how that goes.

    If you are Canadian there is a new free streaming website for Global TV called Global TV Freeplay. It doesn't have all that many titles but it is good to see that they are now offering this. I am going to see if I can get that added to my Sister's Smart TV.

    Thank you once again stabbedbybrick for this terrific program.


    Something I noticed when downloading from Pluto TV that it seems to ignore lower resolution instructions and you get huge files. I notice this because I tend to go for good enough quality instead of 720p and beyond. Probably down the line I may regret that but money is tight and hard drive space can fill up quickly with HD and beyond files. But perhaps this issue is just my not getting the instructions right and most people would want the best quality possible.

    Another thing with DSL sometimes that can be flaky and thankfully N-m3u8DL-RE has an ability to keep the download going if your speed drops or your internet goes out all together for whatever reason. I noticed that some files as of late would get nearly completed and then there would be a problem and it would fail. So by deleting that specific file from the Download folder in Freevine Main that one can go back in and make another attempt and as long as you have left whatever was downloaded in the temp folder alone it can pick up where it left off. Sometimes I would be just 20 or even smaller Mb's away from having the complete file. So that seemed to work for me and I thought I should share that but I did share something similar already in this thread.

    Update: The CTV movie and the TubiTV movie, a success with both. I have my text templates saved to work with going forward.
    Last edited by Tom Saurus; 20th Sep 2023 at 12:22.
    Quote Quote  
  17. Originally Posted by Tom Saurus View Post
    Something I noticed when downloading from Pluto TV that it seems to ignore lower resolution instructions and you get huge files. I notice this because I tend to go for good enough quality instead of 720p and beyond. Probably down the line I may regret that but money is tight and hard drive space can fill up quickly with HD and beyond files. But perhaps this issue is just my not getting the instructions right and most people would want the best quality possible.
    Yes, Pluto doesn't take any quality input at the moment. It was such a giant pain in the ass to deal with that once I got it working, I basically vowed to never return. Just an awful, awful streaming service in every way.

    But I'll see if I can add it down the line once the overall trauma has settled and the nightmares have stopped.
    Quote Quote  
  18. Search, Learn, Download!
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Downloading 720p and transcoding to x265 could possibly give you the same filesize as the default 480p you download, but at better quality. You should have a look.

    Also, yes, downloading lower quality will always come back to haunt you later
    Quote Quote  
  19. Please don't rush on my account I agree PlutoTV is frustrating. Most of what they have is live streaming not On Demand and the On Demand stuff is quite limited. The Real McCoys was about the only On Demand that was fully there and I didn't bother much with that because only the first video was 25 minutes the rest are 22 minutes and that indicates edited episodes.
    Quote Quote  
  20. Karoolus: Thank you for your post. That is an option to consider. My Internet speed is only 1 Mbps or so from the read out on N_m3u8DL-RE so it would take longer to download the bigger files. I am thinking for turning the Mini PC into my video player as well. I have been using a little Apteck Media Player and it won't play .h265 so I tend to stick to h.264 mp4 but I am noticing some newer videos over at TubiTV are now hevc so I have to adapt to new things. The little Beelink mini-pc has been a real gem with the USB 3.0 speed for hard drives and the wireless Logitech Keyboard with track pad has media key buttons so I can see that being an alternative to the media player and I have more options with what can be played. I apologize for shifting focus and back to the main aim of this as I practically got this post turned into a mini-series.
    Quote Quote  
  21. The program had a problem with decrypting on two episodes of Swedish Dicks. I noticed this because I was watching the series last night and these two episodes wouldn't play so I went back to get them again and this was what was revealed. But thankfully CTV has the same show so I got the episodes successfully from there.


    Code:
    C:\freevine-main>freevine.py -q 480p -e S01E04,S01E09 https://tubitv.com/series/300009218/swedish-dicks
    
    00:29:27.506 INFO : Freevine beta (200923)
    
    00:29:29.292 INFO : TUBITV
    00:29:30.183 INFO : Swedish Dicks (2016): 2 Season(s), 20 Episode(s)
    
    00:29:31.917 INFO : Swedish.Dicks.S01E04.Letís.Talk.About.Cults
    00:29:31.917 INFO : 866ccd176ad54aa2a9aef1424b0ec478:f29c23cc87c174ffa137f307c50ce68c
    
    00:29:32.126 INFO : N_m3u8DL-RE (Beta version) 20230628
    00:29:32.146 INFO : Loading URL: https://manifest.production-public.tubi.io/fc021fb5-c028-431d-b620-47970f0ee7c9/12ujjd1jor.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjZG5fcHJlZml4IjoiaHR0cHM6Ly9ha2FtYWkyLnR1YmkudmlkZW8iLCJjb3VudHJ5IjoiQ0EiLCJkZXZpY2VfaWQiOiI0Njc1YzExOS1hYjdlLTRkMGQtODI3Ni0yNjQzYWQ5YWFiZjMiLCJleHAiOjE2OTU1Mjk1MDAsInBsYXRmb3JtIjoiV0VCIiwidXNlcl9pZCI6MH0.ArRHFGSdkmIR73hSd9DqLegy6wgdK-lr5r3xN5mcrmY&manifest=true
    00:29:32.505 INFO : Content Matched: HTTP Live Streaming
    00:29:32.505 INFO : Parsing streams...
    00:29:32.509 WARN : Master List detected, try parse all streams
    00:29:32.520 WARN : Writing meta json
    00:29:32.523 INFO : Extracted, there are 5 streams, with 4 basic streams, 1 audio streams, 0 subtitle streams
    00:29:32.524 INFO : Vid 1280x720 | 2422 Kbps | avc1.640028
    00:29:32.525 INFO : Vid 1024x576 | 1886 Kbps | avc1.640028
    00:29:32.526 INFO : Vid 854x480 | 1302 Kbps | avc1.640028
    00:29:32.527 INFO : Vid 640x360 | 618 Kbps | avc1.4d401e
    00:29:32.528 INFO : Aud default-audio-group | stream_0 | en | 2CH
    00:29:32.529 INFO : Parsing streams...
    00:29:32.743 INFO : Selected streams:
    00:29:32.745 INFO : Vid *SAMPLE_AES_CTR 854x480 | 1302 Kbps | avc1.640028 | 268 Segments | ~26m45s
    00:29:32.746 INFO : Aud *SAMPLE_AES_CTR default-audio-group | stream_0 | en | 2CH | 268 Segments | ~26m45s
    00:29:32.748 WARN : Writing meta json
    00:29:32.758 INFO : Save Name: Swedish.Dicks.S01E04.Let's.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264
    00:29:32.759 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    00:29:32.764 INFO : Start downloading...Vid 854x480 | 1302 Kbps | avc1.640028
    00:29:32.764 INFO : Start downloading...Aud default-audio-group | stream_0 | en | 2CH
    00:29:32.863 WARN : Type: cenc
    00:29:32.870 WARN : Type: cenc
    00:29:32.871 WARN : PSSH(WV): EhCGbM0XatVKoqmu8UJLDsR4SOPclZsG
    00:29:32.875 WARN : PSSH(WV): EhCGbM0XatVKoqmu8UJLDsR4SOPclZsG
    00:29:32.878 WARN : KID: 866ccd176ad54aa2a9aef1424b0ec478
    00:29:32.880 WARN : KID: 866ccd176ad54aa2a9aef1424b0ec478
    00:29:32.882 INFO : Trying to search for KEY from text file...
    00:29:32.883 INFO : Trying to search for KEY from text file...
    00:29:32.886 INFO : OK 866ccd176ad54aa2a9aef1424b0ec478:f29c23cc87c174ffa137f307c50ce68c
    00:29:32.887 INFO : OK 866ccd176ad54aa2a9aef1424b0ec478:f29c23cc87c174ffa137f307c50ce68c
    00:29:32.888 WARN : Reading media info...
    00:29:32.889 WARN : Reading media info...
    00:29:32.953 INFO : [0x1]: Video, h264 (avc1), 854x480
    00:29:32.971 INFO : [0x1]: Audio, aac (mp4a), 125 kb/s
    00:30:24.466 INFO : Binary merging...
    00:30:24.788 INFO : Decrypting...
    00:33:33.134 INFO : Binary merging...
    00:33:33.671 INFO : Decrypting...
    00:33:33.713 WARN : Swedish.Dicks.S01E04.Let's.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    00:33:33.714 WARN : Swedish.Dicks.S01E04.Let's.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.en.m4a
    00:33:33.714 WARN : Swedish.Dicks.S01E04.Let's.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.srt
    00:33:33.714 WARN : Muxing to Swedish.Dicks.S01E04.Let's.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.MUX.mp4
    00:33:33.828 WARN : [h264 @ 00000288a2f08080] top block unavailable for requested intra mode -1
    00:33:33.828 WARN : [h264 @ 00000288a2f08080] error while decoding MB 1 0, bytestream 40320
    00:33:33.922 WARN : [aac @ 00000288a4b24540] Reserved bit set.
    00:33:33.922 WARN : [aac @ 00000288a4b24540] Prediction is not allowed in AAC-LC.
    00:33:33.927 WARN : [mp4 @ 00000288a6ecc040] track 1: codec frame size is not set
    00:33:33.947 WARN : [mp4 @ 00000288a6ecc040] aac bitstream error
    00:33:34.513 WARN :     Last message repeated 17 times
    00:33:34.574 WARN : Cleaning files...
    00:33:34.602 WARN : Rename to Swedish.Dicks.S01E04.Let's.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    00:33:34.603 INFO : Done
    00:33:36.012 INFO : Swedish.Dicks.S01E09.Thereís.Something.About.Tex
    00:33:36.012 INFO : 0f765b0222944764ab7df14c4c116871:5bbfe5ad514e9515911f1be79f8fa2fb
    Code:
    00:33:36.181 INFO : N_m3u8DL-RE (Beta version) 20230628
    00:33:36.202 INFO : Loading URL: https://manifest.production-public.tubi.io/785f86a2-050b-4e90-97a9-a914c758a376/5onsguxhck.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjZG5fcHJlZml4IjoiaHR0cHM6Ly9ha2FtYWkyLnR1YmkudmlkZW8iLCJjb3VudHJ5IjoiQ0EiLCJkZXZpY2VfaWQiOiI0Njc1YzExOS1hYjdlLTRkMGQtODI3Ni0yNjQzYWQ5YWFiZjMiLCJleHAiOjE2OTU1Mjk1MDAsInBsYXRmb3JtIjoiV0VCIiwidXNlcl9pZCI6MH0.ArRHFGSdkmIR73hSd9DqLegy6wgdK-lr5r3xN5mcrmY&manifest=true
    00:33:36.564 INFO : Content Matched: HTTP Live Streaming
    00:33:36.564 INFO : Parsing streams...
    00:33:36.568 WARN : Master List detected, try parse all streams
    00:33:36.580 WARN : Writing meta json
    00:33:36.585 INFO : Extracted, there are 5 streams, with 4 basic streams, 1 audio streams, 0 subtitle streams
    00:33:36.586 INFO : Vid 1280x720 | 2387 Kbps | avc1.640028
    00:33:36.588 INFO : Vid 1024x576 | 1865 Kbps | avc1.640028
    00:33:36.589 INFO : Vid 854x480 | 1289 Kbps | avc1.640028
    00:33:36.594 INFO : Vid 640x360 | 601 Kbps | avc1.4d401e
    00:33:36.595 INFO : Aud default-audio-group | stream_0 | en | 2CH
    00:33:36.597 INFO : Parsing streams...
    00:33:36.815 INFO : Selected streams:
    00:33:36.817 INFO : Vid *SAMPLE_AES_CTR 854x480 | 1289 Kbps | avc1.640028 | 239 Segments | ~23m50s
    00:33:36.820 INFO : Aud *SAMPLE_AES_CTR default-audio-group | stream_0 | en | 2CH | 239 Segments | ~23m50s
    00:33:36.822 WARN : Writing meta json
    00:33:36.833 INFO : Save Name: Swedish.Dicks.S01E09.There's.Something.About.Tex.480p.TUBi.WEB-DL.AAC2.0.H.264
    00:33:36.834 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    00:33:36.839 INFO : Start downloading...Vid 854x480 | 1289 Kbps | avc1.640028
    00:33:36.839 INFO : Start downloading...Aud default-audio-group | stream_0 | en | 2CH
    00:33:36.942 WARN : Type: cenc
    00:33:36.945 WARN : PSSH(WV): EhAPdlsCIpRHZKt98UxMEWhxSOPclZsG
    00:33:36.947 WARN : KID: 0f765b0222944764ab7df14c4c116871
    00:33:36.947 WARN : Type: cenc
    00:33:36.949 INFO : Trying to search for KEY from text file...
    00:33:36.953 WARN : PSSH(WV): EhAPdlsCIpRHZKt98UxMEWhxSOPclZsG
    00:33:36.955 INFO : OK 0f765b0222944764ab7df14c4c116871:5bbfe5ad514e9515911f1be79f8fa2fb
    00:33:36.957 WARN : KID: 0f765b0222944764ab7df14c4c116871
    00:33:36.958 WARN : Reading media info...
    00:33:36.961 INFO : Trying to search for KEY from text file...
    00:33:36.964 INFO : OK 0f765b0222944764ab7df14c4c116871:5bbfe5ad514e9515911f1be79f8fa2fb
    00:33:36.969 WARN : Reading media info...
    00:33:37.027 INFO : [0x1]: Video, h264 (avc1), 854x480
    00:33:37.041 INFO : [0x1]: Audio, aac (mp4a), 125 kb/s
    00:34:19.691 INFO : Binary merging...
    00:34:19.967 INFO : Decrypting...
    00:37:10.348 INFO : Binary merging...
    00:37:10.811 INFO : Decrypting...
    00:37:10.856 WARN : Swedish.Dicks.S01E09.There's.Something.About.Tex.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    00:37:10.856 WARN : Swedish.Dicks.S01E09.There's.Something.About.Tex.480p.TUBi.WEB-DL.AAC2.0.H.264.en.m4a
    00:37:10.856 WARN : Swedish.Dicks.S01E09.There's.Something.About.Tex.480p.TUBi.WEB-DL.AAC2.0.H.264.srt
    00:37:10.856 WARN : Muxing to Swedish.Dicks.S01E09.There's.Something.About.Tex.480p.TUBi.WEB-DL.AAC2.0.H.264.MUX.mp4
    00:37:10.943 WARN : [h264 @ 00000246977f7800] top block unavailable for requested intra mode -1
    00:37:10.944 WARN : [h264 @ 00000246977f7800] error while decoding MB 1 0, bytestream 40302
    00:37:11.010 WARN : [aac @ 00000246982bcb80] Reserved bit set.
    00:37:11.011 WARN : [aac @ 00000246982bcb80] TNS filter order 24 is greater than maximum 12.
    00:37:11.015 WARN : [mp4 @ 0000024699e66040] track 1: codec frame size is not set
    00:37:11.042 WARN : [mp4 @ 0000024699e66040] aac bitstream error
    00:37:11.503 WARN :     Last message repeated 20 times
    00:37:11.507 WARN : [mp4 @ 0000024699e66040] aac bitstream error
    00:37:11.562 WARN : Cleaning files...
    00:37:11.846 WARN : Rename to Swedish.Dicks.S01E09.There's.Something.About.Tex.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    00:37:12.181 INFO : Done
    I thought I should let you know for feedback purposes. This is a terrific program and thank you for making it.
    Quote Quote  
  22. I can't reproduce that error with either ffmpeg/mp4 or mkvmerge/mkv:

    Code:
    15:41:51.836 WARN : Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    15:41:51.836 WARN : Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.en.m4a
    15:41:51.837 WARN : Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.srt
    15:41:51.837 WARN : Muxing to Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.MUX.mkv
    15:41:55.604 WARN : Cleaning files...
    15:41:55.753 WARN : Rename to Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mkv
    15:41:55.754 INFO : Done
    
    15:45:24.280 WARN : Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    15:45:24.280 WARN : Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.en.m4a
    15:45:24.280 WARN : Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.srt
    15:45:24.281 WARN : Muxing to Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.MUX.mp4
    15:45:28.926 WARN : Cleaning files...
    15:45:29.073 WARN : Rename to Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    15:45:29.075 INFO : Done
    It looks like your ffmpeg is having trouble decoding the audio stream. If you keep getting the errors on more titles, try updating ffmpeg if possible.
    Quote Quote  
  23. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    @stabbedbybrick

    1 thought, 1 question.

    1. I use GitHub to clone your repo. Works like a charm, however the config.yaml file is the only file that will be edited by the end user. If changes are made to that file, GitHub Desktop will prompt to show the changes compared to the remote copy. It's easy of course to add this file to the .gitignore file but if you make a system change to the file then those will be missed. So what about creating two files initially, master-config.yaml and config.yaml. Then only edit the master version leaving the normal config.yaml untouched. That way the master will always be updated/cloned.

    2. Is there anyway to NOT have the subtitles converted to SRT automatically? Just an edit I can do on my local copy of the scripts though so not to mess with your system. I've found that when converting to SRT, the colours in the subtitles are stripped which necessitates manually downloading them.

    Thanks again for all the hard work.
    Quote Quote  
  24. Originally Posted by stabbedbybrick View Post
    I can't reproduce that error with either ffmpeg/mp4 or mkvmerge/mkv:

    Code:
    15:41:51.836 WARN : Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    15:41:51.836 WARN : Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.en.m4a
    15:41:51.837 WARN : Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.srt
    15:41:51.837 WARN : Muxing to Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.MUX.mkv
    15:41:55.604 WARN : Cleaning files...
    15:41:55.753 WARN : Rename to Swedish.Dicks.S01E04.Lets.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mkv
    15:41:55.754 INFO : Done
    
    15:45:24.280 WARN : Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    15:45:24.280 WARN : Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.en.m4a
    15:45:24.280 WARN : Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.srt
    15:45:24.281 WARN : Muxing to Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.MUX.mp4
    15:45:28.926 WARN : Cleaning files...
    15:45:29.073 WARN : Rename to Swedish.Dicks.S01E04.Letís.Talk.About.Cults.480p.TUBi.WEB-DL.AAC2.0.H.264.mp4
    15:45:29.075 INFO : Done
    It looks like your ffmpeg is having trouble decoding the audio stream. If you keep getting the errors on more titles, try updating ffmpeg if possible.
    I took a look and I have the latest stable release listed here at VideoHelp for ffmpeg. It is version 6.0 I was thinking I may use developer tools and WK Keys concerning these two files and input that in a template I have for N_m3u8DL-RE and see if the same thing happens. It might be good for me to do that because those kind of skills seem to evaporate for me if I don't practice often. All the other Swedish Dick files were fine but I did download them with the DL version of your program as I just got this new version working. This error seems to be for me in both versions. I didn't notice it at the time as I didn't go look at the log thoroughly after they were downloaded and I didn't check each file individually. I just scan the file details in Windows Explorer and they all were similarly sized and read a similar duration. So I just dropped them in a program I use called "Rename My TV Series" and moved the files to a portable hard drive.

    Thank you once again for this great program and for your advice.
    Quote Quote  
  25. Originally Posted by sipho View Post
    @stabbedbybrick

    1 thought, 1 question.

    1. I use GitHub to clone your repo. Works like a charm, however the config.yaml file is the only file that will be edited by the end user. If changes are made to that file, GitHub Desktop will prompt to show the changes compared to the remote copy. It's easy of course to add this file to the .gitignore file but if you make a system change to the file then those will be missed. So what about creating two files initially, master-config.yaml and config.yaml. Then only edit the master version leaving the normal config.yaml untouched. That way the master will always be updated/cloned.

    2. Is there anyway to NOT have the subtitles converted to SRT automatically? Just an edit I can do on my local copy of the scripts though so not to mess with your system. I've found that when converting to SRT, the colours in the subtitles are stripped which necessitates manually downloading them.

    Thanks again for all the hard work.
    1. I don't know how Github Desktop works, but in standard Git the remote branch will merge with your local branch when you pull the updates to a cloned repository. Any local commits you've made will stay while new ones will be added. It's a major part of Git's functionality, and I'd assume the desktop client has the same features.

    2. Sorry, there is no easy way for me to explain how to edit the scripts. Wanting to keep text stylization is what I would consider an extremely niche request, and I just can't include everything. Perhaps you could try Angela's program? She's using another method to convert the subs, maybe that will work better for you.
    Quote Quote  
  26. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    stabbedbybrick - First off, LOVE this. Has been so helpful, and I have had no issues that I either could not trace trough and fix on my own. Or with your great posts/help with updates, or answering other peoples questions!!

    I do have a question, not sure if this is with N_m3u8DL-RE itself, or if it is the way your script pulls the quality of the streams from the mpd, but I cannot figure it out.

    I do want the --quality, and choose --quality of 720p. But for saving space, is it possible to choose the worst quality version of 720p for example? It defaults to the highest quality of that resolution. Like the code snippet below, is there a way to have it select "Vid *CENC 1280x720 | 2308 Kbps | 4 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" rather than "Vid *CENC 1280x720 | 2447 Kbps | 3 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" as default??

    Code:
    freevine.py --quality 720p --episode s01e01 https://therokuchannel.roku.com/details/2924df5bc73e570692d0498dd20d9e85/happy-endings
    
    22:29:27.528 INFO : Freevine beta (200923)
    
    22:29:28.321 INFO : ROKU
    22:29:29.552 INFO : Happy Endings (2011): 3 Season(s), 57 Episode(s)
    
    22:29:30.055 INFO : Happy.Endings.S01E01.Pilot
    22:29:30.056 INFO : 26b32243d3e7ed707e7534b30030bee0:a045ff68b4f79bc61b6f32458634d8ac
    
    22:29:31.090 INFO : N_m3u8DL-RE (Beta version) 20230628
    22:29:31.155 INFO : Loading URL: https://vod.delivery.roku.com/2a4f49d5ebe04246911d0727a6804b13/3ad88f65a8d5468a97e1967971bb5661/f6b8bffe2a634a529269874fc6c4cbf0/index.mpd
    22:29:31.284 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    22:29:31.284 INFO : Parsing streams...
    22:29:31.398 WARN : Writing meta json
    22:29:31.414 INFO : Extracted, there are 12 streams, with 9 basic streams, 2 audio streams, 1 subtitle streams
    22:29:31.414 INFO : Vid *CENC 1920x1080 | 5458 Kbps | 1 | 23.976 | avc1.640028 | 654 Segments | ~21m49s
    22:29:31.415 INFO : Vid *CENC 1920x1080 | 4139 Kbps | 2 | 23.976 | avc1.640028 | 654 Segments | ~21m49s
    22:29:31.416 INFO : Vid *CENC 1280x720 | 2447 Kbps | 3 | 23.976 | avc1.64001F | 654 Segments | ~21m49s
    22:29:31.416 INFO : Vid *CENC 1280x720 | 2308 Kbps | 4 | 23.976 | avc1.64001F | 654 Segments | ~21m49s
    22:29:31.417 INFO : Vid *CENC 720x406 | 714 Kbps | 5 | 23.976 | avc1.64001E | 654 Segments | ~21m49s
    22:29:31.417 INFO : Vid *CENC 720x406 | 707 Kbps | 6 | 23.976 | avc1.64001E | 654 Segments | ~21m49s
    22:29:31.417 INFO : Vid *CENC 512x288 | 437 Kbps | 7 | 23.976 | avc1.640015 | 654 Segments | ~21m49s
    22:29:31.418 INFO : Vid *CENC 384x216 | 265 Kbps | 8 | 23.976 | avc1.64000D | 654 Segments | ~21m49s
    22:29:31.418 INFO : Vid *CENC 384x216 | 148 Kbps | 9 | 23.976 | avc1.64000D | 654 Segments | ~21m49s
    22:29:31.419 INFO : Aud *CENC 11 | 384 Kbps | ac-3 | en | F801CH | 654 Segments | ~21m49s
    22:29:31.419 INFO : Aud *CENC 10 | 128 Kbps | mp4a.40.5 | en | 2CH | 654 Segments | ~21m49s
    22:29:31.419 INFO : Sub 12 | en | stpp | 654 Segments | ~21m49s
    22:29:31.420 INFO : Parsing streams...
    22:29:31.428 INFO : Selected streams:
    22:29:31.430 INFO : Vid *CENC 1280x720 | 2447 Kbps | 3 | 23.976 | avc1.64001F | 654 Segments | ~21m49s
    22:29:31.431 INFO : Aud *CENC 11 | 384 Kbps | ac-3 | en | F801CH | 654 Segments | ~21m49s
    22:29:31.432 INFO : Sub 12 | en | stpp | 654 Segments | ~21m49s
    22:29:31.433 WARN : Writing meta json
    22:29:31.436 INFO : Save Name: Happy.Endings.S01E01.Pilot.720p.ROKU.WEB-DL.DD5.1.H.264
    22:29:31.437 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    22:29:31.441 INFO : Start downloading...Aud 11 | 384 Kbps | ac-3 | en | F801CH
    22:29:31.441 INFO : Start downloading...Vid 1280x720 | 2447 Kbps | 3 | 23.976 | avc1.64001F
    22:29:31.443 INFO : Start downloading...Sub 12 | en | stpp
    Quote Quote  
  27. Originally Posted by ehurdler View Post
    stabbedbybrick - First off, LOVE this. Has been so helpful, and I have had no issues that I either could not trace trough and fix on my own. Or with your great posts/help with updates, or answering other peoples questions!!

    I do have a question, not sure if this is with N_m3u8DL-RE itself, or if it is the way your script pulls the quality of the streams from the mpd, but I cannot figure it out.

    I do want the --quality, and choose --quality of 720p. But for saving space, is it possible to choose the worst quality version of 720p for example? It defaults to the highest quality of that resolution. Like the code snippet below, is there a way to have it select "Vid *CENC 1280x720 | 2308 Kbps | 4 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" rather than "Vid *CENC 1280x720 | 2447 Kbps | 3 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" as default??
    part of the N_m3u8DL-RE command to get the worst quality 720p would be
    Code:
    -sv res="x720":for=worst
    so you could edit the roku.py script line 303 from
    Code:
    _video = f"res='{resolution}'" if self.quality else "for=best"
    to
    Code:
    _video = f"res='x{resolution}':for=worst" if self.quality else "for=best"
    and that will grab the worst quality file for the resolution you select.
    (note: make sure you include the 'x' before {resolution} otherwise it will also match "720x406" resolution)

    stabbedbybrick might have a better solution
    Quote Quote  
  28. Originally Posted by ehurdler View Post
    stabbedbybrick - First off, LOVE this. Has been so helpful, and I have had no issues that I either could not trace trough and fix on my own. Or with your great posts/help with updates, or answering other peoples questions!!

    I do have a question, not sure if this is with N_m3u8DL-RE itself, or if it is the way your script pulls the quality of the streams from the mpd, but I cannot figure it out.

    I do want the --quality, and choose --quality of 720p. But for saving space, is it possible to choose the worst quality version of 720p for example? It defaults to the highest quality of that resolution. Like the code snippet below, is there a way to have it select "Vid *CENC 1280x720 | 2308 Kbps | 4 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" rather than "Vid *CENC 1280x720 | 2447 Kbps | 3 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" as default??
    Nice, glad to hear it's working for you

    As for choosing the worst quality, the easiest solution right now would be what ElCap wrote above. The script only looks for matches between available resolutions and input from the user, and then leaves the rest to N_m3u8DL-RE who automatically grabs the best version of any given resolution.

    Just keep in mind that, depending on what method you're using to stay up-to-date, the changes you make might need to be re-applied with every update. If you're using Git to update, then it shouldn't be a problem. But if you're downloading the .zip, any changes you make will disappear.

    People do seem to want the option of lower quality video/audio, so I'll see if I can add some options for it in future updates.
    Quote Quote  
  29. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by ElCap View Post
    Originally Posted by ehurdler View Post
    stabbedbybrick - First off, LOVE this. Has been so helpful, and I have had no issues that I either could not trace trough and fix on my own. Or with your great posts/help with updates, or answering other peoples questions!!

    I do have a question, not sure if this is with N_m3u8DL-RE itself, or if it is the way your script pulls the quality of the streams from the mpd, but I cannot figure it out.

    I do want the --quality, and choose --quality of 720p. But for saving space, is it possible to choose the worst quality version of 720p for example? It defaults to the highest quality of that resolution. Like the code snippet below, is there a way to have it select "Vid *CENC 1280x720 | 2308 Kbps | 4 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" rather than "Vid *CENC 1280x720 | 2447 Kbps | 3 | 23.976 | avc1.64001F | 654 Segments | ~21m49s" as default??
    part of the N_m3u8DL-RE command to get the worst quality 720p would be
    Code:
    -sv res="x720":for=worst
    so you could edit the roku.py script line 303 from
    Code:
    _video = f"res='{resolution}'" if self.quality else "for=best"
    to
    Code:
    _video = f"res='x{resolution}':for=worst" if self.quality else "for=best"
    and that will grab the worst quality file for the resolution you select.
    (note: make sure you include the 'x' before {resolution} otherwise it will also match "720x406" resolution)

    stabbedbybrick might have a better solution
    ElCap this is exactly what I was looking for. Actually did find the line right after I posted this, however I was a bit short on editing it correctly. Thank you very much.

    stabbedbybrick - I copy the files new each time/copy paste from github. Thank you! I have two copies now, I will just make one active over the other now when I need the exact resolution best or worst!! Thank you both!
    Quote Quote  
  30. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by stabbedbybrick View Post

    2. Sorry, there is no easy way for me to explain how to edit the scripts. Wanting to keep text stylization is what I would consider an extremely niche request, and I just can't include everything. Perhaps you could try Angela's program? She's using another method to convert the subs, maybe that will work better for you.
    I did some digging and testing. It turns out that it's not the conversion to SRT that removes the colours from the subtitles. CTV doesn't offer coloured Subs so this channel was irrelevant.

    For some reason STV won't play along but subs are easy to get with yt-dlp in a script. I managed to get this to work for Channel 4, UKTV and ITV.

    This was achieved relatively easily with an addition to your code that by default will still do the conversion to SRT.

    Just need to figure out STV.
    Quote Quote  



Similar Threads

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