Much better, thank you!
It gets to the download, pulls down the srt which appears in the iplayer recordings folder on the desktop.
Then:
Still there with 13.2Code:⣽ Loading...Episodes: Red Dwarf - I, The End, BBC Two, b008nddx INFO: 1 total programmes ⣾ Loading...INFO: Processing tv: 'Red Dwarf: I - 01. The End (b008nddx)' INFO: Downloading subtitles [technical] path empty or file not exists! Description: N_m3u8DL-RE (Beta version) 20230628 Usage: N_m3u8DL-RE <input> [options] Arguments: <input> Input Url or File![]()
+ Reply to Thread
Results 121 to 150 of 598
-
Last edited by Akirainblack; 6th Mar 2024 at 10:11.
-
https://files.videohelp.com/u/301890/uk-fta_13.2.zip with reworked choice of get_iplayer call depending on system.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Ah, wait, yes, it does work from cmd (sorry Windows), but not when it's called from subprocess.
I was about to say that this is one of the cases where shell=True in subprocess makes things work (not sure if it breaks anything on Linux though). Either way, I just tested your new version and can confirm it works fine on Windows. -
Odd, that it isn't fully working for me.
I was going to ask if it could be down to the default location for get_iplayer's output having a space:
C:\Users\<username>\Desktop\iPlayer Recordings
@white_snake
Have you changed anything from default? Are you using the x64 or the x86 version? -
Try this version https://files.videohelp.com/u/301890/uk-fta_13.3.zip with White_Snake's suggestion 'shell=True' added.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
I actually can't reproduce your problem because I have another: I can't seem to find an UK proxy that works with BBC (windscr1be worked up until a few days ago), in fact I get:
Code:⣻ Loading...WARNING: No media streams found for requested programme versions and recording quality. WARNING: The programme may not be available - check the iPlayer or Sounds site. WARNING: The programme may only be available in an unsupported format (e.g., Flash) - check the iPlayer or Sounds site. WARNING: If you use a VPN/VPS/Smart DNS/web proxy, it may have been blocked.
-
Angela. Firstly a huge thank you for all your work on these scripts. I really appreciate the time you've spent on educating people like me.
You'll be happy to hear that it's all running perfectly on my Debian system, but there is a small bug in vadapav.py. I noticed from the standalone version that if the DOWNLOAD_FOLDER and SAVE_PATH are set to the same place then the script can't resume. Your latest version implicitly does this, so expect a barrage of users complaining in 3 ... 2 ... 1 ...
The fix is trivial for you, I'm sure. However, for those who have already noticed this then edit vadapav.py and add something like the following:
Code:Line 47 DOWNLOAD_FOLDER = Path(f"{config.SAVEPATH}/VADA/Download") Line 58 DOWNLOAD_FOLDER.mkdir(exist_ok=True, parents=True)
-
well you are on your own on this one. If you can install VS Code you could run getBBCLinks using a debugger. Following each command through until it fails will point you at the error. get_iplayer works though - just a bit more effort. Or freevine - that may work as it doesn't use get_iplayer.
Last edited by A_n_g_e_l_a; 6th Mar 2024 at 12:09.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
https://files.videohelp.com/u/301890/uk-fta_13.4.zip fixes vadapav download resume error.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
-
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
shell=True is not needed. I took a look at the code more carefully this morning and the subprocess call doesn't make it to shell display; it is captured.
The 'command' variable contains the get_iplayer string,
Code:moreresults = subprocess.run(command, capture_output=True, \ text=True, stderr=None)
Windows cmd.exe is being asked to do a lot here . It is recommended to use Windows Terminal which more faithfully follows Linux.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
With
Code:iplayer = 'get_iplayer'
Code:moreresults = subprocess.run(command, capture_output=True, text=True, stderr=None, shell=True)
This said, I fail to see why you say it's not needed (at least for Windows users and assuming it doesn't break anything on Linux).
Just to be perfectly clear: of course it's not needed if you already have the system check you wrote:
Code:if os.name == 'posix': iplayer = 'get_iplayer' else: iplayer = 'get_iplayer.cmd'
-
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
-
One would think it would have happened before, I feel you. I'm on 10.0.19045.4046, not sure it this was fixed in Win11 or if it worked in past versions. Either way, if it doesn't break anything, I would leave shell=True there for maximum compatibility.
Now that we're at it, wanna know another funny little bug for Windows users? This time cmd is the culprit. When I run menu.py I don't see colors, but the color codes instead:
Code:←[32m __ ____ __ _____________ / / / / //_/___/ __/_ __/ _ | / /_/ / ,< /___/ _/ / / / __ | \____/_/|_| /_/ /_/ /_/ |_| ←[0m ←[31mChoose Your Search, Selector and Downloader. ←[0m ←[32mWhich Channel?←[0m
Code:os.system('color')
Code:python getBBCLinks.py
Code:←[32m ___ ___ _____ / _ ) / _ ) / ___/ / _ | / _ | / /__ /____/ /____/ \___/ ←[0m ←[31mA BBC Video Selector and Downloader. ←[0m Enter the Series url:
-
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
-
Narrowed it down to the N_M3u8DL-RE command. It doesn't like mkvmerge as a bare name. Help says give a binary path but it complains when I do that too.
Had it running when formatted as mp4 but it took an age; ffmpeg complained about timestamps endlessly.
If you want to test with mp4 find '--format=mkv:muxer=mkvmerge',
and replace with
Code:'--format=mp4',
'--mux-import',
'path=subs.srt:lang=eng:name="English"',Last edited by A_n_g_e_l_a; 7th Mar 2024 at 09:32.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
OK. Red herrings apart I seem to have arrived at a fix. If your getBBCLinks.py fails ON A WINDOWS MACHINE ONLY then replace the uk-fta/bbc_dl/getBBCLinks.py with this new file - https://files.videohelp.com/u/301890/getBBCLinks.bbc_version. Rename the new file back to getBBCLinks.py.
I think the issue devolves down to get_iplayer: it was saving the subtitle file to a location in C:\Uses\Uname\Desktop\iPlayer Recordings. You need to find where get_iplayer is storing yours and edit a line declaring the location at the top of the new script.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Upgraded from fta2 to fta13.4.
fta13.4 runs ok with done displayed and no errors. The files are now muxed to video format quicktime and will not play.
Running both fta2 and fta13.4 in env.
fta2 works perfect with no mux issues, just wondered if anyone can confirm what the issue is with fta13.4?
Cheers
Steve -
On a Mac I assume. I really have little idea especially as fta2 is no longer available to check back with.
I did make a format change from mp4 to mkv in the N_m3u8DL-RE mux process and perhaps is that which is giving quicktime errors.
I suggest you edit the mux command in one of the files below and see what happens.
./c4_dl/C4.py
./itv_dl/ITVX.py
./my5_dl/my5getter.py
./stv_dl/stvgetter.py
./uktvp/slimuktvp.py
./tptvencore/TPTV.py
./bbc_dl/BBC.py
./bbc_dl/getBBCLinks.pyCode:'format=mkv:muxer=mkvmerge',
to
Code:'format=mp4',
Code:grep -rl format=mkv . | xargs sed -i 's/format=mkv:muxer=mkvmerge/format=mp4)/g'
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
-
Windows 11 and Quicktime?????
Have you seen this
[Attachment 77815 - Click to enlarge]Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Amended c4.py as per:
TMP_DIR,
'--use-shaka-packager',
'--decryption-binary-path', # windows users: uncomment this and next. Edit next path
'./shaka-packager.exe',
'--key',
Running this :
https://github.com/shaka-project/shaka-packager/releases/download/v3.0.3/mpd_generator-win-x64.exe
Result the same, muxed file is quicktime/un-playable?
Cheers -
Well if you are saying it worked on v2 nothing around decryption has changed very much. You'll of course seen that the script is fetching keys. What I suggest is to let the script fetch keys. I think C4 shows the mpd too. So with both those you could use N_m3u8DL-RE to download the encrypted video and audio stream and then decrypt them by hand using mp4decrypt and the keys provided by the script.
I'm confused when you say Quicktime as that is an Apple Mac proprietary codec AFAIK. How can you tell it is Quicktime? Have you tried to use VLC as your player? That comes with all the codecs for playback you need.
If the script completes without an error being shown, it really suggests something elsewhere is wrong.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip
Similar Threads
-
Hot air on the tape.
By Litaiff in forum Capturing and VCRReplies: 2Last Post: 24th Jan 2023, 12:43 -
4K Video Downloader free or money?
By Jomapil1 in forum Video Streaming DownloadingReplies: 8Last Post: 29th Sep 2020, 10:33 -
Simplest and quickest free video downloader ?
By arcadianne in forum Newbie / General discussionsReplies: 28Last Post: 27th Feb 2019, 20:29 -
Using TV downloader
By frankopstaele in forum Newbie / General discussionsReplies: 0Last Post: 2nd Feb 2019, 18:44 -
Downloading Ustream Off-Air / No Videos?
By lemonmellow in forum Video Streaming DownloadingReplies: 1Last Post: 25th Oct 2018, 10:42