Hacker News new | ask | show | jobs
by vitehozonage 859 days ago
Does this really not download the whole video? I havent checked but im just surprised that it's possible
1 comments

No it doesn't. FFMPEG can seek video directly without loading all the content, even for Dash/HLS (but in this case yt-dlp typically returns a plain HTTP source, which I assume internally FFMPEG uses HTTP header range to seek?)

Keep in mind you need to make sure to use input seeking, though (-ss before -i).

Also I'm not sure why they need `-vf scale="0:-1"` part.