hi, when I use LWLibAvVideoSource instead of FFVideoSource,
if the script contains a bbmod(0,0,0,0,128,8) command,
I receive the following errors:
Code:clip must be frame-based C:/Program files.. avisynth...bla bla... bborders.avsi, line 489 C:/Program files.. avisynth...bla bla... bborders.avsi, line 366 C:/Program files.. avisynth...bla bla... bborders.avsi, line 368 C:/Program files.. avisynth...bla bla... bborders.avsi, line 422 C:/Program files.. avisynth...bla bla... bborders.avsi, line 429 etc..etc..
how to avoid that error and use both LWLibAvVideoSource and bbmod?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 17 of 17
Thread
-
Last edited by maudit; 29th Oct 2022 at 05:48.
-
Wild guess, try:
Code:LWLibAvVideoSource().AssumeFrameBased
-
LWlibavVideoSource may be giving a different color format than ffVideoSource. You can use Info() to verify this. You may have to reduce bit depth and/or convert to a planar format.
Code:ConvertBits(8) ConvertToYV12()
Last edited by jagabo; 29th Oct 2022 at 10:33.
-
I can't find bbmod() so I can't test it.
Are you sure LWlibavVideoSource() is opening the video properly? Ie, if you leave out the bbmod() call do you get a video? -
Should it do anything with all "0,0,0,0" there?
I guess it's function from this script: https://github.com/Asd-g/AviSynthPlus-Scripts/blob/master/bborders.avsi -
Thanks VoodooFX. I downloaded bborders and have been able to duplicate the problem.
The problem has something about the z_* resize functions . If you remove all the z_ from bborders.avsi, leaving just the regular resize functions (for example z_PointResize() becomes PointResize()), bbmod works with both source filters. -
ok, thanks for having clarified that.
if i've understood well, I have to remove all those 20 "z_" from the plugin..
is this safe to do? will bbmod works as usual?
is this workaround the only way to solve?
what command do you use in order to fix borders?
isn't there another plugin/command that do the same thing bbmod does, so i can use it without edit any plugin? -
Maybe something with frame props, check if propClearAll() after the source fixes it.
EDIT:
Yeap, I looked at z_ resizers and it supports frame props, and it has interlaced=false by default.
So propClearAll(), or propDelete("_FieldBased") or propSet("_FieldBased", 0) should fix it.
Probably FFMS is outdated, or it doesn't support or doesn't sets frame props by default, that's why no error with it.
Could be that clip is with fake interlace and it's handled differently in FFMS, only God knows when people don't share samples...Last edited by VoodooFX; 30th Oct 2022 at 02:36.
-
Last edited by VoodooFX; 30th Oct 2022 at 02:05.
-
-
ah! excuse me, I have another little problem.
in the stackvertical script I use:
Code:DVD=Import("C:\dvd.mkv.avs").FFInfo(cfrtime=false,vfrtime=false,colorspace=false,colorrange=false,cropping=false,sar=false, version=false, frametype=false) BD=Import("C:\bd.mkv.avs").FFInfo(cfrtime=false,vfrtime=false,colorspace=false,colorrange=false,cropping=false,sar=false, version=false, frametype=false) StackVertical(DVD,BD)
with LWLibAvVideoSource I receive this error:
I don't know what 'FFVAR_PREFIX' means.
(..PATH/FFMS2_.avsi, line 73)
how to solve that? -
-
I believe the information that ffinfo reports is private to the ffmpeg source filter. LSMASH won't have that private data.
By the way, you can use ScriptClip to get frame number and count:
Code:ScriptClip("""subtitle("Frame Number: " + string(current_frame) + " of " +string(framecount))""")
Last edited by jagabo; 31st Oct 2022 at 13:14.
Similar Threads
-
FFVideoSource vs LWLibavVideoSource
By midts in forum Video ConversionReplies: 37Last Post: 6th Oct 2022, 05:14 -
Using LWLibavVideoSource and forcing output format - what does it do?
By TheArkyTekt in forum Video ConversionReplies: 3Last Post: 1st Dec 2019, 11:49 -
Avisynth + LWLibavVideoSource
By kalemvar1 in forum Video ConversionReplies: 12Last Post: 6th Sep 2019, 20:27 -
LWLibavVideoSource, speeding up load times ?
By vhelp in forum Video ConversionReplies: 15Last Post: 26th Feb 2019, 16:06