Skip to content

Instantly share code, notes, and snippets.

@lfbittencourt
lfbittencourt / fps-converter.sh
Last active January 23, 2024 13:57
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