Good morning friends,
I don't know why the blue colors automatically change to purple after any filtering in avisynth.
Notice in people's hair and skin that the reflected blue light changes color. Is there a script or some way to follow the original?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 4 of 4
			
		- 
	
- 
	Is it in the preview or just in the encoding? (might be vui signaling problem if it's really any filter and just after encoding) users currently on my ignore list: deadrats, Stears555, marcorocchini
- 
	You have a rec.601 vs rec.709 problem. Note the colorspace of the source. If you convert in AviSynth be sure to specify the corresponding matrix, for example: 
 When you encode specify the matrix in the encoder. For example:Code:ConvertToRGB(matrix="rec709") # RGB manipulations here ConvertToYV12(matrix="rec709") 
 Make sure your player and editors follow the color flag. For example, VirtualDub assumes rec.601 by default. So it shows rec.709 video incorrectly.Code:x264.exe --preset=slow --crf 18 --sar=1:1 --keyint 50 --colormatrix bt709 --output "output.mkv" "input.mkv" 
 
 Note that standard definition video is usually rec.601, high definition video is usually rec.709. So if you're upscaling you want to convert rec.601 to rec.709: ColorMatrix("rec.601->rec.709").
 
 Colors on the right half new match colors on the left.Code:ImageSource("Screenshot_2.png", start=0, end=23, fps=23.976) AddBorders(0,0,1,2) ConvertToYV12(matrix="rec601") # assume the left side is rec.601 left = Crop(0,0,width/2,-0) # get the left half right = Crop(width/2,0,-0,-0) # get the right half right = right.ColorMatrix("rec.709->rec.601").ColorMatrix("rec.709->rec.601") # two rec.709 to rec.601 adjustments StackHorizontal(left, right) # stack the back together ConvertToRGB(matrix="rec601") # convert back to RGB
 
 
 [Attachment 82461 - Click to enlarge]Last edited by jagabo; 25th Sep 2024 at 12:12. 
- 
	
Similar Threads
- 
  Export colors vastly different than source colors.By icon kid in forum Newbie / General discussionsReplies: 4Last Post: 13th Jun 2024, 09:26
- 
  Panasonic nv-hs960 and audio linear filteringBy prodarek in forum Capturing and VCRReplies: 1Last Post: 25th Mar 2023, 06:32
- 
  Avisynth: How do I change 25fps to 60fps only with duplicate frames?By VideoFanatic in forum RestorationReplies: 1Last Post: 9th Dec 2021, 15:14
- 
  Video is being opened by Avisynth's DirectShowSource, need to change thatBy Compositor in forum Newbie / General discussionsReplies: 2Last Post: 22nd Jun 2021, 01:13
- 
  HELP ! Vidcoder resize change colors !!!By Ginosergio in forum Video ConversionReplies: 4Last Post: 11th May 2020, 15:19


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote Visit Homepage
				Visit Homepage
			
