Open ProtagNeptune opened 3 months ago
ffmpeg -i input.webm -vf scale=500:312 -y output.mp4
or ffmpeg -i input.webm -vf crop=500:312 -y output.mp4
ffmpeg -i input.webm -vf scale=1178:1080 -y output.mp4
or ffmpeg -i input.webm -vf crop=1178:1080 -y output.mp4
I don't know which one would be better in this case. 😕 https://ffmpeg.org/ffmpeg-filters.html#scale https://ffmpeg.org/ffmpeg-filters.html#crop
Edit: I asked Microsoft Copilot, cropping is probably better in this case.
ffmpeg -i input.webm -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" -y output.mp4