Hello, folks!
First I would like to say that this post is a bit longer than the usual, but the reason is to provide as much information as possible in order to help you help me :-).
I would like to fix some of the BluRay titles I acquired recently, due to a seeming tendency to have a lot of graining in this kind of media.
My goal is to backup all of my BluRay discs at my local storage to MKV container encoding to AVC format using x264 with CRF value 20, all other settings default.
I have been testing many methods of degraining, including high quality ones like MCTemporalDenoiser and MC_Spuds, but in my personal opinion, and for my specific needs, TemporalDegrain is the hands down winner.
As well stated in the docs, this script function is very slow, so I'm trying to make it work a little bit faster, but the problem is that I couldn't find a way to make it work using SetMTMode instruction, cause every attempt I made led to crash the process at the start of my script, and the error is always related to FFTW3.dll.
There's absolutely no errors using this amazing function without SetMTMode, but the speed is barely above 1 fps.
Follow below all details of my issue:
Script sample:
SetMTMode(3, 0) # Also tried many different values for (mode, threads) here
DSS2("BluRay Title.m2ts") # Also tried with FFVideoSource (FFmpeg) and AVCSource (DGDecode)
SetMTMode(2)
TemporalDegrain()
VirtualDub error when trying to open the script:
An out-of-bounds memory access (access violation) occurred in module 'fftw3' writing address 00000020.
Media Player Classic error when trying to open the script:
Problem Event Name: APPCRASH / Fault Module Name: fftw3.dll
AviSynth versions tried:
2.5.8 MT and 2.6.0 MT with the most recent avisynth.dll, both 32-bit.
FFTW3.dll versions tried at SysWOW64 folder:
old 30.01.2004 (available at avisynth.org site) and newest 25.11.2012 (available at fftw.org site)
Relevant machine specs:
Intel i7 3770 3.4Ghz (quad-core hyper-threading), 16 Gb RAM DDR3 1600 MHz
Operating System:
Windows 7 SP1 x64
Considering my machine is fairly good, I would like to get at least 3 fps, but when I tried using TemporalDegrain_MT wrapper script with AviSynth 2.5.8 (that uses MT instruction instead of SetMTMode), I just got around 1.7 fps, which is far from my expectations.
I know I can gain speed increasing the blksize value or lowering the degrain parameters, but in my tests, this shows considerable quality loss, so I want to avoid it.
If you can help me to solve this issue, and need some more details about it, feel free to ask, and I would be very grateful.
Thanks in advance,
RegiOween
First I would like to say that this post is a bit longer than the usual, but the reason is to provide as much information as possible in order to help you help me :-).
I would like to fix some of the BluRay titles I acquired recently, due to a seeming tendency to have a lot of graining in this kind of media.
My goal is to backup all of my BluRay discs at my local storage to MKV container encoding to AVC format using x264 with CRF value 20, all other settings default.
I have been testing many methods of degraining, including high quality ones like MCTemporalDenoiser and MC_Spuds, but in my personal opinion, and for my specific needs, TemporalDegrain is the hands down winner.
As well stated in the docs, this script function is very slow, so I'm trying to make it work a little bit faster, but the problem is that I couldn't find a way to make it work using SetMTMode instruction, cause every attempt I made led to crash the process at the start of my script, and the error is always related to FFTW3.dll.
There's absolutely no errors using this amazing function without SetMTMode, but the speed is barely above 1 fps.
Follow below all details of my issue:
Script sample:
SetMTMode(3, 0) # Also tried many different values for (mode, threads) here
DSS2("BluRay Title.m2ts") # Also tried with FFVideoSource (FFmpeg) and AVCSource (DGDecode)
SetMTMode(2)
TemporalDegrain()
VirtualDub error when trying to open the script:
An out-of-bounds memory access (access violation) occurred in module 'fftw3' writing address 00000020.
Media Player Classic error when trying to open the script:
Problem Event Name: APPCRASH / Fault Module Name: fftw3.dll
AviSynth versions tried:
2.5.8 MT and 2.6.0 MT with the most recent avisynth.dll, both 32-bit.
FFTW3.dll versions tried at SysWOW64 folder:
old 30.01.2004 (available at avisynth.org site) and newest 25.11.2012 (available at fftw.org site)
Relevant machine specs:
Intel i7 3770 3.4Ghz (quad-core hyper-threading), 16 Gb RAM DDR3 1600 MHz
Operating System:
Windows 7 SP1 x64
Considering my machine is fairly good, I would like to get at least 3 fps, but when I tried using TemporalDegrain_MT wrapper script with AviSynth 2.5.8 (that uses MT instruction instead of SetMTMode), I just got around 1.7 fps, which is far from my expectations.
I know I can gain speed increasing the blksize value or lowering the degrain parameters, but in my tests, this shows considerable quality loss, so I want to avoid it.
If you can help me to solve this issue, and need some more details about it, feel free to ask, and I would be very grateful.
Thanks in advance,
RegiOween