This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

vhs-bordercontrol, telecide() and (ml)degrain in vapoursynth
#17
Quote:-avisource in hybrid (vapour or avisynth mode) doesn't seem to work, even with ticked checkbox (filtering->vapoursynth>misc. prefer avisource), it still defaults to other loading methods (ffmpeg and libav)
but this can be ameliorated if one converts mjpeg.avi to ffv1.avi prior to processing....
(vapour lost ability to do avisource with abandoning of 32bit version, it seems, so now one has to......oughm....port avisource from avisynth+(64bit)? dunno....seems like a rabbit hole)
AviSource in Vapoursynth an 64bit Avisynth will only work if a 64bit vfw driver is present that is associated with the fourcc code of your source.
After the startup the Log-tab shows the found filters, ie.:
Detected vfwDecoders with 32bit:   VIDC.LAGS   VIDC.WMV3   vidc.cvid   vidc.i420   vidc.iyuv   vidc.mrle   vidc.msvc   vidc.uyvy   vidc.yuy2   vidc.yvu9   vidc.yvyu
Detected vfw64BitDecoders:   VIDC.LAGS   vidc.dvsd   vidc.i420   vidc.iyuv   vidc.mrle   vidc.msvc   vidc.uyvy   vidc.yuy2   vidc.yvu9   vidc.yvyu
Also, 32bit Avisynth+ is still supported, support for it was just moved to an add-on.
=> It works fine here. Looks like you are missing a 64bit vfw decoder for your source. Thus Hybrid won't use AviSource even if you told it to prefer it. Smile

Quote:-would it be possible to add something like this
clip=core.std.Crop(clip=clip, left=0, right=0,top=0, bottom=12)
clip =core.std.AddBorders(clip=clip, left=0,right=0,top=0,bottom=12, color = [0, 128, 128])

to hybrid's "frame" options (vapoursynth filters), as all other filters on that tab don't seem to be able to just cover vhs headswitching noise on the bottom of the frame with black borders.....offcourse adding black borders on all four sides would be a plus....
(if it's not too much of a hassle to add it)
clip = core.std.Crop(clip=clip, left=0, right=0, top=0, bottom=12)# cropping to 640x340
# letterboxing 640x340 to 640x352
clip = core.std.AddBorders(clip=clip, left=0, right=0, top=0, bottom=12)
already is possible.
[Image: grafik.png]
since [0, 128, 128] is black it should be the same as the default.

I will think about adding a the 'color'-option for letterboxing somewhere.
I'm not really keen to add this, since I expect that most users won't need it.

Also, I'm not sure where I would add this option.
Would I add it to the general Crop/Resize-Tab, I would need to adjust the Avisynth/Vapoursynth/FFmpeg/Mencoder-code.
If I just add it to the Vapoursynth filtering, users will not use it, since even the users who would use it won't since they don't know it's there.
=> I probably won't add this.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
>>> Offline from 30th of June till 6th of July. <<<
(will be at the RochHarz festival)
Reply


Messages In This Thread
RE: vhs-bordercontrol, telecide() and (ml)degrain in vapoursynth - by Selur - 28.06.2025, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)