Skip to content

Instantly share code, notes, and snippets.

@Windows81
Last active May 7, 2022 04:15
Show Gist options
  • Save Windows81/458e81400c33bb369f4528f47018e7a0 to your computer and use it in GitHub Desktop.
Save Windows81/458e81400c33bb369f4528f47018e7a0 to your computer and use it in GitHub Desktop.
Reverse Seth David Composer's last 30 videos with this script!
$f="C:\Users\USERNAME\Videos\Projects\sdc"
yt-dlp https://www.youtube.com/c/SethDavidComposer/videos --playlist-end 30 -o "%(playlist_index)s.%(ext)s" -f 22
ls *.mp4 -name | % {ffmpeg -i $_ -vf reverse -af areverse $_.r.mp4}
ls *.mp4 -name | % {ffmpeg -i ./$_ -vf reverse -af areverse ./$_.r.mp4}
ls *.r.mp4 -Name | Sort-Object -Descending|%{"file '$f\$_'"}|ffmpeg -protocol_whitelist file,pipe -safe 0 -f concat -i - -c copy sdc.r.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment