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.

Preview uncompressed RGB source doesn't work
#41
See attached.
BTW In this dev interface way to wide.


Attached Files
.zip   HybridDebugOutput.zip (Size: 106,88 KB / Downloads: 9)
Reply
#42
According to the log LSMASHSource is used at first:
2020.11.15 - 11:30:27_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.11.15.1 - level 9: using script:
# Imports
import os
import sys
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# source: 'D:\Hybrid_test\Jimm\VHS\BoatsAtLahaina.mp4'
# current color space: YUV420P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: bottom field first
# Loading D:\Hybrid_test\Jimm\VHS\BoatsAtLahaina.mp4 using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="D:/Hybrid_test/Jimm/VHS/BoatsAtLahaina.mp4")
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 29.970
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
original = clip
# setting field order to what QTGMC should assume (bottom field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Placebo", TFF=False) # new fps: 59.94
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
# setting field order to what QTGMC should assume (bottom field first)
original = core.std.SetFrameProp(clip=original, prop="_FieldBased", intval=1)
# Deinterlacing using QTGMC
original = havsfunc.QTGMC(Input=original, Preset="Placebo", TFF=False) # new fps: 119.88
# make sure content is preceived as frame based
original = core.std.SetFieldBased(original, 0)
# adjusting for FilterView
if (original.format.id != clip.format.id):
  if (original.format.color_family == vs.RGB and clip.format.color_family != vs.RGB):
    original = core.resize.Bicubic(clip=original, format=clip.format.id, matrix_s="470bg", range_s="limited")
  elif (original.format.color_family == clip.format.color_family):
    original = core.resize.Bicubic(clip=original, format=clip.format.id, range_s="limited")
  else:
    original = core.resize.Bicubic(clip=original, format=clip.format.id, matrix_in_s="470bg", range_s="limited")
stacked = core.std.StackHorizontal([original,clip])
# Output
stacked.set_output()
then you enable something that sets 'force cfr' which disables LSMASHSource:
2020.11.15 - 11:30:40_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.11.15.1 - level 9: using scri
# Imports
import os
import sys
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# source: 'D:\Hybrid_test\Jimm\VHS\BoatsAtLahaina.mp4'
# current color space: YUV420P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: bottom field first
# Loading D:\Hybrid_test\Jimm\VHS\BoatsAtLahaina.mp4 using LWLibavSource
clip = core.lsmas.LWLibavSource(source="D:/Hybrid_test/Jimm/VHS/BoatsAtLahaina.mp4", format="YUV420P8", cache=0, fpsnum=30000, fpsden=1001, prefer_hw=0)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 29.970
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
original = clip
# setting field order to what QTGMC should assume (bottom field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Placebo", TFF=False) # new fps: 59.94
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
# setting field order to what QTGMC should assume (bottom field first)
original = core.std.SetFrameProp(clip=original, prop="_FieldBased", intval=1)
# Deinterlacing using QTGMC
original = havsfunc.QTGMC(Input=original, Preset="Placebo", TFF=False) # new fps: 119.88
# make sure content is preceived as frame based
original = core.std.SetFieldBased(original, 0)
# adjusting for FilterView
if (original.format.id != clip.format.id):
  if (original.format.color_family == vs.RGB and clip.format.color_family != vs.RGB):
    original = core.resize.Bicubic(clip=original, format=clip.format.id, matrix_s="470bg", range_s="limited")
  elif (original.format.color_family == clip.format.color_family):
    original = core.resize.Bicubic(clip=original, format=clip.format.id, range_s="limited")
  else:
    original = core.resize.Bicubic(clip=original, format=clip.format.id, matrix_in_s="470bg", range_s="limited")
stacked = core.std.StackHorizontal([original,clip])
# set output frame rate to 59.940fps
stacked = core.std.AssumeFPS(clip=stacked, fpsnum=60000, fpsden=1001)
# Output
stacked.set_output()

Assuming you didn't enable 'Config->Input->Decoding->CFR output' I have no clue what you changed.
If you did enable it, don't, enable 'Config->Internals->Ignore all input timecodes' before loading the source.

Quote:BTW In this dev interface way to wide.
no clue what to do with that vague info, but I'll send you a link to a version which will not get so wide,..


Cu Selur
Reply
#43
"... I have no clue what you changed" - I changed nothing, just opened video and assigned De-interlacing.
The another thing I found - if I uncheck "Prefer LWLibAVSource over FFMpegSource2 - everything works fine.
So, it looks like FFMpegSource2 is more reliable and the problem most likely with LWLibAVSource.
Reply
#44
Quote:The another thing I found - if I uncheck "Prefer LWLibAVSource over FFMpegSource2 - everything works fine.
Nothing new,... I already mentioned before:
Quote:Using FFMpegSource2 the preview works too.

Cu Selur
Reply
#45
"Filter View" doesn't shows original video - both windows/split screen shows filtered only.
Reply
#46
Attempt to use "Vapoursynth" Interframe/SVP to convert 23.976 fps to 59.94 fps or to 60 fps output nothing,
showing just "finished" in the "Jobs" .
(Original Avisynth Interfarame 2.8.2 standalone AVS script + Virtualdub works fine)
Hybrid's Avisynth "Interframe" looks like works (at least it outputs currently something).


Attached Files
.zip   HybridDebugOutput.zip (Size: 521,31 KB / Downloads: 7)
Reply
#47
Quote:"Filter View" doesn't shows original video - both windows/split screen shows filtered only.
Deinterlacing, Cropping and a few others are always applied to both sides.
So without details would say this is as expected.

Quote:Posted by serg - 14 minutes ago
Attempt to use "Vapoursynth" Interframe/SVP to convert 23.976 fps to 59.94 fps or to 60 fps output nothing,
showing just "finished" in the "Jobs" .
Looks like I accidentally broke something since it aborts with:
Quote:Python exception: No module named 'InterFrame'
-> will look into it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)