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. |
30th January 2003, 09:38 | #23 | Link |
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. |
30th January 2003, 10:28 | #24 | Link |
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
|
30th January 2003, 10:46 | #25 | Link |
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. |
30th January 2003, 13:19 | #26 | Link |
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. |
2nd February 2003, 01:52 | #28 | Link |
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 |
26th February 2003, 07:26 | #29 | Link |
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 |
26th February 2003, 10:32 | #30 | Link |
Registered User
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 |
27th February 2003, 07:53 | #35 | Link |
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 |
5th March 2003, 13:49 | #39 | Link |
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|