Is 3.12 supported? I had the previous version working perfectly but really struggling even to get 1.01 installed:
[Attachment 74869 - Click to enlarge]
Even moved to users to avoid permissions issues, running in a venv, always falls down on pywidevine...
I know it's me being dumb most likely but I've been googling for hours with no light at the end of the tunnel.
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 331 to 360 of 1599
-
-
I had problems with Python 3.12 in windows in that it wouldn't install a lot of the requirements.txt stuff. I use version 3.10.0 which seems to work for both Stabbed and Angela's scripts.
-
I forgot that 3.12 stable was recently released. No, 3.12 is currently not supported by pywidevine but should be soon according to the developer.
-
-
edit: just noticed the previous posts about python versions...
Last edited by vidsrme; 14th Nov 2023 at 07:19.
-
-
Found one that for some reason is falling down, don't think it's me causing it, this time!
Code:freevine.py -e S17E26 https://www.channel4.com/programmes/a-place-in-the-sun
Code:16:20:13.164 INFO : Binary merging... 16:20:13.897 INFO : Decrypting... 16:20:19.393 WARN : A.Place.in.the.Sun.S17E26.Mon.13.Nov.2023.Almerķa.Spain.1080p.ALL4.WEB-DL.AAC2.0.H.264.mp4 16:20:19.393 WARN : A.Place.in.the.Sun.S17E26.Mon.13.Nov.2023.Almerķa.Spain.1080p.ALL4.WEB-DL.AAC2.0.H.264.en.m4a 16:20:19.393 WARN : A.Place.in.the.Sun.S17E26.Mon.13.Nov.2023.Almerķa.Spain.1080p.ALL4.WEB-DL.AAC2.0.H.264.srt 16:20:19.393 WARN : Muxing to A.Place.in.the.Sun.S17E26.Mon.13.Nov.2023.Almerķa.Spain.1080p.ALL4.WEB-DL.AAC2.0.H.264.MUX.mkv 16:20:19.455 ERROR: Mux failed 16:20:19.455 ERROR: Failed Traceback (most recent call last): File "D:\Videos\Freevine\services\channel4\channel4.py", line 317, in download subprocess.run(args, check=True) File "C:\Users\Paul\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['.\\N_m3u8DL-RE.EXE', 'http://ak.dash01.stream.c4assets.com/wvmod-stream/CH4_33_05_42_72018097001001_002_HD.mpd?c3.ri=13633615598593766700', '-mt', '--auto-subtitle-fix', 'true', '--thread-count', '16', '--save-name', 'A.Place.in.the.Sun.S17E26.Mon.13.Nov.2023.Almerķa.Spain.1080p.ALL4.WEB-DL.AAC2.0.H.264', '--tmp-dir', 'temp', '--save-dir', WindowsPath('downloads/A Place in the Sun/Season 17'), '--no-log', '--key-text-file', WindowsPath('tmp/keys.txt'), '-sv', 'for=best', '-sa', 'for=best', '-ss', 'all', '-M', 'format=mkv:muxer=mkvmerge:skip_sub=false']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\Videos\Freevine\freevine.py", line 66, in <module> main() File "C:\Users\Paul\Freevine\lib\site-packages\click\core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "C:\Users\Paul\Freevine\lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) File "C:\Users\Paul\Freevine\lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "C:\Users\Paul\Freevine\lib\site-packages\click\core.py", line 783, in invoke return __callback(*args, **kwargs) File "D:\Videos\Freevine\freevine.py", line 60, in main Service(main_config, srvc_api, srvc_config, wvd, **kwargs) File "D:\Videos\Freevine\services\channel4\channel4.py", line 51, in __init__ self.get_options() File "D:\Videos\Freevine\services\channel4\channel4.py", line 287, in get_options self.download(download, title) File "D:\Videos\Freevine\services\channel4\channel4.py", line 319, in download raise ValueError(f"{e}") ValueError: Command '['.\\N_m3u8DL-RE.EXE', 'http://ak.dash01.stream.c4assets.com/wvmod-stream/CH4_33_05_42_72018097001001_002_HD.mpd?c3.ri=13633615598593766700', '-mt', '--auto-subtitle-fix', 'true', '--thread-count', '16', '--save-name', 'A.Place.in.the.Sun.S17E26.Mon.13.Nov.2023.Almerķa.Spain.1080p.ALL4.WEB-DL.AAC2.0.H.264', '--tmp-dir', 'temp', '--save-dir', WindowsPath('downloads/A Place in the Sun/Season 17'), '--no-log', '--key-text-file', WindowsPath('tmp/keys.txt'), '-sv', 'for=best', '-sa', 'for=best', '-ss', 'all', '-M', 'format=mkv:muxer=mkvmerge:skip_sub=false']' returned non-zero exit status 1.
-
@Grimbarian:
Looks like mkvmerge can't handle the muxing for this particular stream for whatever reason. If you use --format mp4 it'll work. -
-
I am getting an error about "captions" with abciview. Thanks for the help
[Attachment 74874 - Click to enlarge] -
-
This comes from using the below command on Doctor Who Confidential, if anyone else wants to try to replicate it
python freevine.py -c https://www.bbc.co.uk/iplayer/episodes/b006q2xb/doctor-who-confidential -
@Grimbarian
I was able to download this episode with subtitles muxed and also not muxed. Using mkvmerge v80.0 ('Roundabout') 64-bit.
For the separate subs download, my config is set to save the subs in .vtt format which also means the subs are not cleaned.
Running Freevine v1.0.0 -
Sorry didnt see that,
python freevine.py -c https://www.bbc.co.uk/iplayer/episodes/b006q2xb/doctor-who-confidential
python freevine.py -c https://www.bbc.co.uk/iplayer/episodes/b006mj59/top-gear
hope this helps -
Aha thanks! I ended up muxing it manually with MKV Toolnix Gui and that seems fine, hopefully just a weird one off -
Same issue with yesterday's episode too: https://www.channel4.com/programmes/a-place-in-the-sun/on-demand/72017-008
Used --format mp4 and it then downloaded ok.
Edit: Same issue with last night's Help We Bought a Village too.Last edited by Grimbarian; 15th Nov 2023 at 02:29.
-
-
Looks like the issue is with the subtitles. If the subtitle stream is present in the manifest but is actually empty, mkvmerge fails when muxing.
The subtitles are apparently missing for some of these episodes:
Code:WEBVTT NOTE Subtitles are missing
You could use --sub-no-mux or --drop-subtitle "all" and mkvmerge should work fine. Or use --format mp4 as mentioned, since ffmpeg doesn't seem to complain about it.Last edited by stabbedbybrick; 15th Nov 2023 at 03:30.
-
I went with --sub-no-mux
I have a simple batch file that takes the URL for a direct episode link to save typing the command (I know, I know I'm lazy!) so I added --sub-no-mux and it worked perfectly
Code:@echo off cd D:\Videos\freevine\Scripts call activate.bat cd D:\Videos\freevine\ set /p url="Please enter URL: " freevine.py --use-shaka-packager --sub-no-mux -e %url%
-
I have tried the latest version of freevine (1.0.0) on a fresh installation of Debian and I am still getting what looks like essentially the same error so I am definitely missing something. I can get episode and movie information but cannot download actual files. The error is pretty much the same regardless of which service I use.
Example Channel 4
Code:python freevine.py -e S18E69 -sv res=576:for=worst https://www.channel4.com/programmes/four-in-a-bed/ 17:10:21.883 INFO : Freevine v1.0.0 17:10:21.974 INFO : ALL4 17:10:24.756 INFO : Four in a Bed: 16 Season(s), 850 Episode(s) 17:10:25.538 INFO : Four in a Bed S18E69 Thu 9 Nov 2023: The Cross Inn 17:10:25.538 INFO : 1e973e7f9db8ea99bd375729aa8e5e6b:eb31005927f3e1719e90ee2ef26ee805 Traceback (most recent call last): File "/root/freevine-1.0.1/services/channel4/channel4.py", line 317, in download subprocess.run(args, check=True) File "/usr/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1775, in _execute_child and os.path.dirname(executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen posixpath>", line 152, in dirname TypeError: expected str, bytes or os.PathLike object, not NoneType During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/freevine-1.0.1/freevine.py", line 66, in <module> main() File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/freevine.py", line 60, in main Service(main_config, srvc_api, srvc_config, wvd, **kwargs) File "/root/freevine-1.0.1/services/channel4/channel4.py", line 51, in __init__ self.get_options() File "/root/freevine-1.0.1/services/channel4/channel4.py", line 287, in get_options self.download(download, title) File "/root/freevine-1.0.1/services/channel4/channel4.py", line 319, in download raise ValueError(f"{e}") ValueError: expected str, bytes or os.PathLike object, not NoneType
Code:python freevine.py -m https://www.channel5.com/show/christmas-in-scotland 17:09:35.183 INFO : Freevine v1.0.0 17:09:35.271 INFO : My5 TV 17:09:35.868 INFO : Christmas in Scotland 17:09:36.758 INFO : Christmas in Scotland 17:09:36.758 INFO : 6f243fc25e994cdd8c17475b65e08cc1:198ef7153ecfad6a4ed60c63c783574d 17:09:36.758 INFO : c99140de42de98c5263d4bc35f982c01:198ef7153ecfad6a4ed60c63c783574d Traceback (most recent call last): File "/root/freevine-1.0.1/services/channel5/channel5.py", line 325, in download subprocess.run(args, check=True) File "/usr/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1775, in _execute_child and os.path.dirname(executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen posixpath>", line 152, in dirname TypeError: expected str, bytes or os.PathLike object, not NoneType During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/freevine-1.0.1/freevine.py", line 66, in <module> main() File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/freevine-1.0.1/freevine.py", line 60, in main Service(main_config, srvc_api, srvc_config, wvd, **kwargs) File "/root/freevine-1.0.1/services/channel5/channel5.py", line 58, in __init__ self.get_options() File "/root/freevine-1.0.1/services/channel5/channel5.py", line 296, in get_options self.download(download, title) File "/root/freevine-1.0.1/services/channel5/channel5.py", line 327, in download raise ValueError(f"{e}") ValueError: expected str, bytes or os.PathLike object, not NoneType
Code:ValueError: expected str, bytes or os.PathLike object, not NoneType
Code:File "/home/00kell/freevine/services/channel4.py", line 339, in download raise ValueError("Download failed or was interrupted") ValueError: Download failed or was interrupted
The other one is using 3.10.12 which seems to work for others. -
@00kell:
It's my guess that Freevine can't locate N_m3u8DL-RE. Do you have it, and the other tools, properly placed in your system PATH? Are they executable? -
Hi Grimbarian,
Could your small bat script be altered to add items from the bbc at only 720p instead of 1080p?? I can see in the readme that res=720 is available.
and out of curiosity.. you have "call activate.bat" but your script is called "run_freevine_url.bat" sorry just a little lost...
I tried freevine.py res=720 --episode https://www.bbc.co.uk/iplayer/episode/m001s6xm/survivor-series-1-episode-4 this works fine but still only gets 1080p.
Sometimes 1080 isn't always required.
Decided to try an alternative:
C:\freevine-1.0.0>freevine.py --episode res=720 https://www.bbc.co.uk/iplayer/episode/m001s6xm/survivor-series-1-episode-4
low and behold,... now I get hit with an error....
18:36:54.660 INFO : BBC iPlayer
Traceback (most recent call last):
File "C:\freevine-1.0.0\freevine.py", line 66, in <module>
main()
File "C:\Users\xxxxxxxxxx\AppData\Local\Programs\Python \Python311\Lib\site-packages\click\core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxxxxxxxxx\AppData\Local\Programs\Python \Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\xxxxxxxxxx\AppData\Local\Programs\Python \Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxxxxxxxxx\AppData\Local\Programs\Python \Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\freevine-1.0.0\freevine.py", line 60, in main
Service(main_config, srvc_api, srvc_config, wvd, **kwargs)
File "C:\freevine-1.0.0\services\bbciplayer\bbciplayer.py", line 47, in __init__
self.get_options()
File "C:\freevine-1.0.0\services\bbciplayer\bbciplayer.py", line 313, in get_options
content, title = self.get_content(self.url)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\freevine-1.0.0\services\bbciplayer\bbciplayer.py", line 256, in get_content
content = self.get_series(pid)
^^^^^^^^^^^^^^^^^^^^
File "C:\freevine-1.0.0\services\bbciplayer\bbciplayer.py", line 101, in get_series
self.get_data(pid, x["id"]) for x in data["slices"] or [{"id": None}]
~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
That'll teach me for putting res=720 in the wrong place. Just wish I knew where to put it.Last edited by LastResort; 15th Nov 2023 at 12:42.
-
okay,... getting there....
C:\freevine-1.0.0>freevine.py --info --episode S01E04 https://www.bbc.co.uk/iplayer/episode/m001s09z
this shows the episode video and audio details....
this downloads a 720p version of what one may need..
C:\freevine-1.0.0>freevine.py --select-video res=720 --episode S01E04 https://www.bbc.co.uk/iplayer/episode/m001s09z
I can see now that m001s09z hold the page with all episodes listed... my confusion was that on their webpage S01E04 is numbered m001s6xm
I believe that's why freevine showed me the error. -
Thanks Stabbedbybrick. I have N_m3u8DL-RE as an executable in my freevine directory. With v1.0.1 most of the other tools have been installed although I also have the following in the freevine directory as executables:
mp4decrypt
mpd_generator-linux-x64
packager-linux-x64
pssh-box.py
Thinking about it, freevine probably doesn't use those names... In my defence, that is how they came from the supplied sources. I know making pssh-box executable is probably not correct but, hopefully, it isn't wrong either.
Edit
Changing them to:
mpd_generator
packager
Didn't change the error at all.
Edit 2
I moved the files that I had in the freevine directory to
venv/bin/
And it is now downloading!!!Last edited by 00kell; 15th Nov 2023 at 17:57.
-
@00kell:
You only need packager, not mpd_generator or pssh-box.
Since you're on linux, I'd suggest running "echo $PATH" and place the required files in any of those locations. That will make them callable from anywhere on your system. -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
It's possible that the default path is different depending on what distribution you're using, so a quick check with $PATH is recommended. You can add new ones as well if you feel like it.
-
You're right! Age and befuddle has caught up with me! /usr/local/bin/
What I'm doing right now is working to to get my uk-fta downloader onto my phone. I finally have found a version of N_m3u8DL-RE that works so with a few changes and a bit of experimenting with ffmpeg I finally have Android running it pretty well. I plan on writing it up soon.
I want to ask if you are interested in making a conversion of Freevine to run on Termux for mobile phones? There wasn't much to change - I use pagination and the the number of items in a page displayed needed reducing for the small screen. If you have scrolling it will take care of itself. And --no-logs isn't in the N_~~RE version I'm using so was pulled. Works pretty fast now. Ffmpeg was the hold-up
Interested and have the time?Last edited by A_n_g_e_l_a; 16th Nov 2023 at 07:46.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip
Similar Threads
-
UK Free to Air Downloader
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 596Last Post: 22nd Apr 2025, 16:01 -
Video/Screenshot Guide to Freevine/N_m3u8DL-RE downloader for MacOS
By gwilliams1996 in forum Video Streaming DownloadingReplies: 16Last Post: 15th May 2024, 06:14 -
Forcing quality on streaming services
By qnufc in forum Video Streaming DownloadingReplies: 10Last Post: 8th Mar 2024, 17:27 -
Are we going to see all streaming services switching to L1 completely
By Loryanam2 in forum Video Streaming DownloadingReplies: 7Last Post: 5th Mar 2023, 07:37 -
Portable Streaming DownLoader for XMovies8?
By KermitJ in forum Video Streaming DownloadingReplies: 0Last Post: 27th Sep 2019, 10:44