amalthia: (Default)
posted by [personal profile] amalthia at 06:10am on 08/01/2008
well I spent an hour trying to figure this out but I get stumped at this step
converttoRGB32 xlogo("C:\Mixed\Supernatural\Season 3\cwlogo2.bmp",868,564,5)

this is the script I've been using so far...

LoadPlugin("C:\WINDOWS\xlogo.dll")
AVISource("J:\Supernatural\Supernatural - 02x03 - Bloodlust.avi")
Trim(0,56312)
converttoRGB32 xlogo("J:\Supernatural\cwlogo2.bmp",868,564,5)

and then I get an Unrecognized exception error. There are a few things different like source files. I've tried just about everything I could think of read the doom9 forums and avisynth forums apparently unrecognized exception is a popular error. :(

So right now i'm kind of baffled.

 
posted by [identity profile] astartexx.livejournal.com at 11:06am on 08/01/2008
Okay, I need to go in a few minutes, so I have to make this short.

Two thing come to mind that could cause your error. First safe your xlogo.dll in C:\Program Files\AviSynth 2.5\plugins\xlogo.dll or your path, but it needs to be in the AviSynth plugin folder instead of the Windows libary. I personally think this is the cause. Second get rid of the trim function, it is useful for mkv-files because they all tend to have grey stray frames at the end, which could screw with your editing, but this isn't usually a problem for avi's so you don't actually need Trim(0,56312). (Don't ask how long I fiddled with mkv-files till I made them work in Premiere. Too damn long.)

I hope this solves it. If you still get an error, just ask, I think this will be useful and I will try my hands on writing that watermark tutorial, so any problems you encouter with avis will save others or make me aware where they could lie. So tell me please either way, if it works or not, I get back to your other comments later tonight.
amalthia: (Default)
posted by [personal profile] amalthia at 06:01pm on 08/01/2008
Okay I'll try both those solutions out when I get home. :) I don't mind playing around with it to try and make it work becuase I really would like to use season 3 clilps. :) Now I just need to rip my season 2 dvds.

I'll also let you know if I get it working and what I did to make it work.

 
posted by [identity profile] astartexx.livejournal.com at 12:27am on 09/01/2008
Thank you for keeping me updated and being kind of the guinea pig.
amalthia: (Default)
posted by [personal profile] amalthia at 12:52am on 09/01/2008
I don't mind being a guinea pig it's just I never found anyone willing to share their scripts and explain at the same time what each one does in a progressive way that makes sense. the last 2 years I tried to puzzle out what you're supposed to do through various online tutorials all with conflicting scripts (I swear except for the bare basics each site has a different script to do the same thing I think) so I've been trying to puzzle this out for awhile because a lot of the really good vidders are using this tool and I basically want to see what all the fuss is about. :)

Basically that one program you shared is a life saver. (the one that's the script editor and viewer?) Now I just have to figure out how to get the stuff you've shared to work. I'm still at work and I want to be working on this script stuff but kind of have to wait until I'm at home. grrr

 
posted by [identity profile] astartexx.livejournal.com at 02:17am on 09/01/2008
I love AvsP without any limitations. It’s such a user friendly tool to work with avisynth.

And I don’t get the hush-hush about avisynth among live action vidders. It seems like once they figured things out for themselves there isn’t any need to talk about it or maybe I’m just in the silent corner of the internet so it seems that way. I mean basically you need to adjust a script for every single video or at least series you vid, because every footage has its own problems that need fixing. Or your song demands something more drastic or just your mood.

So talking about scripts and sharing them isn’t like giving up a secret. Of course there will be people copying it and never changing a single thing, but their vid will still look enhanced. The ones altering theirs will give you something to think about and an overall more exciting viewing pleasure. Win-win.
amalthia: (Default)
posted by [personal profile] amalthia at 04:40am on 09/01/2008
I don't get why they keep it a secret because while you may share what you've done, I've already started changing stuff like hue, brightness contrast and well trying to make the vid my own if that makes sense. I can't imagine using exactly the same code beyond the bare basics to get the enhancements to work. So basically no two vids are the same and I think every vidder that vids a lot has their own style.

Okay on to the test phase of my evening. :)
amalthia: (Default)
posted by [personal profile] amalthia at 05:13am on 09/01/2008
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\xlogo.dll")
AVISource("J:\Supernatural\Supernatural - 02x03 - Bloodlust.avi")
converttoRGB32 Xlogo("J:\Supernatural\cwlogo2.bmp",868,564,5)

I got that far and then it says unrecognized exception line 3...I copied and pasted the xlogo.dll to the avisynth plugin directory so I know it's there. Just not sure what's going on. :(

reading the help file now to see if it has any new info. I just don't get what I'm doing wrong, I'm typing in exactly what you have. (well more like copying and pasting)

I took away the converttoRGB32 and it gave me a error message saying "crop, you cannot use crop to enlarge or shift a clip."

Well it's almost time for me to get to bed. Will have to see what I can find online tomorrow.
 
posted by [identity profile] astartexx.livejournal.com at 11:15am on 09/01/2008
Again short on time. Do you use the 350MB avi files? Because I think you place the mask outside of the 624x352 of the image. I also think you get at the edge even if you are using a High Definition avi. There is also no need for the LoadPlugin.

Okay so try this one:

AVISource("C:\Users\a\Desktop\eigene MVs\mygirl-astarte.avi")
converttoRGB32 xlogo("C:\Mixed\Supernatural\Season 3\cwlogo2.bmp",68,64,5)

You should see a blurred spot on the left top corner, that is the mask that will blur the logo. Also did you change the jpg-pic I uploaded to a bmp? 24x depth? Otherwise you are asking for a bmp, when you only have a jpg and avisynth doesn't recognize it. I think xlogo only works with them, so you have to change that.
amalthia: (Default)
posted by [personal profile] amalthia at 05:32pm on 09/01/2008
I have been using the 350 mb avi files. (mostly because that's all I have for season 3, even though I'm testing on season 2 episodes)

I haven't changed the depth of the bmp. I just opened the jpg and saved it as a bmp. I didn't change anything else about it. I can check that tonight.

Will let you know how the test works out. Again thanks for your help. :)
amalthia: (Default)
posted by [personal profile] amalthia at 04:40am on 10/01/2008
It worked!

First, the jpg I had was not saved as a 24 bit bmp (I'd used the 256 one instead not knowing it made a difference) and then I adjusted where the logo fits and well it worked.

final code that worked for an AVI 350mb file was this.

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\xlogo.dll")
AVISource("J:\Supernatural\Supernatural - 02x03 - Bloodlust.avi")
converttoRGB32 Xlogo("J:\Supernatural\cwlogo2.bmp",365,233,3)

apparently loading or not loading the plugin didn't seem to make a difference. the bmp and the position apparently had more of an affect.

I also noticed that you can't use this logo remover on ever scene because you see the big blurry blob. (luckily spn is kind of a darkish show...) But it worked! :)

Again thanks for your help and I hope some of what I've asked and ran into helps with any updates of your tutorial.
 
posted by [identity profile] astartexx.livejournal.com at 09:59am on 10/01/2008
I just followed the instructions that came with the filter, so I never tried another format for the mask. So it must be a 24 bit bmp, anything else won’t work? Right? If you make your own bmp the blurred spot should be only eight pixels bigger than the original logo, there must be a 4 pixel black edge around the white. Sadly the CW logo is huge compared to other networks.

You already adjusted the alpha level of the mask with your change to 3. That would be the last thing that needed explaining once it worked. And I agree, you lose all the detail there, it’s most noticeable, when there is an extreme close-up on the right side or Sam’s flannel shirts suddenly grow a greyish spot instead of squares. But on a dark scene, it is pretty much perfect. I also feel that your eye isn’t automatically dragged in the corner, the blurred spot is so much easier to ignore in favour of the white, if you mix up the new eps with your DVD source.

I hopefully will get to write this tutorial in the next two or three weeks, you’ve been an immense help, Amothea. I know that most people work with avis and I’m certain that things like the position or the 24 bit bmp wouldn’t have occurred to me otherwise. Thank you so much!

Links

December

SunMonTueWedThuFriSat
        1 2
 
3
 
4
 
5 6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18 19
 
20 21
 
22
 
23
 
24
 
25 26
 
27
 
28
 
29
 
30
 
31