Log in

View Full Version : Resize in 4:4:4 YCbCr


hwh
3rd May 2020, 02:41
I'm resizing 1280x1024 to 1440x1080. Colors get messed up every time. I can compress to 4:4:4 YCbCr, that works.

But resizing seemingly won't do that. Decompression format: "YV24" (4:4:4) Resize filter output "YUV422."

Anyway, it messes up the video. Trying to do it with YCbCr 16 bit (RGB24) makes the resize output "RGB32" which, in case you are following me, you guessed does the same thing to the video. The only way the video doesn't get messed up is with YV24 which I can't directly select for the resize filter.

I have one other resize filter, Super Resolution (which has strong sharpening effect I don't love but whatever) and it only operates on RGB so, it messes up the picture also.

Is there some way to force resize to output the way I want or a different filter I can load that will?

poisondeathray
3rd May 2020, 04:50
Are you using vdub2?

YUV444 works ok for me with the resize filter. If you checkmark show image formats in the filter list is shows YUV444 input, YUV444 output for the resize filter

hwh
3rd May 2020, 07:14
Ah, sorry about that. Was using VirtualDub2 build 43702. Nomenclature has changed in 44282. Results have not.

https://i.imgur.com/o4qjobv.png

https://i.imgur.com/g5pfQxx.png

Also, it's 1024x768 to 1440x1080 though that shouldn't change anything.

See, input YUYV, output, YUV422. What is causing that?

poisondeathray
3rd May 2020, 18:24
Your input 422 . I assumed it was 444 - that's what I used in my test

Add a filter "convert format" , choose 4:4:4 planar (YV24)

Then add resize filter

hwh
4th May 2020, 06:24
Thanks, that technically answers my question.

But, it still doesn't change the result. :( If I only convert the clip, the color looks correct. But as soon as I resize it (second filter) it goes all mint colored instead of the whitish green it should be.

I have tried over and over again to make a screenshot or video of the two clips, but the resized one goes transparent. Saving a screenshot in VLC makes the clips look identical (which I would want, if it happened in video).

I guess I could get a camera and record the screen; that can't fail.

poisondeathray
4th May 2020, 15:04
You never clearly stated the details of what the problem is

Provide more information, posting a sample clip of the source would help