Post by David E. RossWindows 7 SP1 x64
ClipGrab 3.9.7
ClipGrab uses yt-dlp to download YouTube audio and video files. I
recently had problems in which the result is an empty file. I think
updating yt-dlp might resolve those problems, but I do not know how to
do that update.
GitHib hosts the development and distribution of yt-dlp. However, I
cannot figure out how to get the latest binary or how to install it.
Searching GitHub, I keep going around in circles. Can anyone help me?
By the way, installing ClipGrab is known also to install nagware. This
can be defeated by downloading the ClipGrab installer and then disabling
the Internet connection before executing the installer.
One of the secrets is using a good browser. Some of the graphical features
in Github, have been engineered to only work in the latest browsers.
That's why I just started W11 bash and launched my Firefox from there.
(I run a Linux Firefox on a Windows computer :-) )
https://github.com/yt-dlp/yt-dlp#installation
File Description
yt-dlp.exe Windows (Win7 SP1+) standalone x64 binary (recommended for Windows)
https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe
This is what I got. I changed the name so it would not overwrite the
one I've already got.
Name: yt-dlp-Nov2023-x64.exe
Size: 14,200,334 bytes (13 MiB)
SHA256: 6DE14B1127AF1C314864AE0CB04C91EBBF61C230B9CBFB316EADE9EA9C5CD982
7ZIP won't open it. That is because it is packed in a weird way,
with what seems to be a kind of "raw" zlib thing. I can see the
two byte code declaring ZLib, but haven't convinced any tool to work
with it (yet). ZLibs normally have a header and trailer, and this
is why regular tools won't open this.
https://www.virustotal.com/gui/file/6de14b1127af1c314864ae0cb04c91ebbf61c230b9cbfb316eade9ea9c5cd982/details
Packer: PyInstaller Overlay: zlib archive
There are tools for it, but I don't want to go on a "custom tool crusade".
*******
https://github.com/yt-dlp/FFmpeg-Builds
There is a Downloads subtitle, and some rectangular buttons underneath.
https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip
Name: ffmpeg-master-latest-win64-gpl.zip
Size: 135,848,925 bytes (129 MiB)
SHA256: 74D8C238969C42EE4D777932DC5068A0C8FDFD66DF4D8334AC82CBB7E2361F6A
When unpacked, any time ffmpeg.exe is being used as a helper,
you can try dropping it into the same folder as the executable
that got installed for the main package. You could stick the
file, anywhere that shows up in your %path%. It may not "go" into
the Program Files folder, because that is owned by TrustedInstaller.
The purpose of FFMPEG in this context, is as a re-mux. If the downloader
downloads a "Best video-only stream" and a "Best audio-only stream",
FFMPEG is used as a post-processor, to make a single video file with
audio and video streams inside, ready to play as a movie. Unless you
pass a parameter to stop it, yt-dlp will erase the component parts,
and only the FFMPEG output is given to you.
There is an assumption in this behavior, that the FFMPEG step worked
and made a "good" movie.
If you play the movie and the audio isn't working, if you kept the
component parts, you might only need to download a different audio
and glue that to the movie instead. I've had to do that a couple times.
yt-dlp has lots of command line parameters, and it can download content
from 10,000 web sites. For example, it knows about my local news station
and how their stuff is set up. On one of my news sites, it even pulled
an entire collection of vids about a corrupt local politician, about 500MB worth,
and it made quite an impact playing all those later. The news web page had
only shown one vid, but apparently there were a ton of links in the
HTML just sitting there. This means, occasionally, if will "go mining"
and bring all sorts of stuff back.
Paul