05.12.2019, 12:59
Selur Wrote:Seeing that you use Avisynth and that the decoder during the encoding call fails, check whether the 'Avisynth Preview' properly shows your video.
The Avisynth script looks like this:
In case the preview fails with LWLibavVideoSource opening the video, try:LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\svpflow1.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\svpflow2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\warpsharp.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\InterFrame2.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\LimitedSharpenFaster.avs")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: E:\迅雷下载\使徒行者.mkv
# input color sampling YV12
# input luminance scale tv
LWLibavVideoSource("E:\迅雷下载\使徒行者.mkv",cache=false,format="YUV420P16", prefer_hw=3,repeat=true)
# current resolution: 1920x816
# Dithering from 16 to 8bit for Interframe
ConvertBits(8)
InterFrame(NewNum=60,NewDen=1,OverrideAlgo=23,Cores=8)
# filtering
# sharpening
LimitedSharpenFaster(Smode=3,edgemode=0)
# scaling
Spline36Resize(1920,900)
# current resolution: 1920x900
# adjusting bit depth current 8 to target 10
# convert to 10bit for encoder
ConvertBits(10)
PreFetch(2)
return last
a. disabling 'Filtering->Avisynth->Misc->Sourcefilter Settings->prefer hw decoding'.
b. whether it helps to rename the video and folder to ascii characters.
Cu Selur
Hi, I just follow your advised to disable the prefer hw decoding, plus enble the prefer FFmpegsource to start the video encoding, no issue. Although take very long time to process, the video 60fps quality is superb, love the outcome, thanks.