Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
12th November 2017, 15:43 | #3244 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
So your best bet is either not use Hybrid or find an alternative to MDegrain which runs under Vapoursynth that I could support in Hybrid, since I don't plan to support Avisynth 64bit. (or stick with the 32bit Avisynth version)
Cu Selur |
12th November 2017, 17:12 | #3245 | Link |
Registered User
Join Date: Nov 2016
Posts: 57
|
how about this SMDegrain?
https://forum.doom9.org/showthread.php?t=166582 |
12th November 2017, 17:41 | #3246 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Already comes with Hybrid, but isn't used other than in QTGMC atm. .
Looking just at the parameter list: Code:
SMDegrain(input, tr=2, thSAD=300, thSADC=None, RefineMotion=False, contrasharp=None, CClip=None, interlaced=False, tff=None, plane=4, Globals=0, pel=None, subpixel=2, prefilter=-1, mfilter=None, blksize=None, overlap=None, search=4, truemotion=None, MVglobal=None, dct=0, limit=255, limitc=None, thSCD1=None, thSCD2=130, chroma=True, hpad=None, vpad=None, Str=1., Amp=0.0625) -> will look into it, hopefully I get it done during the next week |
27th November 2017, 13:40 | #3250 | Link |
Registered User
Join Date: Mar 2008
Posts: 68
|
Hey Selur
I've been experimenting with nvenc hevc encoding and I always keep getting crashes Could you check the log, please? https://pastebin.com/ZKBSpsxL I suppose Im doing something wrong here..I dunno Thank you |
27th November 2017, 17:52 | #3251 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Vapoursynth script looks fine to me:
Code:
# Imports import os import sys import ctypes Dllref = ctypes.windll.LoadLibrary("F:/Hybrid/vsfilters/Support/libfftw3f-3.dll") # Loading Support Files Dllref = ctypes.windll.LoadLibrary("F:/Hybrid/vsfilters/Support/OpenCL.dll") import vapoursynth as vs core = vs.get_core() # Import scripts folder scriptPath = 'F:/Hybrid/vsscripts' sys.path.append(os.path.abspath(scriptPath)) # Loading Plugins core.std.LoadPlugin(path="F:/Hybrid/vsfilters/GrainFilter/AddGrain/AddGrain.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/DenoiseFilter/FFT3DFilter/vsfft3dfilter.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/DenoiseFilter/KNLMeansCL/KNLMeansCL.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/ResizeFilter/NNEDI3/libnnedi3.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/Support/libmvtools.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/Support/temporalsoften.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/Support/scenechange.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/Support/fmtconv.dll") core.std.LoadPlugin(path="F:/Hybrid/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll") # Import scripts import havsfunc as havsfunc # Loading F:\TEMP\Howards.End.S01E03.1080p.HDTV.H264-MTB[rarbg]\test.mkv using LWLibavSource clip = core.lsmas.LWLibavSource(source="F:/TEMP/Howards.End.S01E03.1080p.HDTV.H264-MTB[rarbg]/test.mkv", format="YUV420P8", cache=0) # making sure input color matrix is set as 709 clip = core.resize.Point(clip, matrix_in_s="709") # Making sure input color range is set to TV (limited) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1) # setting field order to what QTGMC should assume clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2) # Deinterlacing using QTGMC clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=True) clip = clip[::2] # adjusting output color from: YUV420P8 to YUV420P10 clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10) # Output clip.set_output() Code:
"F:\Hybrid\Vapoursynth\vspipe.exe" "F:\CORBEAU\encodingTempSynthSkript_15_34_40_3010.vpy" - --y4m | "F:\Hybrid\ffmpeg.exe" -y -threads 8 -f yuv4mpegpipe -i - -an -sn -vsync 0 -strict -1 -pix_fmt yuv420p10le -vcodec hevc_nvenc -preset 5 -profile:v 1 -level 0 -rc constqp -cq 18 -2pass 0 -rc-lookahead -1 -surfaces 32 -nonref_p 1 -strict_gop 1 "F:\CORBEAU\test_15_34_40_3010_02.mkv" Cu Selur What happens if you call the encoding call inside a Windows Command Prompt? |
5th December 2017, 22:53 | #3252 | Link |
Registered User
Join Date: Mar 2008
Posts: 68
|
OK.. I changed hevc to nvenc (not nvenc ffmpeg) and it works now.
I was wondering what settings would you recommend using for maximum quality? I mean these ones; - adaptive quantization (enable it?) Strength can't be set though - number of ref frames. 3 is default. Would 5 be a better choice quality\compression wise? - It seems I can't enable B-frames..Is it supposed to be like this on nvenc-hevc? -gop size max? default 0 - lookahead? default 16 Thank you! |
5th December 2017, 23:46 | #3253 | Link | |||||
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Quote:
Quote:
Quote:
Quote:
Quote:
Cu Selur |
|||||
7th December 2017, 13:16 | #3254 | Link |
Registered User
Join Date: May 2014
Posts: 292
|
С наступающим
Hybrid v2017.10.05.1, windows x64. Сhoose the preset slow (the cu lossless panel is active and responds) > off cutree > on cutree - panel cu lossles attenuated / blocked (x265). Last edited by Gravitator; 7th December 2017 at 14:29. |
7th December 2017, 17:55 | #3255 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Cu Selur Last edited by Selur; 7th December 2017 at 21:27. |
8th December 2017, 05:37 | #3257 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Ah okay, got it. Was a small bug, fixed locally.
cu-lossless should be disabled while cu-tree is disabled and not the other way around, will send you a link for a dev version which fixes this. Cu Selur |
15th December 2017, 21:57 | #3260 | Link |
Registered User
Join Date: May 2012
Location: Here
Posts: 257
|
Hi selur,
I'm using Hybrid v2017.10.05.1, Linux 64bit qt521 When I load a BluRay and select a mpls play list, and Hybrid is analysing streams, Hybrid crashes. I reproduce the problem with several BD. It does not happen in this same BD with Hybrid v2017.05,06.1 I send you a debug file. |
Thread Tools | Search this Thread |
Display Modes | |
|
|