I’ve been having some problems with malformed video files from yt-dlp when getting videos from iView. Some videos from the same source come out fine, some are unplayable, and some seem fine but then stop playing part way through. Today I decided to dive reasonably deeply into the downloading options and have come to a prompt that works. Some of the command might be redundant, but this works, so I’m going to stick with it and I’m also going to post it here for future-me when I have forget.

yt-dlp -f "best[ext=mp4]" --merge-output-format mp4 --retries 10 --fragment-retries 10 --concurrent-fragments 5 --no-part --hls-use-mpegts <url>

I think this is best defined as a “note-to-self”.