digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KDVD: Resize or not resize, that is the question. (http://www.digitalfaq.com/archives/encode/13783-kdvd-resize-resize.html)

incredible 09-12-2005 03:40 AM

@ 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.

supermule 09-12-2005 03:57 AM

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.

supermule 09-15-2005 05:10 AM

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.

incredible 09-15-2005 05:30 AM

www.incredible.de.tf/Downloads/GripFit_YV12.rar

danpos 09-17-2005 12:40 PM

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!

rds_correia 09-17-2005 01:40 PM

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.

Boulder 09-17-2005 03:04 PM

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.

kwag 09-17-2005 04:27 PM

The best cropping tool is Vdub with null transform filter applied, and manually finding out film pixel area ;)

-kwag

Dialhot 09-17-2005 05:23 PM

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.
:arrow: 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.

danpos 09-17-2005 05:59 PM

Quote:

Originally Posted by Dialhot
:arrow: But it does this only with non interlaced sources.

Now I've to say: this is very true :!: :D 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' :lol:.

That's all folks!

Cya!

incredible 09-17-2005 06:59 PM

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.

kwag 09-17-2005 07:25 PM

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

Prodater64 09-17-2005 10:25 PM

I got the message removegrain: invalid mode???

supermule 09-18-2005 12:09 AM

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.

Dialhot 09-18-2005 03:52 AM

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.

incredible 09-18-2005 07:59 AM

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.

supermule 09-18-2005 09:22 AM

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..........................

Boulder 09-18-2005 09:27 AM

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?

digitall.doc 09-18-2005 09:38 AM

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.

Boulder 09-18-2005 09:44 AM

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.

supermule 09-18-2005 09:53 AM

Quote:

Originally Posted by incredible
Ah, I see ...

Latexx

My apologies, the word confused me and I thought he was talking about sansgrip as "late". Never knew "Latexx" is a nickname. It was a chaos of misunderstanding.

Apologies again.

rds_correia 09-18-2005 09:59 AM

EDITED:
After all it was all a misunderstanding and it took me too long to write my post :lol:

Code:

Calm down supermule :D.
I believe you jumped into conclusions before reading Andrej's post carefully.
Andrej was simply saying that if SansGrip is not around anymore and that since Latexx was the one who moded SansGrip's filter to make it compliant with YV12, then maybe we could try to reach Latexx to see if he can help us on this one ;-) :P.
But something is telling me that you interpreted that in a different way  8).
Besides I would say that Andrej has contributed to the community at least as much as Latexx, not to say "more than".

As to bilu I really lost track of him :roll:.
Even after calling Vodafone (his job) they told me he was no longer working with them, but they also told me that they were quite sure that nothing bad had happened to him.
Just one of those things, you know...
Cheers

kwag 09-18-2005 10:55 AM

OT
I couldn't imagine what the outcome would have been, if the name has been "Kotex" :rotf: :lol:
Just kidding :lol:
/OT

Edit:
BTW, I E-Mailed SansGrip several months ago, and I never got a reply. He always used to answer :roll:

-kwag :hammer:

rds_correia 09-18-2005 11:43 AM

OT
I didn't catch up the "Kotex" joke.
I guess it's because I'm not an English native.
I even looked it at dictionary.com but nothing there too...
But I'm quite sure it has something to do with girls :P.
Or maybe not...

As to your email to Sansgrip, you should remind yourself that you changed your email address a few months ago.
Remember @softronex.com?
I even fell into that same mistake, of sending you an email about HC, to that old email account because I was very much used to it.
Maybe you could send him another email emphasizing that you have a new email account.
Then maybe "he get's it" and he answers you.
Just make sure you mention the "HDTV" word because that's what made him come back to the forum nearly one year ago when he bought one of those TVs ;-).
/OT
Cheers

kwag 09-18-2005 12:02 PM

Quote:

Originally Posted by rds_correia
OT
I didn't catch up the "Kotex" joke.
I guess it's because I'm not an English native.
I even looked it at dictionary.com but nothing there too...

OT

8O
Just google it :!:
First match: http://www.kotex.com
Quote:

But I'm quite sure it has something to do with girls :P.
Or maybe not...
You're right :lol: /OT
Quote:


As to your email to Sansgrip, you should remind yourself that you changed your email address a few months ago.
Remember @softronex.com?
I even fell into that same mistake, of sending you an email about HC, to that old email account because I was very much used to it.
Maybe you could send him another email emphasizing that you have a new email account.
Then maybe "he get's it" and he answers you.
Just make sure you mention the "HDTV" word because that's what made him come back to the forum nearly one year ago when he bought one of those TVs ;-).
/OT
Cheers
I did send him a message from my E-Mail at kvcd.net account.
I'll try again today.
Last time he was here was when he did some mods to DVDRoba (Is that's what it's called?), and then he dissapeared :roll:


EDIT: Just sent him an E-Mail.

-kwag

Prodater64 09-18-2005 01:04 PM

Quote:

Originally Posted by supermule
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.

Thanks.

Prodater64 09-18-2005 04:38 PM

Coming back to the first question, do I need to use a resizer or only crop to convert a PAL DVD to 704*576?

supermule 09-19-2005 12:26 AM

Quote:

Originally Posted by Prodater64
Coming back to the first question, do I need to use a resizer or only crop to convert a PAL DVD to 704*576?

:D :lol:

Any One of them will do, its ur choice.........

Crop will gain you some bitrates which boils to quality but you loose the sides of the video (doesnt matter if you dont have a Digital TV)

Resize will give you full display as on DVD but lesser Q factor.

:D :lol:

Well its like after reading the whole Roman history you are asking us, who's Julius Caesar :lol: ....just kiddin

Dialhot 09-19-2005 03:05 AM

Quote:

Originally Posted by Prodater64
Coming back to the first question, do I need to use a resizer or only crop to convert a PAL DVD to 704*576?

Answered the 7th of september, on the first page of this thread :
Quote:

So your choice is still : do you want to lost pixels (and so use crop) or to keep all pixels (and then use resize).

incredible 09-19-2005 05:08 AM

Quote:

Originally Posted by Supermule
Crop will gain you some bitrates which boils to quality but you loose the sides of the video (doesnt matter if you dont have a Digital TV)

just crop needs more bitrate as the height will be kept as on the original.

Quote:

Resize will give you full display as on DVD but lesser Q factor.
The display will not be as on the orig dvd when resizing to 704, cause when "resizing" to 704 the vertical res. of the active area will be less = better Q factor. But a bad choice in case of 2.35 or higher ARs as the active Movie area gets smaller on TV.

We are taking here from 720 to 704.

Prodater64 09-19-2005 06:27 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Prodater64
Coming back to the first question, do I need to use a resizer or only crop to convert a PAL DVD to 704*576?

Answered the 7th of september, on the first page of this thread :
Quote:

So your choice is still : do you want to lost pixels (and so use crop) or to keep all pixels (and then use resize).

Thanks and sorry, it was hard to understand to me.

GFR 09-19-2005 06:57 AM

Quote:

Originally Posted by kwag
The best cropping tool is Vdub with null transform filter applied, and manually finding out film pixel area ;)

-kwag

Personally, I prefer to find out the pixel area in TMPGEnc, simply because I find it easier to see it with the choice of border's color.

kwag 09-19-2005 10:16 AM

Quote:

Originally Posted by GFR
Quote:

Originally Posted by kwag
The best cropping tool is Vdub with null transform filter applied, and manually finding out film pixel area ;)

-kwag

Personally, I prefer to find out the pixel area in TMPGEnc, simply because I find it easier to see it with the choice of border's color.

That's very valid too GFR :)

-kwag


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

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.