ffmpeg won’t give me correct dimensions after scaling video (.mov)

I came across issue of not being able to get correct dimensions of output video file.

Initially I tried to convert .mov to .mp4, but I got error width not divisible by 2.
I googled the error and found out that I can scale media to 180px, but I got 179px instead. And it’s not divisible by 2.

Input file is 181x133px, so I tried to downscale output file to 180px. I used MacOS 15.0 terminal.
I ran ffmpeg -i input.mov -vf "scale=180:-1" output.mp4.
But the output file is 179×132px. Width is 179, not 180.

How come? Why its width doesn’t match the one I typed?

Read more here: Source link

ffmpeg won’t give me correct dimensions after scaling video (.mov)

I came across issue of not being able to get correct dimensions of output video file.

Initially I tried to convert .mov to .mp4, but I got error width not divisible by 2.
I googled the error and found out that I can scale media to 180px, but I got 179px instead. And it’s not divisible by 2.

Input file is 181x133px, so I tried to downscale output file to 180px. I used MacOS 15.0 terminal.
I ran ffmpeg -i input.mov -vf "scale=180:-1" output.mp4.
But the output file is 179×132px. Width is 179, not 180.

How come? Why its width doesn’t match the one I typed?

Read more here: Source link