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. |
18th November 2019, 18:41 | #1221 | Link | |
Registered User
Join Date: Nov 2018
Posts: 19
|
Quote:
I would like to ask which noise filter retains the bit depth of the 10bit source? I ask because I have been working with Staxrip 2.0.0.0 and 2.0.2.4 for a long time, which had the wrong script template (colorspace = YV12) and so I have all the UHD rips basically 8bit ... According to this table FFT3DFilter should suit if I understand it well: http://avisynth.nl/index.php/Externa...oral_Denoisers Last edited by Andy; 18th November 2019 at 18:49. |
|
19th November 2019, 00:15 | #1222 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
I'm not 100% sure but I think FFT3DFilter is correctly handling 10bit source. I am currently using FFT3DFilter with 4K HDR sources and all seems correct.
I also use RemoveGrain https://forum.doom9.org/showthread.php?t=174347 10-16 bits and 32 bit float colorspace support in AVS+ |
19th November 2019, 14:02 | #1224 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@t3nzin
That is very helpful, thank you. I might start to code something difficult so it might take some time until updating continues.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
20th November 2019, 18:43 | #1226 | Link |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
Hi Stax76,
There is an issue with v2.0.6.0 and the parentheses that are being used. staxrip is using ' for the file path for the vapoursynth source filter which is give an invalid syntax error in python when the file name contains a '. This occurs with FFMS2 and LWLibavSource. Code:
Python exception: invalid syntax (Batman- The Animated Series - S01E06 - It's Never Too Late_source.vpy, line 6) Traceback (most recent call last): File "src\cython\vapoursynth.pyx", line 1943, in vapoursynth.vpy_evaluateScript File "C:\TMP\Batman- The Animated Series - S01E06 - It's Never Too Late_temp\Batman- The Animated Series - S01E06 - It's Never Too Late_source.vpy", line 6 clip = core.lsmas.LWLibavSource(r'Z:\Bluray\Queue\10\Batman- The Animated Series\Season 1\Batman- The Animated Series - S01E06 - It's Never Too Late.mkv', cachefile=r'C:\TMP\Batman- The Animated Series - S01E06 - It's Never Too Late_temp\Batman- The Animated Series - S01E06 - It's Never Too Late.lwi') ^ SyntaxError: invalid syntax Code:
import os, sys import vapoursynth as vs core = vs.get_core() sys.path.append(r'Z:\Bluray\Staxrip\Apps\Plugins\VS\Scripts') import importlib.machinery resamplehq = importlib.machinery.SourceFileLoader('resamplehq', r"Z:\Bluray\Staxrip\Apps\Plugins\VS\Scripts\resamplehq.py").load_module() mvsfunc = importlib.machinery.SourceFileLoader('mvsfunc', r"Z:\Bluray\Staxrip\Apps\Plugins\VS\Scripts\mvsfunc.py").load_module() adjust = importlib.machinery.SourceFileLoader('adjust', r"Z:\Bluray\Staxrip\Apps\Plugins\VS\Scripts\adjust.py").load_module() havsfunc = importlib.machinery.SourceFileLoader('havsfunc', r"Z:\Bluray\Staxrip\Apps\Plugins\VS\Scripts\havsfunc.py").load_module() core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\fmtconv\fmtconv.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\AWarpSharp2\libawarpsharp2.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\CTMF\CTMF.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\VS\DCTFilter\DCTFilter.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\VS\Deblock\Deblock.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\DFTTest\DFTTest.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\EEDI2\EEDI2.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\EEDI3m\EEDI3m.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\FFT3DFilter\fft3dfilter.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\FluxSmooth\libfluxsmooth.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\HQDN3D\libhqdn3d.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\BM3D\BM3D.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\mvtools\libmvtools.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\VS\nnedi3\libnnedi3.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\VS\nnedi3\NNEDI3CL.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\Sangnom\libsangnom.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\scenechange\scenechange.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\VS\SVPFlow\svpflow1_vs64.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\VS\SVPFlow\svpflow2_vs64.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\vs\TTempSmooth\TTempSmooth.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\VS\nnedi3\vsznedi3.dll") core.std.LoadPlugin(r"Z:\Bluray\Staxrip\Apps\Plugins\both\L-SMASH-Works\LSMASHSource.dll") clip = core.lsmas.LWLibavSource(r'Z:\Bluray\Queue\10\Batman- The Animated Series\Season 1\Batman- The Animated Series - S01E06 - It's Never Too Late.mkv', cachefile=r'C:\TMP\Batman- The Animated Series - S01E06 - It's Never Too Late_temp\Batman- The Animated Series - S01E06 - It's Never Too Late.lwi') #clip = core.std.AssumeFPS(clip, None, 25, 1) clip = core.fmtc.bitdepth(clip, bits=16) clip = core.std.Crop(clip, 0, 0, 0, 0) clip = resamplehq.resamplehq(clip, 960, 540, kernel='Spline36') clip = havsfunc.SMDegrain(clip, tr=4, RefineMotion=True, thSAD=500) clip.set_output()
__________________
A Man Eating Duck Last edited by AMED; 20th November 2019 at 20:25. |
21st November 2019, 15:33 | #1228 | Link | |
Registered User
Join Date: Nov 2018
Posts: 19
|
Quote:
But I'm not sure about RemoveGrain, the table shows only coloformat YV12 and YUY2. (sorry for bad english, not my native language, I use google translator) |
|
21st November 2019, 17:10 | #1229 | Link | |
Registered User
Join Date: Jan 2015
Posts: 286
|
Quote:
i've got these error only with LibavSMASHSource. FFMS2 and LWLibavSource works great. |
|
21st November 2019, 18:08 | #1230 | Link | |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
Quote:
Code:
clip = core.avisource.AVISource(r'%source_file%') clip = core.d2v.Source(r'%source_file%') clip = core.dgdecodenv.DGSource(r'%source_file%') clip = core.ffms2.Source(r'%source_file%', cachefile=r'%source_temp_file%.ffindex') clip = core.lsmas.LibavSMASHSource(r'%source_file%') clip = core.lsmas.LWLibavSource(r'%source_file%', cachefile=r'%source_temp_file%.lwi') Code:
clip = core.avisource.AVISource(r"%source_file%") clip = core.d2v.Source(r"%source_file%") clip = core.dgdecodenv.DGSource(r"%source_file%") clip = core.ffms2.Source(r"%source_file%", cachefile=r"%source_temp_file%.ffindex") clip = core.lsmas.LibavSMASHSource(r"%source_file%") clip = core.lsmas.LWLibavSource(r"%source_file%", cachefile=r"%source_temp_file%.lwi")
__________________
A Man Eating Duck |
|
21st November 2019, 18:40 | #1231 | Link | |
Registered User
Join Date: Jan 2015
Posts: 286
|
Quote:
Code:
[Source] Automatic = # can be configured at: Tools > Settings > Source Filters AVISource = clip = core.avisource.AVISource(r"%source_file%") d2vsource = clip = core.d2v.Source(r"%source_file%") DGSource = clip = core.avs.DGSource(r"%source_file%") ffms2 = clip = core.ffms2.Source(r"%source_file%", cachefile = r"%source_temp_file%.ffindex") LibavSMASHSource = clip = core.lsmas.LibavSMASHSource(r"%source_file%") LWLibavSource = clip = core.lsmas.LWLibavSource(r"%source_file%") Manual = # shows filter selection dialog |
|
21st November 2019, 18:54 | #1232 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
21st November 2019, 21:24 | #1234 | Link |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
I've deleted the settings folder and reopened Staxrip, chose a new setting folder. Said no to the daily update message then clicked on avs filters > filter setup > vapoursynth. right clicked source and selected Source > ffms.
Code:
clip = core.ffms2.Source(r'%source_file%', cachefile=r'%source_temp_file%.ffindex') #clip = core.std.AssumeFPS(clip, None, 25, 1) EDIT: I just found this in package.vb Code:
.VSFiltersFunc = Function() {New VideoFilter("Source", "ffms2", "clip = core.ffms2.Source(r'%source_file%', cachefile=r'%source_temp_file%.ffindex')" + BR + "#clip = core.std.AssumeFPS(clip, None, 25, 1)")}}) Which i assume should be changed to this Code:
.VSFiltersFunc = Function() {New VideoFilter("Source", "ffms2", "clip = core.ffms2.Source(r""%source_file%"", cachefile=r""%source_temp_file%.ffindex"")" + BR + "#clip = core.std.AssumeFPS(clip, None, 25, 1)")}}) DGSource = https://github.com/staxrip/staxrip/b...ackage.vb#L453 LibavSMASHSource = https://github.com/staxrip/staxrip/b...ackage.vb#L589 LWLibavSource = https://github.com/staxrip/staxrip/b...ackage.vb#L590
__________________
A Man Eating Duck Last edited by AMED; 21st November 2019 at 21:52. |
21st November 2019, 23:28 | #1235 | Link | |
Registered User
Join Date: Sep 2019
Posts: 5
|
Quote:
Now, is there any special I need to select/set in the Plethora of options available within Staxrip (Currently running 2.0.6.0)? I'm liking Staxrip, and it seems to be very flexible, but what it does need is a good set of tutorials (maybe there are already, but i havent found any) |
|
21st November 2019, 23:38 | #1236 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@AMED
https://postimg.cc/94xZNGH0 I'll fix it when development continues, this might take some weeks or even months, I want to replace the interface for avisynth and vapoursynth as well as the rendering.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
23rd November 2019, 21:44 | #1237 | Link |
Registered User
Join Date: Dec 2003
Location: Germany
Posts: 78
|
I have several video files with the following codec:
Code:
Video ID : 1 ID in the original source medium : 4113 (0x1011) Format : VC-1 Format profile : Advanced@L2 Codec ID : V_MS/VFW/FOURCC / WVC1 Codec ID/Hint : Microsoft Duration : 1 min 20 s Bit rate : 2 216 kb/s Width : 720 pixels Height : 480 pixels Display aspect ratio : 3:2 Original display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Scan order : 2:3 Pulldown Compression mode : Lossy Bits/(Pixel*Frame) : 0.267 Stream size : 21.2 MiB (74%) Language : English Default : No Forced : No Original source medium : Blu-ray This comes when I use VapourSynth. When I use AviSynth the crop window works as usual. So I would guess, this is an error in the crop plugin for VS then? Are the crop plugins this different for VS and AS? |
24th November 2019, 14:01 | #1238 | Link | ||
Registered User
Join Date: Oct 2014
Posts: 52
|
Quote:
Quote:
Did you both got full CPU usage when converting from HDR to SDR? I could only get about 20% CPU usage with avisynth and DGHable script. But when DGHable was stripped, I am able to get about 98% CPU usage. I had to encode 3 videos at once, none of them could get more than 30% CPU with DGHable applied. Last edited by IbrahimKh; 24th November 2019 at 14:03. |
||
24th November 2019, 21:26 | #1239 | Link |
Registered User
Join Date: Dec 2003
Location: Germany
Posts: 78
|
Another problem I hope I can find some insights here.
File properties: Code:
ID : 1 ID in the original source medium : 4113 (0x1011) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 2 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 2 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1 min 5 s Bit rate mode : Variable Bit rate : 3 838 kb/s Width : 720 pixels Height : 480 pixels Display aspect ratio : 4:3 Original display aspect ratio : 4:3 Frame rate mode : Variable Frame rate : 59.940 (60000/1001) FPS Original frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan type, store method : Separated fields Scan order : Bottom Field First Bits/(Pixel*Frame) : 0.185 Stream size : 29.8 MiB (95%) Language : English Default : No Forced : No Original source medium : Blu-ray |
25th November 2019, 19:18 | #1240 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
NVEnc 4.56 is released today.
Quote:
Last edited by JKyle; 26th November 2019 at 18:43. |
|
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|