Question / Help How to get the Video Aspect Ratio Correct?

David Carlstrom

New Member
OBS does not get the aspect ratio correct from my Sony cameras. Okay they are not the latest camera, but they are semi-professional HDV cameras and can be set to output for a 4x3 or 16x9 screen. OBS does not recognize HDV at all, but it does recognize the DV signal. Neither screen aspect ratio setting gets the right aspect ratio in OBS.

In the attachments, the canvas is set to 853x480 (16x9). Each attachment is the result of the camera settings. The circle is not round in any. The normal setting for 16x9 is called Squeeze. OBS makes the circle 20% too tall. The other settings are for 4x3 screens. OBS makes circle 10% too wide. OBS is not interpreting the non-square pixels of DV signal correctly. What can be done to fix or work around this?
 

Attachments

  • VideoSettings.png
    VideoSettings.png
    8.6 KB · Views: 81
  • LetterBox.png
    LetterBox.png
    173.8 KB · Views: 77
  • EdgeCrop.png
    EdgeCrop.png
    214.1 KB · Views: 73
  • Squeeze.png
    Squeeze.png
    212.3 KB · Views: 69

David Carlstrom

New Member
Okay, 20 views and no replies. Is it fair to say no one knows?

Can someone direct me to the download of the code, point to where in the code the video capture devices are handled, and if possible suggest the area that needs to be updated to change the aspect ratio?
 

Boildown

Active Member
Set the base resolution to what you want it to record at. If the rectangular pixels mess that up, you might have to do some math to figure out what to set it to to get it in the correct aspect ratio. Or trial and error while taking images of a circle (or sphere) for calibration.

The code is here: https://github.com/jp9000/obs

But you're better off using OBS Studio if you're going to mess with code, instead of OBS Classic: https://github.com/jp9000/obs-studio

As to what needs to be updated, I have no idea. You'll need to use OBS Studio and ask in the OBS Studio forums to find out, as OBS Classic is no longer being developed.
 

David Carlstrom

New Member
No matter what I set the canvas size to OBS Classic does not seem to stretch the image. Am I missing something?

I have asked in OBS-Studio about the camera not working at all in OBS Studio. First try no one knew anything. Second try and someone is at least replying.
 

Boildown

Active Member
I dunno. I have an old camcorder with rectangular pixels so maybe I'll hook it up and see what's going on.
 
Top