DistroAV
DistroAV copied to clipboard
Add proper UYVA support
Currently UYVA is being treated as UYVY in DistroAV.
This makes sense as OBS does not currently support NDI's special UYVA format and the way UYVA is handled is in 2 planes (Reference):
- The first plane is effectively just UYVY, meaning that images will still retain their color, however
- The second plane has the alpha information
Without support for said second plane the image will just look like it's on a black background:
However, adding support in both OBS through this PR and also within DistroAV will make it look correctly:
This PR will not build without the OBS PR merging first as it tries to access a new video format.
This PR will also take care of #937.
This PR Is dependent on OBS feature PR : https://github.com/obsproject/obs-studio/pull/12125