It’s unclear from your description if the black bars are embedded in your source material, or if they are caused by you picking the incorrect Settings > Video Mode .
If your source material does not have black bars, and you have the Shotcut Video Mode in “Automatic”, then you should not have black bars.