What is your operating system?
Windows 10 x64 20H2
What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?
Can you repeat the problem? If so, what are the steps?
This is a follow-up to Wrong Aspect Ratio - Export Adds Padding
I have a source video that is 720x406 resolution. It has a perfect 16:9 proportions using non-square pixels (PAR 406:405).
I want to clean it up with filters and export as h.264 lossless at the original resolution and scaling. Meaning no spatial interpolation (i.e. to preserve detail).
Shotcut exports it with the wrong aspect ratio. It also adds 2px padding to the right side. (meaning it shrunk the video 0.3% horizontally?).
I made a dummy mp4 source that is able to reproduce the problem. Used Avidemux to convert a 720x406 BMP to h.264. Used MyMP4Box to force PAR 406:405. I included ffprobe outputs of both the original and my dummy for comparison.
Video Mode is automatic
See attached for a sample project, screen shots, logs, etc.
720x406 padding.zip (66.7 KB)