Wie sieht ein äquivalenter Aufruf zu:
aus?
Wenn ich:
verwendet, sieht das Ergebnis definitiv anders aus.
Hier auch noch die kompletten Skripte.
Avisynth:
Code
SetMemoryMax(768)SetMTMode(5,8) # change MT modeLoadPlugin("G:\Hybrid\AVISYN~1\LSMASHSource.dll")# loading source: F:\TestClips&Co\Test-AC3-5.1.avi# input luminance scale tvLWLibavVideoSource("F:\TestClips&Co\Test-AC3-5.1.avi",cache=false,dr=true,stacked=true,format="YUV420P8")# current resolution: 640x480# color modificationsSetMTMode(2) # change MT modeLevels(16,5.00,235,0,255)return lastt
Vapoursynth:
Code
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Loading F:\TestClips&Co\Test-AC3-5.1.avi using LWLibavSource
clip = core.lsmas.LWLibavSource(source="F:/TestClips&Co/Test-AC3-5.1.avi", format="YUV420P8", cache=0)
# Color Adjustment
clip = core.std.Levels(clip=clip, min_out=0, max_out=255, gamma=5.00, planes=[0])
# Output
clip.set_output()
Alles anzeigen
Es scheint, als ob Vapoursynth das Schwarz auch mit anpasst, Avisynth jedoch nicht.
=> Wie kriege ich mit Vapoursynth die gleiche Funktionalität, die ich in Avisynth habe?
Cu Selur
Ps.: Verwende Vapoursynth 64bit R37 und Avisynth 32bit 2.6 MT.