22.01.2023, 18:23
Avisynth script:
and encoding call:
looks fine.
Hybrid stops, since the output file is 0 bytes.
Does the Avisynth Preview work?
My guess atm. is that this is related to Avisynth and SVP.
Reinstalling the graphic card drivers might help. (using Vapoursynth instead of Avisynth probably fixes the issue too)
As a side note: That script seems wrong.
If the source is interlaced (and not telecined like most commercial DVDs) using QTGMC with Bob turned on would be the better approach.
If the source is telecined then using QTGMC is the wrong choice and TIVTC or Decomb should be used for TIVTC, then SVP makes sense.
Cu Selur
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("D:\Other\Hybrid\32bit\AVISYN~1\DGDecode.dll")
LoadPlugin("D:\Other\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("D:\Other\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("D:\Other\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("D:\Other\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("D:\Other\Hybrid\32bit\AVISYN~1\svpflow1.dll")
LoadPlugin("D:\Other\Hybrid\32bit\AVISYN~1\svpflow2.dll")
Import("D:\Other\Hybrid\32bit\avisynthPlugins\mtmodes.avsi")
Import("D:\Other\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("D:\Other\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
# loading source: D:\Video\test.m2v
# color sampling YV12@8, matrix: bt709, scantyp: top field first, luminance scale: limited
MPEG2Source(d2v="D:\Other\Temp\2023-01-22@20_37_19_1510.d2v",fieldop=0)
# current resolution: 720x480
# deinterlacing
AssumeTFF()
QTGMC(Preset="Fast", ediThreads=2)
SelectEven()
input = last
super=SVSuper(input, "{scale:{up:2},gpu:1,rc:0}")
vectors=SVAnalyse(super, "{main:{search:{coarse:{distance:0},type:4}},refine:[{thsad:200}]}")
SVSmoothFps(input, super, vectors, "{rate:{num:2,den:1},algo:13,mask:{area:0},scene:{mode:3}}", mt=24)
# filtering
# setting output fps to 59.940fps
AssumeFPS(60000,1001)
PreFetch(6)
# output: color sampling YV12@8, matrix: bt709, scantyp: progressive, luminance scale: limited
return last
"D:\Other\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "D:\Other\Temp\encodingTempSynthSkript_2023-01-22@20_37_19_1510_0.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f rawvideo -
| "D:\Other\Hybrid\64bit\x264.exe" --preset veryfast --bitrate 3500 --profile high --level 5.1 --ref 3 --direct auto --b-adapt 0 --sync-lookahead 18 --ratetol 2.00 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --aq-mode 0 --vbv-maxrate 3500 --vbv-bufsize 300000 --sar 32:27 --non-deterministic --range tv --colormatrix bt709 --demuxer raw --input-res 720x480 --input-csp i420 --input-range tv --input-depth 8 --fps 60000/1001 --output-depth 8 --output "D:\Other\Temp\2023-01-22@20_37_19_1510_04.264" -
Hybrid stops, since the output file is 0 bytes.
Does the Avisynth Preview work?
My guess atm. is that this is related to Avisynth and SVP.
Reinstalling the graphic card drivers might help. (using Vapoursynth instead of Avisynth probably fixes the issue too)
As a side note: That script seems wrong.
If the source is interlaced (and not telecined like most commercial DVDs) using QTGMC with Bob turned on would be the better approach.
If the source is telecined then using QTGMC is the wrong choice and TIVTC or Decomb should be used for TIVTC, then SVP makes sense.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.