Selur's Little Message Board
SMDeGrain - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: SMDeGrain (/thread-289.html)



SMDeGrain - Liza66 - 07.02.2018

Why i can't use SMDeGrain?
When i use SMDeGrain, These errors appear after start queue:
This log is only intended for user information.
It should not be part of a bug/problem report!!
 added new job with id 08_51_21_4210
 added new job with id 08_51_59_1010
Current defaultOutputPath: is empty!
-> Set it under Config->Path
Detected NVIDIA PureVideo compatible cards:   GeForce GT 730
Finished initialization, finished after 4.309s
Filtering input files,..
Analyzing 'ExtendedScenes.mkv'.
Checking a/v ids with FFMpeg VideoAnalyser,...
 Analyzing ExtendedScenes.mkv,...
Grabbing audio ids for C:\Users\takrayan\Downloads\ExtendedScenes.mkv.
-> Found the following audio ids: 0
Analyzing audio streams,...
 Analyzing audio stream with id '0'.
  Analyzing audio stream with MPlayer AudioAnalyser for id '0',...
  Grabbing audio data and delay infos,...
 Grabbing video ids for ExtendedScenes.mkv.
 -> Video ids found: 0
Analyzing video streams...
 Analyzing video stream (0).
starting auto routines for source number: 1
-> finished auto routines for source number: 1
Input is completely analysed,...
Current outputDir: is empty!
-> Set it under Config->Path
Creating job for current source
-> Creating jobs for source 1,...
-> Generating calls for: C:\Users\takrayan\Desktop\New.mkv
 adding x265 calls for source: 1
 createJobs for C:\Users\takrayan\Desktop\New.mkv
  creating attachment extraction subjobs
  creating video subjobs
  creating muxing subjobs
  optimizing the subJobs
-> finished creating subjobs for current source
 added new job with id 13_05_26_9410
-> should be there after processing: C:\Users\takrayan\AppData\Local\Temp\08_51_21_4210_03.265
starting 08_51_21_4210_03_video@13:05:27.162 - C:\Users\takrayan\Downloads\new.mkv
finished after 00:00:03.139
-> 08_51_21_4210_03_video crashed: ERROR: C:\Users\takrayan\AppData\Local\Temp\08_51_21_4210_03.265 was not created!
Aborting '08_51_21_4210_03_video' due to: ERROR: C:\Users\takrayan\AppData\Local\Temp\08_51_21_4210_03.265 was not created!
Job 08_51_21_4210 finished!
-> should be there after processing: C:\Users\takrayan\AppData\Local\Temp\08_51_59_1010_03.265
starting 08_51_59_1010_03_video@13:05:30.364 - C:\Users\takrayan\Downloads\new.mkv
finished after 00:00:00.234
-> 08_51_59_1010_03_video crashed: ERROR: C:\Users\takrayan\AppData\Local\Temp\08_51_59_1010_03.265 was not created!
Aborting '08_51_59_1010_03_video' due to: ERROR: C:\Users\takrayan\AppData\Local\Temp\08_51_59_1010_03.265 was not created!
Job 08_51_59_1010 finished!
-> should be there after processing: C:\Users\takrayan\AppData\Local\Temp\13_05_26_9410_03.265
starting 13_05_26_9410_03_video@13:05:30.770 - C:\Users\takrayan\Desktop\New.mkv
finished after 00:00:01.125
-> 13_05_26_9410_03_video crashed: ERROR: C:\Users\takrayan\AppData\Local\Temp\13_05_26_9410_03.265 was not created!
Aborting '13_05_26_9410_03_video' due to: ERROR: C:\Users\takrayan\AppData\Local\Temp\13_05_26_9410_03.265 was not created!
Job 13_05_26_9410 finished!

Help me please.


RE: SMDeGrain - Selur - 07.02.2018

Quote:This log is only intended for user information.
It should not be part of a bug/problem report!!
Read the sticky,..
Also try whether the Vapoursynth Preview works.


RE: SMDeGrain - Liza66 - 08.02.2018

(07.02.2018, 17:18)Selur Wrote:
Quote:This log is only intended for user information.
It should not be part of a bug/problem report!!
Read the sticky,..
Also try whether the Vaporusynth Preview works.

This is my debug file.


The Vaporusynth Preview works fine.


RE: SMDeGrain - Selur - 08.02.2018

Okay, if the Vapoursynth Preview works fine the issue is probably not with the Vapoursynth script itself.
# Imports
import os
import sys
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/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import nnedi3_resample
import mvsfunc
import havsfunc
# Loading C:\Users\takrayan\Downloads\ExtendedScenes.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/takrayan/DOWNLO~1/EXTEND~1.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)
# removing grain using SMDegrain
clip = havsfunc.SMDegrain(input=clip, interlaced=False)
# adjusting output color from: YUV420P8 to YUV420P10 for x265Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10)
# Output
clip.set_output()
(yes, script seems fine)
Do you see an error, when you call:
"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\takrayan\AppData\Local\Temp\encodingTempSynthSkript_08_14_22_7410.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x265.exe" --input - --output-depth 10 --y4m --profile main10 --qg-size 8 --limit-modes --no-open-gop --radl 2 --lookahead-slices 0 --crf 18.00 --cbqpoffs -2 --crqpoffs -2 --qpfile "C:\Users\takrayan\AppData\Local\Temp\ExtendedScenes_new_08_14_22_7410_02.qp" --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --range limited --colormatrix bt709 --output "C:\Users\takrayan\AppData\Local\Temp\08_14_22_7410_03.265"
inside a Windows command line prompt?


RE: SMDeGrain - Liza66 - 08.02.2018

(08.02.2018, 06:58)Selur Wrote: Okay, if the Vapoursynth Preview works fine the issue is probably not with the Vapoursynth script itself.
# Imports
import os
import sys
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/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import nnedi3_resample
import mvsfunc
import havsfunc
# Loading C:\Users\takrayan\Downloads\ExtendedScenes.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/takrayan/DOWNLO~1/EXTEND~1.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)
# removing grain using SMDegrain
clip = havsfunc.SMDegrain(input=clip, interlaced=False)
# adjusting output color from: YUV420P8 to YUV420P10 for x265Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10)
# Output
clip.set_output()
(yes, script seems fine)
Do you see an error, when you call:
"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\takrayan\AppData\Local\Temp\encodingTempSynthSkript_08_14_22_7410.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x265.exe" --input - --output-depth 10 --y4m --profile main10 --qg-size 8 --limit-modes --no-open-gop --radl 2 --lookahead-slices 0 --crf 18.00 --cbqpoffs -2 --crqpoffs -2 --qpfile "C:\Users\takrayan\AppData\Local\Temp\ExtendedScenes_new_08_14_22_7410_02.qp" --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --range limited --colormatrix bt709 --output "C:\Users\takrayan\AppData\Local\Temp\08_14_22_7410_03.265"
Inside a Windows command line prompt?

This is output:

Microsoft Windows [Version 10.0.10586]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\takrayan>"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\takrayan\AppData\Local\Temp\encodingTempSynthSkript_08_14_22_7410.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x265.exe" --input - --output-depth 10 --y4m --profile main10 --qg-size 8 --limit-modes --no-open-gop --radl 2 --lookahead-slices 0 --crf 18.00 --cbqpoffs -2 --crqpoffs -2 --qpfile "C:\Users\takrayan\AppData\Local\Temp\ExtendedScenes_new_08_14_22_7410_02.qp" --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --range limited --colormatrix bt709 --output "C:\Users\takrayan\AppData\Local\Temp\08_14_22_7410_03.265"
[matroska,webm @ 000001d12221b720] Read error
x265 [error]: unable to open input file <->
Error: fwrite() call failed when writing frame: 0, plane: 0, errno: 32
Output 5 frames in 0.66 seconds (7.62 fps)

C:\Users\takrayan>



RE: SMDeGrain - Selur - 08.02.2018

Okay seems to be the same as https://forum.selur.net/showthread.php?tid=251
-> I got no clue why this happens to some people with some sources.

Cu Selur


RE: SMDeGrain - Liza66 - 08.02.2018

(08.02.2018, 07:04)Selur Wrote: Okay seems to be the same as https://forum.selur.net/showthread.php?tid=251
-> I got no clue why this happens to some people with some sources.

Cu Selur

How to fix that?


RE: SMDeGrain - Selur - 08.02.2018

From the looks of it this might be caused by a bug in zimg which is build into Vapoursynth that causes core 2 quad cpus to crash sometimes. Smile
see, end of: https://forum.doom9.org/showthread.php?p=1833196