My bad. Only installed the 32bit python.. Now that staxrip has vapoursynth, I can now use deblock_qed which the avs+ 64bt doesn't have..
+ Reply to Thread
Results 61 to 90 of 715
-
-
How to add Custom VS plugins or Filters to staxrip? Want to add Deblock_QED and KNLMeans but got this error
Code:Python exception: No attribute with the name deblock exists. Did you mistype a plugin namespace? Traceback (most recent call last): File "vapoursynth.pyx", line 1467, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:24719) File "C:\Temp\Media\Colorful temp files\Colorful_new.vpy", line 15, in <module> clip = havsfunc.Deblock_QED(clip)
Code:Deblock_QED = clip = havsfunc.Deblock_QED(clip) DeHalo_alpha = clip = havsfunc.DeHalo_alpha(clip) GrainStabilizeMC = clip = havsfunc.GSMC(clip) KNLMeansCL | KNLMeans Spatial Light = clip = knlm.KNLMeansCL (clip = clip, D=0, A=2, h=1.2, device_type="GPU") KNLMeansCL | KNLMeans Spatial Medium = clip = knlm.KNLMeansCL (clip = clip, D=0, A=4, h=3.6, device_type="GPU") KNLMeansCL | KNLMeans Spatial Strong = clip = knlm.KNLMeansCL (clip = clip, D=0, A=6, h=6.0, device_type="GPU") KNLMeansCL | KNLMeans Temporal Light = clip = knlm.KNLMeansCL (clip = clip, D=1, A=0, h=1.8, device_type="GPU") KNLMeansCL | KNLMeans Temporal Medium = clip = knlm.KNLMeansCL (clip = clip, D=1, A=0, h=5.4, device_type="GPU") KNLMeansCL | KNLMeans Temporal Strong = clip = knlm.KNLMeansCL (clip = clip, D=1, A=0, h=9.0, device_type="GPU")
-
with deblock I don't see a problem on the StaxRip side, maybe a undocumented plugin is needed, I'm also not experienced in this area, I've ask the havsfunc author waiting for a reply now.
Are you auto loading the KNLMeansCL plugin?
clip = knlm.KNLMeansCL (clip = clip, D=1, A=0, h=9.0, device_type="GPU")
clip = core.knlm.KNLMeansCL(...
http://www.vapoursynth.com/doc/autoloading.html
import vapoursynth as vs
core = vs.get_core()
import importlib.machinery
havsfunc = importlib.machinery.SourceFileLoader('havsfunc', r'D:\Projekte\GitHub\staxrip\bin\Apps\Plugins\vs\h avsfunc\havsfunc.py').load_module()
core.std.LoadPlugin(r'D:\Projekte\GitHub\staxrip\b in\Apps\Plugins\vs\fmtconv\fmtconv.dll')
core.std.LoadPlugin(r'D:\Projekte\GitHub\staxrip\b in\Apps\Plugins\vs\mvtools\libmvtools.dll')
core.std.LoadPlugin(r'D:\Projekte\GitHub\staxrip\b in\Apps\Plugins\vs\nnedi3\libnnedi3.dll')
core.std.LoadPlugin(r'D:\Projekte\GitHub\staxrip\b in\Apps\Plugins\vs\scenechange\scenechange.dll')
core.std.LoadPlugin(r'D:\Projekte\GitHub\staxrip\b in\Apps\Plugins\vs\temporalsoften\temporalsoften.d ll')
core.std.LoadPlugin(r'D:\Projekte\GitHub\staxrip\b in\Apps\Plugins\vs\vslsmashsource\vslsmashsource.d ll')
clip = core.lsmas.LibavSMASHSource(source = r'D:\Temp\Encoding\test.mp4')
clip = havsfunc.Deblock_QED(clip)
clip.set_output()
Python exception: No attribute with the name deblock exists. Did you mistype a plugin namespace?
Traceback (most recent call last):
File "vapoursynth.pyx", line 1467, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:24719)
File "D:\Temp\Encoding\test.vpy", line 12, in <module>
clip = havsfunc.Deblock_QED(clip)
File "D:\Projekte\GitHub\staxrip\bin\Apps\Plugins\vs\ha vsfunc\havsfunc.py", line 225, in Deblock_QED
normal = core.deblock.Deblock(clp, quant=quant1, aoffset=aOff1, boffset=bOff1, planes=[0, 1, 2] if uv!=2 and not isGray else [0])
File "vapoursynth.pyx", line 1088, in vapoursynth.Core.__getattr__ (src\cython\vapoursynth.c:18921)
AttributeError: No attribute with the name deblock exists. Did you mistype a plugin namespace?Last edited by stax76; 26th Jun 2015 at 03:27.
-
Already Finished adding Custom Deblock_QED and KNLMeansCL to filter Profiles.. Both Working great except KNLMenas Temporal mode.. Already submitted a report to Author..
Added this line to Filter Profiles
Code:Deblock_QED = clip = havsfunc.Deblock_QED(clp=clip) KNLMeansCL | KNLMeans S Light = clip = core.knlm.KNLMeansCL (clip = clip, d=0, a=2, h=1.2, device_type="GPU") KNLMeansCL | KNLMeans S Medium = clip = core.knlm.KNLMeansCL (clip = clip, d=0, a=4, h=3.6, device_type="GPU") KNLMeansCL | KNLMeans S Strong = clip = core.knlm.KNLMeansCL (clip = clip, d=0, a=6, h=6.0, device_type="GPU") KNLMeansCL | KNLMeans T Light = clip = core.knlm.KNLMeansCL (clip = clip, d=1, a=0, h=1.8, device_type="GPU") KNLMeansCL | KNLMeans T Medium = clip = core.knlm.KNLMeansCL (clip = clip, d=1, a=0, h=5.4, device_type="GPU") KNLMeansCL | KNLMeans T Strong = clip = core.knlm.KNLMeansCL (clip = clip, d=1, a=0, h=9.0, device_type="GPU") KNLMeansCL | KNLMeans S/T Light = clip = core.knlm.KNLMeansCL (clip = clip, d=1, a=1, h=1.5, device_type="GPU") KNLMeansCL | KNLMeans S/T Medium = clip = core.knlm.KNLMeansCL (clip = clip, d=1, a=1, h=4.5, device_type="GPU") KNLMeansCL | KNLMeans S/T Strong = clip = core.knlm.KNLMeansCL (clip = clip, d=1, a=1, h=7.5, device_type="GPU")
-
Stax, sorry it took me a while to get back to my DVDs. The videos are working great with IVTC, vinverse2, and rffmode=1. I wanted to let you know it works and say thanks for putting in the effort to make it work!
-
I spoke too soon, now I'm having trouble with the next season.
They just like changing things on me every season I guess. I'll see if I can figure it out.
-
Stax, any chance of getting the rffmode parameter added to VapourSynth? Or maybe that would be for ffms2. I'm still trying to learn exactly what all the tools do.
I noticed on one episode that when I use IVTC and vinverse2 some of the scenes have some... residue from the previous frame. There is a door and on the next frame there are trees but there is some brown in the frame that is sort of in the same shape as the door. And it only appears for one frame. Probably need a screenshot to truly understand.
I tried encoding with VapourSynth and QTGMC and the video looks perfectly fine. -
Stax, sorry it took me a while to get back to my DVDs. The videos are working great with IVTC, vinverse2, and rffmode=1. I wanted to let you know it works and say thanks for putting in the effort to make it work!
Stax, any chance of getting the rffmode parameter added to VapourSynth? Or maybe that would be for ffms2. I'm still trying to learn exactly what all the tools do.
Stax, did you ever get the Divx HEVC working?
NVEnc 1.09 has been released -
Hi,
I'm trying to get QTGMC loaded for some video cleanup I'm doing, but I can't figure out how to load it properly. This is how I've done it:
I've also tried putting QTGMC, QTGMC(), or the full line in on the left hand side. But I always get this error:
The script it's generating looks like this:
Code:LoadPlugin("E:\Video\StaxRip_x64_1.3.1.5_beta\Apps\Plugins\both\ffms2\ffms2.dll") LoadPlugin("E:\Video\StaxRip_x64_1.3.1.5_beta\Apps\Plugins\avs\QTGMC\QTGMC.avsi") FFVideoSource("E:\Video\title01.mkv", cachefile = "E:\Video\title01 temp files\title01.ffindex") Crop(8,0,-8,-0) QTGMC(preset="medium") SRestore()
Anybody have any suggestions? I've got StaxRip 1.3.1.5, and all version of avisynth+ installed is the included copy. -
@kingdavera
It's not possible for a x64 EXE to load a x86 DLL. It's also not possible to use QTGMC with AviSynth+ r1825, QTGMC works fine with VapourSynth. -
Ahh, that's fair.
I've just switched to VapourSynth, and it's working. Had to reinstall VS as I'd been messing with it previously, but it's working fine now.
Thanks! Great tool by the way! -
Me again!
I've switched back to Avisynth+ as I needed to run some denoise filters on my video. Having got something set up that works, the performance is lousy - My quad core i7-3770 is struggling to push the CPU above about 30%. In my previous dealings with AVS, I'd enabled MT to get this to work. I've added in some config to try and get this to work with Staxrip, but the CPU never goes any higher. Playing the video in MPC just produces a slideshow and the CPU barely breaks into a sweat!
This is the resulting config:
Code:LoadPlugin("E:\VideoTools\StaxRip_x64_1.3.1.5_beta\Apps\Plugins\avs\Decomb\Decomb.dll") LoadPlugin("E:\VideoTools\StaxRip_x64_1.3.1.5_beta\Apps\Plugins\both\ffms2\ffms2.dll") LoadPlugin("E:\VideoTools\StaxRip_x64_1.3.1.5_beta\Apps\Plugins\avs\vinverse\vinverse.dll") SetMemoryMax(2048) SetFilterMTMode("", 2) SetFilterMTMode("FFVideoSource", 3) FFVideoSource("E:\HandbrakeData\Watch\Source.mkv", cachefile = "E:\HandbrakeData\Watch\Source temp files\Source.ffindex") Telecide(guide=2, blend=false) SelectEven() vinverse() BiFrost(interlaced=false) FastLineDarkenMOD() daa().daa().daa() TNLMeans() TTempSmooth() Prefetch(7)
Thanks -
Hello, I use modified version of x264 profile and when I switched to 1.3.1.5 all my output files are 24.000 fps. The only way around is to force filter AssumeFPS to achieve proper frame rate. Has anyone else this problem?
-
Good Morning!
I am currently attempting to use this with StaxRip x64 and Vapoursynth.
Code:clip = havsfunc.SMDegrain(input = clip)
Code:clip = havsfunc.SMDegrain(input = clip, contrasharp=true, refinemotion=true, lsb=true)
Code:Python exception: name 'true' is not define Traceback (most recent call last): File "vapoursynth.pyx", line 1467, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:24719)
-
@kingdavera
your best chance for help is the Avisynth+ thread at doom9, the main developer of AviSynth+ is still on hiatus so if a script don't work as it should nothing can be done I'm afraid.
Hello, I use modified version of x264 profile and when I switched to 1.3.1.5 all my output files are 24.000 fps. The only way around is to force filter AssumeFPS to achieve proper frame rate. Has anyone else this problem?
@Lynx_TWO
If I remember right then Python is case sensitive like most languages and true must be uppercase: True -
Ok, while I have been using Staxrip for years & years & years, I am DEFINITELY no encoding guru or IT professional. I probably don't even know enough about encoding (I could never get my head around avisynth and the command lines), but the hundreds of movies I have encoded have always been good. I have recently switched from the old Staxrip 1.1.6.0 to the latest x264/x265 beta (1.2.2.0 / 1.3.1.6 Beta) and I'm trying to get my head around it. I've installed it and installed the Apps that came with it (AviSynth+_r1825.exe, etc.)
After using Makemkv for an old DVD Source (.vob files), I have loaded the mkv as the source. What I'm trying to find (in the 'Filter' section) is where the limited sharpen or other sharpen tools might be? I assumed the latest Staxrip release would have come with all necessary additional filters to install, but I can't seem to find it?
Is there a good way to sharpen the encode, as being a DVD source, it's obviously too smooth / a little blurred. Not sure if dropping Deblock to -6/-6 would help to sharpen it up?
Also, it there a way to set the profile to a specific 'high' level (i.e. High 4.1, etc.)? Not necessarily for this DVD encode, but for when I'm back to encoding the usual 1080p sources.
Thanks in advance. -
Hello stax76, my problem still pesists even with 1.3.1.6 beta.
I'm using tsMuxer to demux files from a BluRay disc or MKV file. Here you can see that MediaInfo says source is 23.976 but StaxRip shows it as 24.000:
In this current project I'm also adding Hardcoded subtitles. I tried 2 methods, both with Automatic video source filter:
1. With AssumeFPS - final file is 23.976, video/audio are in sync, but subtitles are not.
2. Without AssumeFPS - final file is 23.976, video/audio is out of sync (audio delays), audio/subtitles in sync.
Any ideas and/or recommendations?Last edited by WIGGER; 17th Sep 2015 at 08:07.
-
@The.King
Next release includes some sharpening filters. You can add some manually by copying the plugins to the plugin dir and edit the filter profiles.
@WIGGER
I can't do much here, StaxRip reads the frame rate from AviSynth and your source filter (for *.h264 default is LWLibavVideoSource) don't detect it properly, FFVideoSource also gets it wrong often, all you can do is add AssumeFPS, in the latest release there are several AssumeFPS filter profiles included so it's not difficult, it can be inserted simply via context menu. I can't tell you why the subtitles are out of sync. There are many many different possible workflows, for instance DGDecNV detects the frame rate correctly for *.h264 and it's faster then software decoders. Ripping with MakeMKV should also cause none of your problems, alternatively StaxRip includes a eac3to GUI for ripping, there you have the option to save the video stream as h264 or mkv, mkv requires the Haali splitter to be installed. With a trick it's possible to auto detect the frame rate with any source filter, there is a macro that allows to get particular MediaInfo parameters:
AssumeFPS(%media_info_video:FrameRate%)
I'll add a 'AssumeFPS MediaInfo' filter profile for the next release. -
stax76, makeMKV saved the day! StaxRip was able to read the right frame and I didn't have to use an AssumeFPS filter. Everythng went perfect in a standard procedure and all 3 streams (A/V/S) are in perfect sync. It seems that AssumeFPS affects Hardcoded subtitles somehow.
Thank you very much for your tip! -
you are quite welcome.
-
Hello Stax, How can I import custom functions in VS?
I'd like to add
KNLM.py
psharpen.py
EdgeCleaner.py
Will be adding this line in Filter Profile allowed?
Code:import knlm
-
Hello RazorBurn,
I recently made changes to the VapourSynth integration you can test here:
http://www.mediafire.com/download/si8hl09q6hzdda5/StaxRip_x64_2015-09-28.7z
This build will guide you using VapourSynth R28 test6 and Python 3.5
Then the location where you have to put your scripts should be here:
C:\Users\your_username\AppData\Local\Programs\Python\Python35\Lib\site-packages
In the filter profiles editor you can add then a profile like so:
Code:knlm_yuv = # knlm.KNLMeansCL fmtc.convert import knlm clip = knlm.knlm_yuv(clip = clip, d = 0, a = 2, h = 2)
C:\Program Files (x86)\VapourSynth\plugins64Last edited by stax76; 29th Sep 2015 at 07:42.
-
I've now uploaded a new official beta release to github:
https://github.com/stax76/staxrip/wiki/Changelog
https://github.com/stax76/staxrip/releases -
Hello stax76,
I'd like to make a 3D encoding with StaxRip and wanted to know is there a tutorial, which I can read/use? I founf this one which uses a simple AviSynth script and toolbox:
LoadPlugin("H264StereoSource.dll")
lv = directshowsource("left.mkv", audio=false)
rv = H264StereoSource("decoder.cfg",161118).AssumeFPS(2 4000,1001)
LeftRight3DReduced(lv, rv)I tried simple command prompt usage of x264, but I got an error on the first row (H264StereoSource.dll).
-
havsfunc-r19 released.. Hopefully will be updated in the next update of StaxRip..
QTGMC now used KNLMeansCL in NoiseProcess for more modern and faster denoising..
SMDegrain updated to v3.1.2d.
santiag and STPresso added.. -
Hi.
I have an issue here with staxRip. No errors are produced. When I Rip any video file with nVenc (nvidia 264) everything works good. But when I rip with nVenc (nvidia 265), appear a top green bar. Looks like two colors are placed wrong. It plays ok in my computer, but in my media player this video made with nvidia 265, plays with this related issue. Is not a problem with openhour chameleon, because it plays all other videos, including 265 made with x265... Help please. Thanks
Similar Threads
-
Staxrip: DirectoryNotFoundException
By hisaishi in forum EditingReplies: 2Last Post: 1st Jul 2019, 13:25 -
StaxRip AudioTrim
By aradmey in forum EditingReplies: 7Last Post: 23rd Jun 2019, 11:24 -
StaxRip and A/V desync
By Krasnal82 in forum Blu-ray RippingReplies: 0Last Post: 21st May 2018, 12:00 -
StaxRip 1.7.0.0 with Vapoursynth ?
By locky in forum Video ConversionReplies: 6Last Post: 24th Jan 2018, 18:08 -
Where is 'sharpen' in new Staxrip?
By The.King in forum Video ConversionReplies: 0Last Post: 2nd Sep 2015, 06:44