This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] FillDrops with RIFE
#2
It does work fine here.
The Vapoursynth script used:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/RIFE/librife.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import filldrops
# source: 'K:\DeOldify-master\video\result\MoreAboutEnglishWoody.mp4'
# current color space: YUV420P8, bit depth: 8, resolution: 640x480, fps: 25, color matrix: 470bg, yuv luminance scale: full, scanorder: progressive
# Loading K:\DeOldify-master\video\result\MoreAboutEnglishWoody.mp4 using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="K:/DeOldify-master/video/result/MoreAboutEnglishWoody.mp4")
frame = clip.get_frame(0)
# Setting detected color matrix (470bg).
clip = core.std.SetFrameProps(clip, _Matrix=5)
# Setting color transfer (to 470bg), if it is not set.
if '_Transfer' not in frame.props or not frame.props['_Transfer']:
  clip = core.std.SetFrameProps(clip, _Transfer=5)
# Setting color primaries info (to 5), if it is not set.
if '_Primaries' not in frame.props or not frame.props['_Primaries']:
  clip = core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to PC (full) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=0)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive
clip = filldrops.FillSingleDrops(clip=clip, method="rife", rifeModel=22)
# set output frame rate to 25fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
does look fine too.
(side note: when using FillDrops and similar, I would strongly suggest check the thresholds to be sure they are not too low or high.)

Strangely, the encoding does stop directly and isn't complaining about a decoding issue.
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\Yoyo-Desktop\AppData\Local\Temp\encodingTempSynthSkript_2024-01-16@11_14_18_9510_0.vpy" - -c y4m | "C:\Program Files\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --b-adapt 0 --sync-lookahead 18 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --aq-mode 0 --sar 1:1 --non-deterministic --range pc --stats "C:\Users\Yoyo-Desktop\AppData\Local\Temp\MoreAboutEnglishWoodyRife_1_2024-01-16@11_14_18_9510_03.stats" --demuxer y4m --input-csp yuvj420p --input-range pc --fps 25/1 --output-depth 8 --output NUL -
If you call the encoding call inside a Windows Command Line interface (not powershell), does it show any errors that Hybrid might have missed?
Does the Vapoursynth preview work properly, or does it show an error?

Does RIFE work on its own (Filtering->Vapoursynth->Frame->Interpolation->Frame Interpolation->RIFE)

Cu Selur

Ps.: what gpu and driver version are you using?
PPs.: going to bed now, but send you a link to my current dev so we can be sure we both use the same version.
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply


Messages In This Thread
[BUG] FillDrops with RIFE - by zspeciman - 16.01.2024, 21:23
RE: [BUG] FillDrops with RIFE - by Selur - 16.01.2024, 21:46
RE: [BUG] FillDrops with RIFE - by zspeciman - 16.01.2024, 22:52
RE: [BUG] FillDrops with RIFE - by Selur - 17.01.2024, 06:24
RE: [BUG] FillDrops with RIFE - by zspeciman - 17.01.2024, 15:11
RE: [BUG] FillDrops with RIFE - by Selur - 17.01.2024, 15:20
RE: [BUG] FillDrops with RIFE - by zspeciman - 17.01.2024, 17:13
RE: [BUG] FillDrops with RIFE - by Selur - 17.01.2024, 17:14
RE: [BUG] FillDrops with RIFE - by zspeciman - 24.02.2024, 08:07
RE: [BUG] FillDrops with RIFE - by Selur - 24.02.2024, 08:15
RE: [BUG] FillDrops with RIFE - by zspeciman - 20.04.2024, 17:06
RE: [BUG] FillDrops with RIFE - by Selur - 21.04.2024, 08:26
RE: [BUG] FillDrops with RIFE - by Selur - 21.04.2024, 12:00
RE: [BUG] FillDrops with RIFE - by zspeciman - 21.04.2024, 14:45
RE: [BUG] FillDrops with RIFE - by Selur - 21.04.2024, 16:55
RE: [BUG] FillDrops with RIFE - by zspeciman - 21.04.2024, 19:33
RE: [BUG] FillDrops with RIFE - by Selur - 21.04.2024, 19:37
RE: [BUG] FillDrops with RIFE - by zspeciman - 21.04.2024, 19:47
RE: [BUG] FillDrops with RIFE - by Selur - 21.04.2024, 19:54
RE: [BUG] FillDrops with RIFE - by Selur - 21.04.2024, 20:54
RE: [BUG] FillDrops with RIFE - by zspeciman - 21.04.2024, 23:30
RE: [BUG] FillDrops with RIFE - by Selur - 22.04.2024, 05:05
RE: [BUG] FillDrops with RIFE - by Selur - 22.04.2024, 16:12
RE: [BUG] FillDrops with RIFE - by zspeciman - 22.04.2024, 17:59
RE: [BUG] FillDrops with RIFE - by Selur - 22.04.2024, 18:30
RE: [BUG] FillDrops with RIFE - by zspeciman - 22.04.2024, 21:02
RE: [BUG] FillDrops with RIFE - by Selur - 22.04.2024, 21:12
RE: [BUG] FillDrops with RIFE - by Selur - 23.04.2024, 05:12
RE: [BUG] FillDrops with RIFE - by zspeciman - 23.04.2024, 07:23
RE: [BUG] FillDrops with RIFE - by zspeciman - 06.05.2024, 16:33
RE: [BUG] FillDrops with RIFE - by Selur - 06.05.2024, 16:43
RE: [BUG] FillDrops with RIFE - by Selur - 06.05.2024, 16:56
RE: [BUG] FillDrops with RIFE - by Selur - 06.05.2024, 17:32
RE: [BUG] FillDrops with RIFE - by zspeciman - 06.05.2024, 21:32
RE: [BUG] FillDrops with RIFE - by Selur - 07.05.2024, 04:25
RE: [BUG] FillDrops with RIFE - by zspeciman - 07.05.2024, 05:15
RE: [BUG] FillDrops with RIFE - by Selur - 07.05.2024, 05:20
RE: [BUG] FillDrops with RIFE - by zspeciman - 07.05.2024, 05:51
RE: [BUG] FillDrops with RIFE - by Selur - 07.05.2024, 05:59

Forum Jump:


Users browsing this thread: 3 Guest(s)