Sometimes I have videos of which I am only interested in keeping a few minutes, the rest is irrelevant … How can a section or part of a video be recorded / downloaded with the youtube-dl command? - The youtube-dl-gui application does not have a way to achieve this.
I’ve tried things like this, but they don’t work for me:
type or p[keos@keos-pc ~]$ ffmpeg $(youtube-dl -g 'https://www.youtube.com/watch?v=Ymkl0t0FOcw' | sed "s/.*/-ss 00:00 -i &/") -t 06:48 -c copy out.mkv
aste code here
I never tried the last command ... it works!!.
Thanks.