Briefly, I am attempting to learn how one might properly format a command line to download a segment of a video, in this example, from YouTube.
Here's what I cobbled together to start with:
Code: Select all
vlc -vvv https://www.youtube.com/watch?v=OuSdU8tbcHY --stop-time=8.000 --sout="#std{access=file,mux=ts,dst=/tmp/out.mp4}" vlc://quit
Bearing that in mind, I'd also like to limit the amount of downloaded content to just the target segment, so I tried this:
Code: Select all
vlc -vvv https://www.youtube.com/watch?v=OuSdU8tbcHY&t=5 --stop-time=8.000 --sout="#std{access=file,mux=ts,dst=/tmp/out.mp4}" vlc://quit
Any ideas as to how one might be able to download just a segment of a video -- without first downloading the entire video's content?
Thanks a bunch!