srctree

Gregory Mullen parent 51e0c169 d5bda713
download clip from yt... stolen from stack overflow

filename was Deleted added: 6, removed: 1, total 5
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
#Arguments: URL, Time stamp -5 seconds, length of clip, video file name
 
readarray -t urls <<< "$(yt-dlp --youtube-skip-dash-manifest -g "$1")"
ffmpeg -ss $2 -i "${urls[0]}" -ss $2 -i "${urls[1]}" -ss 5 -map 0:v -map 1:a -c:v libx264 -c:a aac -t $3 $4