Did some experimenting, if you put ffmpeg and ffprobe in the same directory, it plays nicer with the commands I read about here:
https://old.reddit.com/r/youtubedl/wiki/howdoidownloadpartsofavideo
As a quick example, you can now simply use --download-sections "*93-111" to download the part between 93 seconds and 111 seconds. For more accurate cutting, you can also use --force-keyframes-at-cuts
Useful, and include that keyframe command. For whatever reason, though, ffmpeg still wasn't playing nice with the video, so I had to manually select a format that it didn't hate (
yt-dlp --list-formats "https://www.youtube.com/watch?v=-oWy9oEnwrI"
.
That 299-dash is a lie btw, when I tried DL'ing 299, it was video/no audio, 299-dash was audio/no video, real weird, so I ended up entering
-f 299+bestaudio
, which worked
My final command using your video linked ended up like this, downloading between 13327 and 13342 seconds, 15 second clip:
yt-dlp --download-sections "*13327-13342" --force-keyframes-at-cuts --concurrent-fragments 16 -o name.mkv -f 299+bestaudio "https://www.youtube.com/watch?v=-oWy9oEnwrI"
I cut out a bit of my struggles, but this should give you an idea of how to do it yourself hopefully.