Bug Report Resize quality issue with YUV source

Fenarinarsa

New Member
When resizing a source on the canvas, the resize algorithm have issues if the source is YUV resulting in luma/chroma artefacts and overall bad quality.

Checked on Windows 10 with a Blackmagic Declink Studio 2 / SDI input (8-bit YUV input, BGRA does not work).
OBS Studio 0.14.2

Workaround : adding a crop filter with default values (0/0/0/0) seems to convert the source to an image format the resize algorithm handles correctly.


May be related to this thread https://obsproject.com/forum/threads/webcam-bad-quali-after-resize.47022/
 

Fenarinarsa

New Member
Here are some screenshots + the requested log.

Meanwhile I've found that the culprit is the deinterlace option. When disabled the resize is okay, but as the input is interlaced I can't disable it. So maybe deinterlacing returns a picture format that is incorrectly handled afterwards.

Note that the deinterlace option also introduce an audio delay (I will report that on another thread since there is also an audio drift and I need to do more checking before reporting it).
 

Attachments

  • obs_nodeinterlace.jpg
    obs_nodeinterlace.jpg
    222 KB · Views: 17
  • obs_yadif2x.jpg
    obs_yadif2x.jpg
    224.5 KB · Views: 16
  • 2016-06-16 14-52-39.txt
    17.7 KB · Views: 11
  • obs_yadif2x+crop.jpg
    obs_yadif2x+crop.jpg
    217.5 KB · Views: 129

Fenarinarsa

New Member
Oops, sorry. The upload system is somewhat broken actually, the attached files list never refreshes.

Here it is. (I also modified the previous post)
 

Attachments

  • obs_yadif2x+crop.jpg
    obs_yadif2x+crop.jpg
    217.5 KB · Views: 15
Top