Shell
mkdir -p 720p_videos
for f in *.mp4 *.mkv *.mov; do
ffmpeg -i "$f" -vf scale=-2:720 \
-c:v libx264 -crf 18 -preset slow \
-c:a copy "720p_videos/$f"
done1080p to 720p
1080p to 720p · Shell
1080p to 720p
Batch-downscales MP4, MKV, and MOV files to 720p with FFmpeg into a 720p_videos/ folder.
Part of the utils collection on GitHub.