Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th January 2003, 16:43   #21  |  Link
ldivx
Registered User
 
Join Date: Aug 2002
Posts: 14
CropsyX

can you compile your filter for avysynth 2.5 ?
for use with YUY or yv12 ?
thank for your work.
i wait for your next release.
ldivx is offline   Reply With Quote
Old 29th January 2003, 16:49   #22  |  Link
bilu
Registered User
 
bilu's Avatar
 
Join Date: Oct 2002
Location: Portugal
Posts: 1,182
I haven't tried SansGrip RemoveBorders filter yet, but he promises YV12 on next release

For now I'm depending on your filter to make my AVS 2.5 transition

Bilu
bilu is offline   Reply With Quote
Old 30th January 2003, 09:38   #23  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
Laziness prevented me from actually releasing anything prior to AviSynth 2.5 going beta so I've decided to jump directly to AviSynth 2.5 and discontinue support for AviSynth 2.0x versions.

I'm finishing up work on the AviSynth 2.5 version of AutoCrop tonight. This version will NOT have YV12 support. For the time being you'll have to use ConvertToYUY2 first, if you're using preview mode this won't make any noticable difference.

On the brighter side I've finally added support for maintaining and specifying aspect ratios. I've also added the requested logging of cropping values to a file.

There will be a release late this evening Australian time.
CropsyX is offline   Reply With Quote
Old 30th January 2003, 10:28   #24  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
Thanks! I have made an extension to your previous release that makes it very easy to use it for preview mode in DVD2SVCD, optimized cropping and resizing is then done by integrating the FitCD program. It's now no longer a plugin that can be used in a real-life AVS script, only for DVD2SVCD preview. http://forum.doom9.org/showthread.php?s=&threadid=44445
RB is offline   Reply With Quote
Old 30th January 2003, 10:46   #25  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
RB

Thanks for posting about AutoFit CD here, I don't follow the DVD2SVCD forum so I was unaware that it existed until now. It's great to see someone else getting some use from the source.

All
Does anyone particularly need the planned new Aspect Ratio features ported back to AviSynth 2.07? I don't plan to maintain two versions in the long run but one more release would be easy enough if there is demand.
CropsyX is offline   Reply With Quote
Old 30th January 2003, 13:19   #26  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
I've finished up the first AviSynth 2.5 version of AutoCrop. A change log is posted below. You can download the new version from

http://www.videofringe.com/autocrop/AutoCrop04.zip

Changes

This version of AutoCrop is compiled for AviSynth 2.5 it will not work with any of the 2.0 releases. If you need to use AviSynth 2.0 please download version from http://www.videofringe.com/autocrop

This filter does not yet support YV12, in the interim you will need to use ConvertToYUY2() before calling AutoCrop. I would strongly recommend using AutoCrop in preview mode to get the cropping settings then removing the call to AutoCrop if you are using YV12 sources.

The preview argument (which was a boolean) has been removed and replaced with the new mode arguement (which is an int) this was to allow for the implimentation of the logging mode and the future blanking mode.

Aspect Ratio support. Support for maintaining and setting aspect ratios is included.

Logging mode. Image is left untouched, cropping information is written to the file "AutoCrop.log" in the current directory.
CropsyX is offline   Reply With Quote
Old 1st February 2003, 22:33   #27  |  Link
wotef
Registered User
 
wotef's Avatar
 
Join Date: Apr 2002
Posts: 272
hurrah! thanks for this filter, it extends the life of my mouse and keyboard

...did you ever think perhaps this functionality could make it into core?

Last edited by wotef; 1st February 2003 at 22:35.
wotef is offline   Reply With Quote
Old 2nd February 2003, 01:52   #28  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
Wotef

I'm glad you're finding the filter useful.

As for making it into the core I don't think it's likely as it's not really essential to using AviSynth. Besides I can't imagine the AviSynth guys wanting some newbies code making a mess of the core
CropsyX is offline   Reply With Quote
Old 26th February 2003, 07:26   #29  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
I've finished AutoCrop version 0.5. This version (finally) adds YV12 support. There aren't any other major changes as I'm keen to get make sure YV12 support is OK before starting on new features.

You can get the new version at

http://www.videofringe.com/autocrop/AutoCrop05.zip

Feedback on how well the YV12 cropping works is welcome.

I really only have blanking mode on my list of new features for 0.6 so if anyone has enhancement requests now would be a good time to share them.

I should note that this version and any subsequent versions won't be ported back to AviSynth 2.0x
CropsyX is offline   Reply With Quote
Old 26th February 2003, 10:32   #30  |  Link
bilu
Registered User
 
bilu's Avatar
 
Join Date: Oct 2002
Location: Portugal
Posts: 1,182
Hurray ))))

Now, for those of you who want AutoResize based on bpp, here's a function:

=========================
function ResizeARC(clip c,int bitrate,float compressibility,string resizefn) {
ratio=string(eval(string(c.width)+". /"+string(c.height)+"."))
res=string(floor(eval("("+string(bitrate)+"*1000)/("+string(compressibility)+"*"+string(c.framerate)+")")))
nhtemp=floor(sqrt(eval(res+"/"+ratio)))
nwtemp=floor(eval(string(nhtemp)+"*"+ratio))
nh=nhtemp - nhtemp%32
nw=nwtemp - nwtemp%32
return eval(resizefn+"(c,"+string(nw)+","+string(nh)+")")
}
==========================

Usage: ResizeARC(860,0.2,"FastBilinearResize")

It respects AR as possible mantaining MOD32 resolutions,uses bitrate, bpp and the resize function specified as parameters (to newbies, see doom9 divx5 gknot encoding guide for explanation on bpp)

My current script in this thread .


Bilu
bilu is offline   Reply With Quote
Old 26th February 2003, 18:45   #31  |  Link
seewen
Registered User
 
Join Date: Jun 2002
Posts: 250
For 0.6, you could maybe add an option, so that AutoCrop shows the values :

Crop(left, top, width, height )
or
Crop(+left, +top, -right, -bottom)
seewen is offline   Reply With Quote
Old 26th February 2003, 19:06   #32  |  Link
bilu
Registered User
 
bilu's Avatar
 
Join Date: Oct 2002
Location: Portugal
Posts: 1,182
@seewen

I think it already has, I've been using Avisynth 2.5 with crop values taken from the preview mode from version 0.4

Best regards,
Bilu
bilu is offline   Reply With Quote
Old 27th February 2003, 01:47   #33  |  Link
bilu
Registered User
 
bilu's Avatar
 
Join Date: Oct 2002
Location: Portugal
Posts: 1,182
@CropsyX

The MultOf parameters are not working on this new version, I only got a clip to work when the filter cropped MOD2 automatically.


Bilu
bilu is offline   Reply With Quote
Old 27th February 2003, 03:39   #34  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
I'll take a look into the MultOf parameters not working. Assuming I can find the problem a new version will be released within 24 hours.
CropsyX is offline   Reply With Quote
Old 27th February 2003, 07:53   #35  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
New version 0.51 with (hopefully) working wMultOf and hMultOf in YV12 mode.

http://www.videofringe.com/autocrop/AutoCrop051.zip
CropsyX is offline   Reply With Quote
Old 1st March 2003, 02:28   #36  |  Link
bilu
Registered User
 
bilu's Avatar
 
Join Date: Oct 2002
Location: Portugal
Posts: 1,182
@CropsyX

It still doesn't work, alone or with other filters, get's wierd colors

Tried Autocrop(mode=0,wMultOf=16,hMultOf=16)

Bilu
bilu is offline   Reply With Quote
Old 3rd March 2003, 05:02   #37  |  Link
CropsyX
Registered User
 
Join Date: Oct 2002
Posts: 31
Could someone else post their experience with using AutoCrop in YV12 color.

I've been unable to reproduce Bilu's problem and it would be helpful to know how widespread the problem is.
CropsyX is offline   Reply With Quote
Old 3rd March 2003, 09:09   #38  |  Link
bilu
Registered User
 
bilu's Avatar
 
Join Date: Oct 2002
Location: Portugal
Posts: 1,182
CropsyX,

Sorry for not posting before. Here it is.

Autocrop(mode=0,wMultOf=16,hMultOf=16,threshold=20)



Bilu

(attach waiting for approval)
bilu is offline   Reply With Quote
Old 5th March 2003, 13:49   #39  |  Link
ldivx
Registered User
 
Join Date: Aug 2002
Posts: 14
hello guys,
i confirm, i have the same bugs , i have got wierd colors.
with one or more filters.
But i love this filters
thanks
__________________
My rippack only in french for this moment but i can traduce if you would
http://www.ldivx.fr.st
ldivx is offline   Reply With Quote
Old 5th March 2003, 14:35   #40  |  Link
Defiler
Asker of Questions
 
Join Date: Oct 2001
Location: Florida
Posts: 433
On the other hand, it's working like a charm for me in YV12. Heh.
__________________
"The real trick to optimizing color space conversions is of course to not do them." --trbarry, April 2002
Defiler is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:23.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.