Selur's Little Message Board

Full Version: In Hybrid, colours are sometimes highlighted in red tones
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I used Hybrid for resize and vapoursynth and encoding, I noticed that sometimes the colours changed to red tones.
(this does not always happen, but it is an annoying problem)
For example, in the image I shared in the attachment, I only used resize (right side is original)
Read the sticky, provide proper details and a debug output.
Wild guess some problem with TV vs PC scale (wrong flagged source or output) or using some machine learning model which assumes some specific color matrix or luma scaling.
+ Does the Vapoursynth Preview show the correct colors?

Cu Selur
1- I couldn't find whatever it is you call sticky
2- I use Rx 580 and Ryzen 5 1600
3- Although what I did in the attachment is 3840x2160 ----> 960x540, I also tried 3840x2160 ----> 1920x1080 resolution to test again but the result was the same.
4- Yes, in the Vapoursynth preview the colours look correct and as they should be
Edit: I have no idea whether the ‘Sticky’ you mentioned is the Log panel or not, but I wanted to share my log in the Log panel with you
sticky: https://forum.selur.net/thread-3.html

Quote: Yes, in the Vapoursynth preview the colours look correct and as they should be.
Okay, then the VUI color matrix of the output is probably set wrongly. (or some oder VUI signaling,...)
Is there any way to fix this with Hybrid
Yes, you can adjust the values in the encoder configuration.
Read the sticky and provide proper details, so I know what you are doing. You might also want to read up on what VUI signaling is if that is unclear.

Also. Please, do not post the normal log, it's just annoying.
Since the first line in that log view is:
This log is only intended for user information. It should not be part of a bug/problem report!!
I'm kind of disappointed whenever someone posts from this log.

Cu Selur
Sorry, I didn't know there was a Debug setting, I guess I'm sharing the right thing with you now.
Quote:Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 min 53 s
Bit rate : 27.0 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.136
Stream size : 367 MiB (99%)
Writing library : x264 core 164 r3182 be4f020
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=13.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : No
Forced : No
I'm sorry again and thank you!
Doing the following:
1. enable Filtering->Vapoursynth->Misc->Script->Always use Vapoursynth
2. enable Filtering->Vapoursynth->Color->Matrix->ColorMatrix (this way Hybrid should adjust the target color matrix to Rec. 709 when downscaling to HD resolution)
3. check that "x265->Signaling->VideoUsability Information->Matrix" is set to "bt709"
should fix your problem.

Cu Selur
its worked thanks mate, btw can you add vmtoon to avisynth?