FFVideoSource dürfte es decodieren können.
[IMG: https://prnt.sc/sc9luc]
mit dem AVSScript hier
Code
Function AVIload (String file, int loading, int cl, int co, int cr, int cu, string pixtype, string afps, int fpsn, int fpsd) {
pixtype2 = (pixtype == "YUY2") ? "YUY2" : (pixtype == "RGB24") ? "RGB24" : (pixtype == "Y8") ? "Y8" : (pixtype == "YV12") ? "YUV420P8" : (pixtype == "YV24") ? "YUV444P8" : pixtype
clip0 = (loading == 3) ? (pixtype == "Auto") ? LWLibavVideoSource(file) : LWLibavVideoSource(file, format = pixtype2) : (loading == 2) ? Import(file).KillAudio() : (loading == 1) ? (pixtype == "Auto") ? FFVideoSource(file, threads=1) : FFVideoSource(file, threads=1, colorspace=pixtype) : (pixtype == "Auto") ? AVISource(file, false).KillAudio() : AVISource(file, false, pixel_type=pixtype).KillAudio()
clip1 = clip1.ConvertToRGB32().PointResize(clip1.width * 5, clip1.height * 5).PointResize(clip1.width * 2, clip1.height * 2).SameColorAs(clip0)
Return (clip1.width == breite && clip1.height == hoehe) ? clip1.ConvertToYV12(matrix = "Rec709", ChromaResample = "Spline36") : Clip1.Resize()
rate = (afps == "Auto") ? (rate1 == rate2) ? 1 : 1001 : (afps == "Igno.") ? clip0.frameratedenominator : fpsd
clip0 = (afps == "Auto") ? (rate == 1001) ? clip0.AssumeFPS(Round(clip0.Framerate) * 1000, rate) : clip0.AssumeFPS(round(clip0.framerate), rate) : (afps == "Igno.") ? clip0.AssumeFPS(clip0.frameratenumerator, rate) : clip0.AssumeFPS(fpsn, rate)
wert1 = (clip0.IsRGB32() == true) ? 0 : (clip0.IsRGB24() == true) ? 1 : (clip0.IsYV24() == true) ? 2 : (clip0.IsYUY2() == true) ? 3 : (clip0.IsYV16() == true) ? 4 : (clip0.IsYV12 == true) ? 5 : (clip0.IsYV411() == true) ? 6 : 7
wert2 = (clip1.IsRGB32() == true) ? 0 : (clip1.IsRGB24() == true) ? 1 : (clip1.IsYV24() == true) ? 2 : (clip1.IsYUY2() == true) ? 3 : (clip1.IsYV16() == true) ? 4 : (clip1.IsYV12 == true) ? 5 : (clip1.IsYV411() == true) ? 6 : 7
return (wert1 == wert2) ? clip0 : (wert2 == 0) ? clip0.ConvertToRGB32() : (wert2 == 1) ? clip0.ConvertToRGB24() : (wert2 == 2) ? clip0.ConvertToYV24() : (wert2 == 3) ? clip0.ConvertToYUY2() : (wert2 == 4) ? clip0.ConvertToYV16() : (wert2 == 5) ? clip0.ConvertToYV12() : (wert2 == 6) ? clip0.ConvertToYV411() : clip0.ConvertToY8()
clip1 = (AR == 1) ? ((float(Clip1.height * breite) / clip1.width) / 2 == round((float(Clip1.height * breite) / clip1.width) / 2)) ? ((float(Clip1.width * hoehe) / clip1.height) / 2 == round((float(Clip1.width * hoehe) / clip1.height) / 2)) ? clip1 : clip1.ConvertToRGB24() : clip1.ConvertToRGB24() : clip1
clip1 = (AR == 1) ? (((clip1.width * hoehe) / clip1.height > breite) ? Clip1.Spline36Resize(breite, ceil(float(Clip1.height * breite) / clip1.width)) : Clip1.Spline36Resize(ceil(float(clip1.width * hoehe) / clip1.height), hoehe)) : clip1.Spline36Resize(breite, hoehe).ConvertToYV12(matrix = "Rec709", ChromaResample = "Spline36")
back = (AR == 1) ? (0 == 1) ? ImageReader("", 0, clip1.framecount - 1, clip1.framerate).ChangeFPS(Clip1.frameratenumerator, Clip1.frameratedenominator).Spline36Resize(breite, hoehe).ConvertToYV12(matrix = "Rec709", ChromaResample = "Spline36") : BlankClip(clip1, width = breite, height = hoehe, pixel_type = "YV12").KillAudio() : clip1
encodiert wird hier gar nichts :C