Quantcast KDVD: Resize or Not Resize, that is the Question. - Page 3 - digitalFAQ.com Forums [Archives]
  #41  
09-12-2005, 03:40 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ Supermule

IF GripFit_YV12.dll does work, then I would let Gripfit do the job as it gots an internal movie-frames-sample-count autocropper following by a PAR! based resizer. Gripfit does a very good job mainly on PAR1:1 inputs.

So if no Errors do occur (example: in case of using makeavis.exe), then try it.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #42  
09-12-2005, 03:57 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
@ Supermule

IF GripFit_YV12.dll does work, then I would let Gripfit do the job as it gots an internal movie-frames-sample-count autocropper following by a PAR! based resizer. Gripfit does a very good job mainly on PAR1:1 inputs.

So if no Errors do occur (example: in case of using makeavis.exe), then try it.
Thanks incred, I have often seen gripfit being used(it seems quite popular) but never tried it myself. Will try it.
Reply With Quote
  #43  
09-15-2005, 05:10 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by supermule
Quote:
Originally Posted by incredible
@ Supermule

IF GripFit_YV12.dll does work, then I would let Gripfit do the job as it gots an internal movie-frames-sample-count autocropper following by a PAR! based resizer. Gripfit does a very good job mainly on PAR1:1 inputs.

So if no Errors do occur (example: in case of using makeavis.exe), then try it.
Thanks incred, I have often seen gripfit being used(it seems quite popular) but never tried it myself. Will try it.
Where can I find a Gripfit, I searched with no results.
Reply With Quote
  #44  
09-15-2005, 05:30 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
www.incredible.de.tf/Downloads/GripFit_YV12.rar
Reply With Quote
  #45  
09-17-2005, 12:40 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Because they do not take in account borders that exist in original DVD sources and that should be cropped before the calc to enhance the result (and speed).
This is not truth: The functions below take the features that you said into account:


Code:
Function SimpleDVDCrop(clip c, bool interlaced) {
   global SourceDVDHeight=c.height()
   global SourceDVDWidth=c.width()
   c=(interlaced==false) ? AutoCrop(c,0, 4, 2, 2, 2, 2, 2, 40, 10) : c
   return(c)
}

Function SimpleDVDResize(clip c, int NewFullWidth, int NewFullHeight, int source_widescreen, int widescreen) {
   SAR=(source_widescreen==0) ? 1.3333 : 1.77777
   DAR=(widescreen==0) ? 1.3333 : 1.77777
   #Factor is: (SourceHeight with borders*SourceAspectRatio) /
   #            (Newheight with borders*DestinationAspectRatio)
   factor= ((SourceDVDHeight*1.0)*SAR) / ( (NewFullHeight*1.0)*DAR)
   # Stores parameters to be used again later
   global gNewFullWidth = NewFullWidth
   global gNewFullHeight = NewFullHeight
   #

Function SimpleAddBorders(clip c) {
   HorizontalBorder=((gNewFullWidth-c.width()) != 0 ) ? (gNewFullWidth-c.width)/2 : 0

   FullVerticalBorder=((gNewFullHeight-c.height()) != 0 ) ? (gNewFullHeight-c.height) : 0
   TopBorder=(FullVerticalBorder !=0) ? round((FullVerticalBorder/16))*8 : 0
   BottomBorder=(FullVerticalBorder !=0) ? ( round((FullVerticalBorder/16))*8+(FullVerticalBorder % 16) ) : 0
   c=addborders(c,HorizontalBorder,TopBorder,HorizontalBorder,BottomBorder)
   return(c)
}
Just for clarifying the things up (no "war flame" at all, OK ???).

Cya!
Reply With Quote
  #46  
09-17-2005, 01:40 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by danpos
Just for clarifying the things up (no "war flame" at all, OK ???).
And why would we think of such a thing, Danilo?
All is fine from my point of view.
Nice seeing you around .
Cheers

EDITED
BTW from where I stand, I think we should never use GripFit, DivxResize - or whatever plugin or function out there - to resize our video.
Simply take Moviestacker or FitCD and do the job manually.
This way one get's the feeling of what will happen to the video with more overscan or less overscan and all.
But the above mentioned tools are good for newbies that don't know how to use MS or FitCD and want to see a movie encoded just to get started.
__________________
Rui
Reply With Quote
  #47  
09-17-2005, 03:04 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Many times AutoCrop (or any other automatic cropping method) will fail to crop some garbage lines. I usually run AutoCrop and then check the result manually, there are often some extra pixels to crop.
Reply With Quote
  #48  
09-17-2005, 04:27 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
The best cropping tool is Vdub with null transform filter applied, and manually finding out film pixel area

-kwag
Reply With Quote
  #49  
09-17-2005, 05:23 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by danpos
This is not truth: The functions below take the features that you said into account:
You're right. I'd read and read again the function to find where it was done and I just see the "autocrop" line now.
But it does this only with non interlaced sources.


Code:
Function SimpleDVDCrop(clip c, bool interlaced) {
   global SourceDVDHeight=c.height()
   global SourceDVDWidth=c.width()
   c=(interlaced==false) ? AutoCrop(c,0, 4, 2, 2, 2, 2, 2, 40, 10) : c
   return(c)
}
Note: autocrop always fails by 2 pixels on the left side.
Reply With Quote
  #50  
09-17-2005, 05:59 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
But it does this only with non interlaced sources.
Now I've to say: this is very true For interlaced sources there are other functions available only for GOLD user.

@All

Obviously I agree that do use 'manual' crop/resize procedure does the trick (I mean to use FitCD - my preferred tool for now - or other equivalent tool) cos in this way the advanced user can tweak the parameters in accordance with your taste. The above functions are intended for another kinda user, which are the guys that like of solutions 'one click button and go to take a beer' .

That's all folks!

Cya!
Reply With Quote
  #51  
09-17-2005, 06:59 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
What was the problem with GripCrop?
I never had a problem except using it when doing a fake avi using makeavis.exe out of such a script.


Is there a source of addbordes() available?
Maybe I could fix and compile it as new using MinGw. Or Vmesquita could have a look at it as he gots much more skills in c++ work and compiling such a dll.
Reply With Quote
  #52  
09-17-2005, 07:25 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Is there a source of addbordes() available?
Maybe I could fix and compile it as new using MinGw.
I think you need VC exclusively to compile AviSynth and filters.

-kwag
Reply With Quote
  #53  
09-17-2005, 10:25 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
I got the message removegrain: invalid mode???
Reply With Quote
  #54  
09-18-2005, 12:09 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
I got the message removegrain: invalid mode???
You get that if you are not on the latest version 0.9.............so upgrade pls.
Reply With Quote
  #55  
09-18-2005, 03:52 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
What was the problem with GripCrop?
I never had a problem except using it when doing a fake avi using makeavis.exe out of such a script.
Very common "avisynth caugth an error..." during the encoding that disappears when you remove Gripcrop. This can have been solved with newer avisynth release but I do not use Gripfit since 2.5.4.
Reply With Quote
  #56  
09-18-2005, 07:59 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Ah, I see ...

Then maybe someone should at least give Latexx a PM if he maybe could again look at the sources and maybe mod them for proper avs 2.54 and up usage as he was the one who made GripFit capable handling YV12 sources also.
Reply With Quote
  #57  
09-18-2005, 09:22 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Ah, I see ...

Then maybe someone should at least give Latexx a PM if he maybe could again look at the sources and maybe mod them for proper avs 2.54 and up usage as he was the one who made GripFit capable handling YV12 sources also.
If I understand this particular post correctly, let me tell you, its not in good taste.........you need to respect ppl specially who are not with us now and have contributed so much..........................
Reply With Quote
  #58  
09-18-2005, 09:27 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by supermule
Quote:
Originally Posted by incredible
Ah, I see ...

Then maybe someone should at least give Latexx a PM if he maybe could again look at the sources and maybe mod them for proper avs 2.54 and up usage as he was the one who made GripFit capable handling YV12 sources also.
If I understand this particular post correctly, let me tell you, its not in good taste.........you need to respect ppl specially who are not with us now and have contributed so much..........................
WTF?
Reply With Quote
  #59  
09-18-2005, 09:38 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
supermule:
- what do you think is not respectous in Inc post?. Just opposite, his kind suggestion is in order to help developer fix a bug
- when you say Latexx is not with as now you mean with us at KVCD.net, or that he is not with us and won't be never again. Please clarify this. I don't like it when someone disappears from forums and we don't know about them ever again (like bilu and many others). I know, it's silly, but makes me worry.
Reply With Quote
  #60  
09-18-2005, 09:44 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
And actually Latexxx hasn't disappeared anywhere, he's for example active at the Hydrogenaudio forums. Inc meant that someone should ask him if he could check the code and see if he can fix it. SansGrip's not been around for a while so I don't think he's going to do anything about it.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Another Crop and Resize Question (VHS capture) Icarus3000 Avisynth Scripting 3 07-20-2005 03:49 AM
Avisynth: Crop and resize question urban tec Avisynth Scripting 3 06-13-2005 08:28 AM
MovieStacker: Resize or not? That is the question! zagor Video Encoding and Conversion 3 04-09-2004 03:16 PM
How do you resize an avi? raven2707 Video Encoding and Conversion 5 11-07-2003 12:56 PM
Resize maurus Convertir y Codificar Video (Español) 5 11-04-2003 01:55 AM

Thread Tools



 
All times are GMT -5. The time now is 01:45 AM  —  vBulletin © Jelsoft Enterprises Ltd