View Single Post
Old 26th February 2018, 07:47   #1332  |  Link
fadedmaple
Registered User
 
fadedmaple's Avatar
 
Join Date: Dec 2017
Posts: 8
Quote:
Originally Posted by Khanattila View Post
I never used vseditor, but I suspect it could slow things down.

RX 480 8GB (1330MHz / 2000MHz) ~1,29 FPS with 90-100% GPU Load.

script.vpy
Code:
import vapoursynth as vs
core = vs.get_core()

clip = core.lsmas.LWLibavSource("Sample.mkv", format="YUV420P8")
# 1920x1080 clip from a Blu-ray.

clip = core.knlm.KNLMeansCL(clip, d=3, a=6, channels="Y",  device_type = "GPU")
clip = core.knlm.KNLMeansCL(clip, d=3, a=6, channels="UV", device_type = "GPU")

clip.set_output()
launcher.bat
Code:
vspipe script.vpy NUL -p
PS. Furthermore, there is the possibility LWLibavSource has decoding problems in that particular situation.
You should use a blank clip rather:
Code:
core.std.BlankClip(width=1920, height=1080, format=vs.YUV420P8, length=1000)
Thanks for you explain and advise,i find a very strange thing.
I record a short video here https://youtu.be/yvW8pOkl2_I

I have use a BlankClip in the video,you can see the GPU load change after I close and reopen the chrome .

Last edited by fadedmaple; 26th February 2018 at 07:50.
fadedmaple is offline   Reply With Quote