Avatar

That "Avisynth" Guy

@brandinator / brandinator.sexy

Technically on major hiatus, queue only. Won't be able to respond asks for a while. Potential new GIF related things being worked on. Pls stay tuned for a joyous future...or don't, idk. Once upon a time, twenty-some-odd years ago, a child was born in an event that many on the scene described as “a glorious event where the earth received an amazing gift in the form of a newborn baby”. A few hours later, somewhere else, I was born. Most people just described that as "a regular-ass birth". Sup. My name is Brandinator, and this is my kpop girl group Tumblr.
Avatar
Anonymous asked:

Hi so I have no idea if you're even still active on here but I figured it'd be worth a shot, I randomly got this error on my avisynth after saving [Avisynth open failure: SeperateFields: YV12 height must be multiple of 4] would you happen to know the fix by any chance? Thank u so so so much for all the help/tutorials you've posted on this blog btw they're an actual lifesaver

oh HELLO, barely managed to see the email notification for this lmao...not active on here but I do still see messages, even if it's a couple days late!

For starters, which files are you using? Honestly been so long that I don't even remember all the differences, but the latest updates I made are here, so if you're not using those files and are able to make the update, I would recommend going for that--since I'm sure past me was smarter than present me and made updates for some specific reasons...

Second, I feel like I MUST have coded in a failsafe for this kind of error but maybe not? Basically, as it says there, it's crying cuz the height value of the input video you are trying to use the filter on is not a multiple of 4. I'm pretty sure I have it coded so that whenever you resize, the output window will round to the nearest multiple of 4 for the height value, so technically it should always be a multiple of 4 UNLESS you're not resizing at all.

Check out this post here for a slightly more thorough explanation to a similar problem and lmk if any of that gives some insight towards a solution. If not you can send over a screenshot of the code in avspmod and the error that displays and we can go from there~

Avatar
Anonymous asked:

hi legend, I recently downloaded the avisynth update and I'm having trouble with the output. It seems like no matter what I do the output video only saves a few frames from the beginning of the video instead of the entire intended clip. I've tried reinstalling and using different save methods (using trim, not using trim) and still getting the same results :( not sure what's up but if you have any ideas i appreciate it 🙏

Hi!

Damn ok, not sure where to start with this one lmao...let's narrow it down with some of the usual bangers:

  1. Are you getting this or a similar error with different videos? Different video formats? Is this just happening with everything?
  2. When you say it's only saving a few frames from the beginning, is this the beginning of the entire video, or just the beginning of the timeframe you specified?
  3. Does the preview in AvsPmod show any errors ? Does it show the clip you've selected, or does it show something else? Check the preview before and after pasting in code from the resizer and see if there's any difference
  4. Anything unusual going on at all in the command window? I guess you can probably show me the command window output as well as the AvsPmod screen just so I can get a clearer picture of what's happening (filetype, timeframe, clip length, location, etc).

We'll try that and go from there..good luck 😭

Avatar
Anonymous asked:

hii, my avisynth is not working on windows 11, is there a way around it?

Oh. Hi. Sorry, I keep forgetting Tumblr is a thing, lmao...

What exactly is going wrong, and at which part of the process?

Avatar
Anonymous asked:

update on your most recent ask - you were right!! it was looking for plugins from 2.5 despite me having uninstalled it - ended up deleting everything and redownloading to get it to work. thank you!

oof nice I still got it lmao, you're welcome!

Avatar
Anonymous asked:

hello ^^ do you know what needs to be done to resolve this error? script error: there is no function named "LWLibavVideoSource" (C:\AviSynth\batinator-2.1.2\temp\avs.avs, line 4) thank you in advance!!

Hellooooo

Errors like this usually mean there was an issue locating the plugin, for some reason...Did you make sure to complete step 4 here?

4. The packaged zip includes a plugins folder. Move the contents of the included plugins folder into your AviSynth plugins directory. Refer to step 2, this will most likely be C:/Program Files (x86)/AviSynth/plugins/. Nothing you guys haven’t done a dozen times by now.

There are newer plugins included in the zip file that need to be present in order for it to work. If you're (mostly) sure you did this, you can take these steps:

  • Open 'C:\AviSynth\batinator-2.1.2\files\plugindir.txt' to see where it thinks the plugin directory is. Make sure this is not "C:\Program Files x86\AviSynth 2.5" if you're trying to use 2.6. Only one of these should really be installed, to avoid any issues
  • If this looks fine, go to that folder specified in the plugindir.txt and make sure all plugins are there--specifically LSMASHSource.dll

If everything there looks good and you can't figure it out, you can show me a screenshot of the first few lines in the command window when you're making a gif + a screenshot of your plugins folder and I can try to see if I spot anything~

Avatar
Anonymous asked:

I tried following the new avinsynth update you did, and I am still getting error with resamplehq internal error, am I doing anything wrong?

Hmm, this might not be the issue, but did you try the video without adjusting the video size in the resizer at all? Resamplehq tends to throw an error whenever either the width or height are not even numbers. I coded it so the resizer rounds to the nearest even number pair (while respecting the aspect ratio), but when the video first loads, the resizer doesn't bother doing the math to round it until after you attempt a resize. Oops.

I'll fix this, but in the meantime, can you try resizing the video a bit first before copying the script, so that it updates the width/height values in the resamplehq call to both be even numbers? If that works then at least I know what the problem is and can go from there.

ie:

resamplehq(629,354) - bad, 629 is not even, will throw an error

resamplehq(632,356) - good, both values are even

Avatar

Some Kind of AviSynth Files Update?

Ok, as promised, I present to the 5 of you still making gifs on Tumblr an updated and (sort of) improved process for (somewhat) easily leveraging AviSynth to make (mostly, but not “only”) Tumblr gifs.

I’ll consider this the “final form” for this awful slapped together bat file setup and focus my attention on something much more convenient and interesting for you guys to use--but I will update this as necessary as functional problems arise. I haven’t really had a chance to do a ton of testing, so I hope you guys can help me with that and let me know what kind of experiences you’re having trying this stuff out, good or bad. If you’re running into issues please let me know about them! It would go a long way towards making something better in the future.

Additionally, if anybody has some grievances/wishes/problems/concerns with their current process--whether that’s this set of batch files or your process with the old files/vapoursynth/etc., whatever--please do let me know. I have some pretty cool ideas, but I’d be interested to know what you guys hate about the tools available to you atm, or what you would like to see improved.

** I repeat, I have not done a ton of testing. Problems may be likely. Keep backups of your plugins folder and current C:/video setup for your own sake **

Anyway, on to the stuff, here’s what needs to be done:

  1. Uninstall AviSynth 2.5. Tell them “I love you” and thank them for everything. We need to move on...it’s not them, it’s us...
  2. JK, it’s them. We’re replacing 2.5 with AviSynth 2.6. Download and install. Don’t worry about where your install ends up, though it is most likely C:/Program Files (x86)/AviSynth/
  3. Download this new batch (heh) of files: batinator-2.1.2.zip
  4. The packaged zip includes a plugins folder. Move the contents of the included plugins folder into your AviSynth plugins directory. Refer to step 2, this will most likely be C:/Program Files (x86)/AviSynth/plugins/. Nothing you guys haven’t done a dozen times by now.

From here it should be business as usual. Within the batinator folder is an auto.bat. Drag your videos into this and the process will start. If you’ve ever used “avisynth” for this before it should be very familiar.

For reference, here are some things the new setup does better

  • Automatically find the avisynth plugins folder, no matter where it is. 32-bit, 64-bit, wrong folder name, doesn't matter. If avisynth is installed, it'll find the corresponding plugins folder.
  • Work from anywhere, not just c:/video. Put it in your desktop if you want. Put it in your music folder, I don't care.
  • Take a range OR cut 10 seconds automatically. 17s was too long tbh, you really need 17 seconds for one scene? STOP.
  • Better time seeking. Have you ever put in a timestamp and had this thing spit out the wrong scene by like a second? Awful. No more of that. Using the power of Math™, no frames are left behind.
  • Attempts to automatically decide the best process to load the video based on the format. There should be no more need for a lossless.bat to try a different method manually
  • Be less sloppy in general. What the hell is even happening in that black window? Nobody knows.
  • Save every output video to the output folder without overwriting, in case people want to make multiple cuts before working in photoshop. Because realizing you have to go back and re-do that gif that got overwritten is the saddest thing ever...
  • Resizer slightly less ugly (still working on that but I'm lazy)
  • Less shitty resamplehq errors, calculates better sizes in the resizer so that avspmod stops bitching for once in its stupid life
  • New remake.bat uses the same video and clip and skips to the steps of resizer + avspmod so you can try again, for when you were too lazy to preview it and SWORE those sharpen settings would look good, and they totally don't.
  • [NEWER] Leverage AviSynth 2.6 and L-SMASH for previously unsupported/badly supported video formats.

Some known issues/things planned

  • There are some problems with characters in certain languages that I have yet to fully look into. If you’re running into strange problems, checking if you have any non gringo friendly characters in any of the file paths would be a good first start
  • Files that load with LWLibavVideoSource may not load 100% perfectly. I’ve had issues with the first 20 or so frames being either janky or frozen, sometimes in the preview, sometimes only in the final output. I THINK I fixed this, but if you do run into it, please let me know. As a temporary solution, I would suggest overcompensating on the start time of your cut and making it start a few seconds earlier, just to ensure the first few frames you need are actually clean.
  • As usual, AviSynth is a Windows tool. I have cross-platform plans for the macfriends, but this will likely leverage VapourSynth, not AviSynth, and will be a re-write that is essentially the focus of what I intend to move on to now that this is (mostly) out of the way.

TL;DR

  1. Uninstall AviSynth 2.5
  2. Install AviSynth 2.6
  3. Download new files (includes plugins folder): batinator-2.1.2.zip
  4. Move plugins to AviSynth 2.6 plugins directory (located wherever AviSynth was installed)
  5. Drag files into auto.bat and it’s business as usual

Please let me know how it works for you and any errors/issues/you encounter, even if they are known issues. More detail and insight are always welcome

Avatar
Anonymous asked:

thank you so much for replying! if you have access to kpop24hrs i'm having trouble with every hevc codec-d file they upload lately, an example would be the 220320 stage files, they barely play on my pc anyway but i also get a blank screen on the resizer page and an error on the preview window in avisynth making the files unusable. it's okay if you can't find a fix btw, i'm thankful you're looking into it to begin with, thank you!

Of course! Ok, I'm pretty sure I've addressed the problem (for the most part), so I'll have that posted up for y'all by the end of the week.

I wrote up some new versions of these bat files and the resizer etc. years ago and never really "released" them publicly, so I'll throw an updated HEVC-friendly version of those files up as soon as I tie up some loose ends and package it

Avatar
Anonymous asked:

hello avisynth guy! i know you aren't around much anymore but i don't know who else to turn to, a lot of file uploaders are using hevc codec now and i can't get them to work with avisynth, do you have a fix for it? would appreciate it if you could magically return to help me out, thank you so much!

Didn't expect I would be responding these in 2022, but...hell, why not? Full disclosure, I haven't touched any of this in...a pretty long time, lmao...so...I guarantee nothing, and I promise even less...but we'll see...

Would you (or anyone) be able send links to an example of a file that's giving you trouble? Just let me know what error(s) you're getting or what happens, and what you think the issue might be (if you have any idea at all, I guess). I would need to start from the bottom here and test some stuff out, since I'm really not sure what the situation is like atm...

"[Brandinator] is dead. But I'll see what I can do."

Avatar
Anonymous asked:

please come back 🥺🥺

You know what......I'll think about it...

You are using an unsupported browser and things might not work as intended. Please make sure you're using the latest version of Chrome, Firefox, Safari, or Edge.