Posts: 329
Threads: 107
Joined: May 2017
The input decoder does not work?
Quote:your system isn't flooded with the decoded video data
You want to say that the reason for this error is not the Hybrid?
Posts: 10.981
Threads: 57
Joined: May 2017
I don't know what's causing the problem for sure.
My current guess would be that there is some problem with the vfw decoder that is used in the avisynth script.
Since the avisynth preview works the decoding itself should work, but the output might not be Yv12 like Hybrid assumed.
Posts: 329
Threads: 107
Joined: May 2017
Is this impossible to fix?
Posts: 10.981
Threads: 57
Joined: May 2017
I don't know what the problem is, so how should I know whether it's fixable.
I'm still trying to figure out where the problem is.
Since you didn't report whether or not the ffmpeg call produced any errors or warnings I got nothing to go on.
Might just that you installed a new version of the vfw decoders and that version is causing problems, might be that your system is messed up somehow, might be a bug in ffmpeg,...
Do you have a small sample of such a source which you can share with me and which would allow me to reproduce the issue?
Posts: 329
Threads: 107
Joined: May 2017
Posts: 10.981
Threads: 57
Joined: May 2017
25.09.2018, 18:31
(This post was last modified: 25.09.2018, 18:41 by Selur.)
Okay, libav can't decode it.
Installed UT Video Codec Suite 20.1.0 and
Quote:SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: C:\Users\Selur\Desktop\Hop-hop.avi
# input color sampling YV12
# input luminance scale tv
AviSource("C:\Users\Selur\Desktop\Hop-hop.avi")
# current resolution: 748x572
# filtering
# color modifications
Levels(20,1.00,255,0,255,dither=true)
# scaling
Spline36Resize(748,694)
# current resolution: 748x694
# adjusting bit depth current 8 to target 8
PreFetch(16)
return last
just crashes for me.
Switching back to Avisynth MT instead of Avisynth+ and using:
SetMemoryMax(768)
SetMTMode(5,16) # changing MT mode
# loading source: C:\Users\Selur\Desktop\Hop-hop.avi
# input color sampling YV12
# input luminance scale tv
AviSource("C:\Users\Selur\Desktop\Hop-hop.avi")
# current resolution: 748x572
# filtering
SetMTMode(2) # changing MT mode
# scaling
Spline36Resize(748,694)
# current resolution: 748x694
return last
also simply crashes for me.
-> Looking into it, but wondering why Avisynth Preview works for you.
--
Just tried an old debug version, with that version decoding works,..
-> this will take a while to figure out
Cu Selur
Posts: 10.981
Threads: 57
Joined: May 2017
Okay, seems like I suspected, the output of the decoder isn't YV12, but YV16.
-> will try to look into this more and figure out a workaround over the weekend
Cu Selur