In Handbrake, you can get rid of black bars by changing the settings on the Video tab. In general, the best option is to set a Custom Aspect Ratio and enter a 3:2 resolution with a width of 2560px. This will reveal more of the image without cropping it too much.