Hi, I am trying to rip an anime DVD and when I convert it to h264 the reds turn more towards orange. I found that I have to change its color space (Rec. 601) to Rec. 709. I am using this code from avisynth:
ConvertToYV12(matrix="PC.601")
ColorMatrix(mode="Rec.601->Rec.709")
is this correct?, I have to change something if the dvd is ntsc or pal?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
A DVD will already be YV12 so you shouldn't need the first line.
You should only need the second line if you're upscaling to HD. If you are then the second line is correct.
If the colors are changing and you're not upscaling it's possible your video card or player is doing something odd.
ColorMatrix can also obtain the colorimetry info from DGDecode, if you're decoding with it. Just in case the DVD video contains colorimetry info and it isn't rec.601 (not very likely). Check the Hints description in the ColorMatrix help file.
Other than that, you could also try the HDRMatrix plugin. I think it's slightly better quality than ColorMatrix (less prone to causing banding).
Matrix(From=601, To=709, Bitdepth=8)
You only need HDRMatrix.dll from the plugins pack.
https://www.videoartifact.com/hdr/
It probably also wouldn't hurt to add the appropriate colormatrix VUI to the x264 command line, if that's what you're using. It doesn't change the way the video is encoded, it's just information for a player to use. There's no such thing as a rec.601 colormatrix for x264. The first two are the same as rec.601.
(NTSC) --colormatrix smpte170m
(PAL) --colormatrix bt470bg
(HD if you upscale and convert the colors) --colormatrix bt709Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview)
Similar Threads
-
PotPlayer doesn't show correct colors, changing Color Space does not help.
By ObjectNull85 in forum Software PlayingReplies: 25Last Post: 21st Jun 2022, 05:58 -
Color Space in x264 Via FFMPEG in CLI
By koberulz in forum Newbie / General discussionsReplies: 15Last Post: 11th May 2020, 12:48 -
color correct megui
By nomaher in forum Blu-ray RippingReplies: 2Last Post: 31st Mar 2018, 16:27 -
How to color correct a video like this?
By Hypersonic1 in forum EditingReplies: 29Last Post: 14th Dec 2017, 20:38 -
Modify Color Space Flag
By chris319 in forum Newbie / General discussionsReplies: 74Last Post: 1st Aug 2017, 22:30