Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th May 2022, 08:37 | #21 | Link |
Registered User
Join Date: Feb 2021
Posts: 121
|
I decided to compare two different methods in the Grayworld filter. If you do not look closely, the difference is almost not noticeable. Or I am doing something wrong again.
Code:
so = DSS2("C:\test\underwater.mkv", fps=30.000) #========================================================== v1 = so.ConvertBits(32) v1 = v1.z_ConvertFormat(pixel_type="RGBPS", colorspace_op="709:709:709:f=>rgb:linear:709:f") v1 = v1.grayworld(cc=0) v1 = v1.z_ConvertFormat(pixel_type="YUV420", colorspace_op="rgb:linear:709:f=>709:709:709:l") #========================================================== v2 = so.ConvertBits(32) v2 = v2.z_ConvertFormat(pixel_type="RGBPS", colorspace_op="709:709:709:f=>rgb:linear:709:f") v2 = v2.grayworld(cc=1) v2 = v2.z_ConvertFormat(pixel_type="YUV420", colorspace_op="rgb:linear:709:f=>709:709:709:l") #========================================================== StackHorizontal(so.AddBorders(0, 0, 0, 20).Subtitle("Source", align=2), \ v1.AddBorders(0, 0, 0, 20).Subtitle("grayworld(cc=0)", align=2), \ v2.AddBorders(0, 0, 0, 20).Subtitle("grayworld(cc=1)", align=2)) Test video: underwater Comparison: underwater_test |
Tags |
ffmpeg, filter, grayworld |
Thread Tools | Search this Thread |
Display Modes | |
|
|