When you specify the encoded video size to be 320×0, the resulting width is calculated based on the source aspect ratio. You will need to know what the exact frame size of your resulting video in order to enter the parameters you wish to keep. First, you can find out the source media aspect ratio. Read more
Find your answers here.