Skip to content

Instantly share code, notes, and snippets.

@lucidbeaming
Created October 4, 2020 09:35
Show Gist options
  • Save lucidbeaming/405cd6de545214d976edcf5b3f2708be to your computer and use it in GitHub Desktop.
Save lucidbeaming/405cd6de545214d976edcf5b3f2708be to your computer and use it in GitHub Desktop.
FFMPEG commands to shuffle and glitch time in videos
ffmpeg -i inputfile.mov -vf "frei0r=nervous" -c:a aac -b:a 192k -c:v libx264 -crf 20 -pix_fmt yuv420p -preset ultrafast outputfile.mov
ffmpeg -i inputfile.mov -vf "random=frames=5" -c:a aac -b:a 192k -c:v libx264 -crf 20 -pix_fmt yuv420p -preset ultrafast outputfile.mov
ffmpeg -i inputfile.mov -vf "shuffleframes=9 2 1 3 4 4 6 7 5 0 8" -c:a aac -b:a 192k -c:v libx264 -crf 20 -pix_fmt yuv420p -preset ultrafast outputfile.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment