Skip to content

Instantly share code, notes, and snippets.

@lfbittencourt
Last active January 23, 2024 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfbittencourt/ea61f310c5da9bea0e4d916dbaf0da7e to your computer and use it in GitHub Desktop.
Save lfbittencourt/ea61f310c5da9bea0e4d916dbaf0da7e to your computer and use it in GitHub Desktop.
120 to 60 FPS converter using ffmpeg
#!/bin/bash
for file in *.MP4; do
echo "Processing $file..."
output="${file%.MP4}-60fps.mp4"
ffmpeg -i "$file" -movflags use_metadata_tags -filter:v fps=60 "$output"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment