Hi all
I am unregularly suffering from a few out-of-order frames when using Avisynth++ and multitreading.
I am using the latest Avisynth++ and importing the latest mtmodes.avsi. My current script that sometimes brings issues (not always and when doing multiple encodes at different places) looks like:
What could be the issue here? Should MT just not be used at all to be totally sure to have no wrong frames?Code:FFmpegSource2("00002.m2ts", atrack=1) AssumeTFF() QTGMC(Preset="Slower").SelectEven() Crop(8,0,-8,-0) Spline36Resize(768,576) Crop(8, 2, -2, -2) aWarpSharp2(depth=5, thresh=120) Sharpen(0.25) xaa() PreFetch(20)
Thanks for your help.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 21 of 21
Thread
-
-
What could be the issue here?users currently on my ignore list: deadrats, Stears555
-
Have you tried LWLibavSource while enabling hardware decoding support? (especially with vc-1 sources this might help)
users currently on my ignore list: deadrats, Stears555 -
Also try FFVideoSource (threads=1) , and LWLibavVideoSource (threads=1)
-
I'm running in it in a VM on a dell server so I guess there is no hardware support as I don't have a GPU in the server (yet). But I have 20 cores in there so I do use heavy multithreading with at least Prefetch(20). Might it be that some plugins do not work correctly although I am using the mtmodes.avsi?
-
Might it be that some plugins do not work correctly although I am using the mtmodes.avsi?
But I would try the suggestion from poisondeathray.
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
-
Is this supposed to help with frame ordering issues?
Regarding FFmpegSource, did you read it's limitations?
http://avisynth.nl/index.php/FFmpegSource
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
-
Sure, might be caused by any filter which calls the frames out of order.
So your choices are: either make sure that the decoder can handle out of order frame calls for your source or try to work around it i.e. by using PreRoll (http://avisynth.nl/index.php/Preroll) or RequestLinear.
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
Aha, so the problem is that the source filter veeery seldom sends out of order frames especially when accessing them randomly, which obviously is heavily used in the "Temporal"Degrain2 filter. So the changes are just high that it will happen somewhere inbetween. I wil now try with threads=1 and LibavSource2 and if that does not work, I will probably try D2VSource and DGIndex next.
-
It is a vob file from a dvd (Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc).
Should I anyway switch to DGIndex in that case?users currently on my ignore list: deadrats, Stears555 -
-
Ok, I embedded DGIndex and call it like via cli with
Code:-i "{inputFile}" -om 0 -exit -hide -o "{outputPath}"
Code:D2VSource
Similar Threads
-
Frame order errors in StaxRip x265 encode
By BirdmanF1 in forum Video ConversionReplies: 7Last Post: 1st Apr 2021, 15:18 -
Help on figuring out field order issue on this clip (avisynth, UTvideo)
By nicholasserra in forum Video ConversionReplies: 0Last Post: 11th Dec 2020, 22:11 -
Partial frame stab() as basis for whole frame? (Avisynth)
By lordsmurf in forum RestorationReplies: 28Last Post: 11th Sep 2020, 10:36 -
Frame-by-frame combing detection in AviSynth
By ZetaStax in forum Video ConversionReplies: 3Last Post: 2nd Sep 2019, 15:43 -
Show Frame type (I, P, B) in Avisynth
By zerowalk in forum EditingReplies: 6Last Post: 7th Aug 2019, 02:00