Skip to content

Instantly share code, notes, and snippets.

@apeckham
Created June 3, 2024 04:51
Show Gist options
  • Save apeckham/358c83b27f14be7c7c9c8d155fc564a8 to your computer and use it in GitHub Desktop.
Save apeckham/358c83b27f14be7c7c9c8d155fc564a8 to your computer and use it in GitHub Desktop.
slow all webm's to 69%
for i in *.webm; do [ ! -f "${i%.webm}.slow.mp4" ] && ffmpeg -i "$i" -vf "setpts=1/0.69*PTS" -af "atempo=0.69" -c:v libx264 -preset ultrafast -crf 23 -c:a aac -b:a 128k "${i%.webm}.slow.mp4"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment