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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 14th May 2022, 08:37   #21  |  Link
Arx1meD
Registered User
 
Arx1meD's Avatar
 
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
Arx1meD is offline   Reply With Quote
 

Tags
ffmpeg, filter, grayworld

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.