Quantcast Adding Borders to Display Correct Aspect Ratio? - digitalFAQ.com Forums [Archives]
  #1  
01-23-2004, 11:05 AM
jim620 jim620 is offline
Free Member
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
I have a PAL 4:3 movie that will be resized to 352x288. However this will stretch the vertical too much. I want to add borders that will display the viewable at 352x240. My question is where do I put the addborders command. Here's my script:

AviSource("e:\kvcd\fox.avi", false)
BlindPP(Cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.5,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(352, 240, source_anamorphic=false)
GripSize(resizer="BicubicResize")
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
AddBorders(0, 24, 0, 24)
GripBorders()

I assume that the Gripcrop command will resize the movie to 352x240 and the addborder will add the necessary black borders so the finished size will be 352x288. Is the addborder command in the right place?
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
  #2  
01-23-2004, 11:21 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
Sorry, i'm not very good in this of helping... still learning...
If I understand you well, you want to resize the viewable part of the film to 352x240, and output the film in 352x288 format, isn't it?.
Well, if you make use of GripFit, as far as I know you just need to use:
Code:
.......
GripCrop(352, 240, source_anamorphic=false) 
GripSize(resizer="BicubicResize") 
..........
GripBorders()
I think no AddBorders is needed, 'cos GripBorders will do this work. In case you want, you can employ LetterBox, but don't think you need in your case.
Make us know if this works.
Cheers
Reply With Quote
  #3  
01-23-2004, 12:08 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
But Digitall.doc learned very well! So you did a good helping job

You cant use Addborders() together with GripFit as GripFit does the WHOLE job internal, the borders will be added with GripBorders() correctly.

@ jim620
First, do you have a PAL movie, so ... do you want still to encode in PAL?
I think not (where do you live? in NTSC land?) as you determined 352x240 as final size.

BUT regulary you also should add at the end of the script a

assumeFPS(23.976,true).Resampleaudio(44100)

so you get a legal NTSC 23.976 output IF you really want to convert to NTSC
Reply With Quote
  #4  
01-23-2004, 03:18 PM
jim620 jim620 is offline
Free Member
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
I know what I was doing wrong now. I was putting 352x288 in the script and in TMPGenc. What I need to do is put Gripcrop 352x240 in the script but keep 352x288 in TMPGenc. This gives me what I need. As for keeping it at PAL my player can do both so I rather not have to hassle with changing FPS. Thanks for the help.
Reply With Quote
  #5  
01-27-2004, 04:52 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
@jim620
This is wrong. Your aspect ratio will be off, and it is not good idea to resize with TMPG.
Reply With Quote
  #6  
01-27-2004, 05:07 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 Abond
@jim620
This is wrong. Your aspect ratio will be off, and it is not good idea to resize with TMPG.
You are right for general cases.. But if you read what is the problem of jim here you can see that he has a matter of wrong aspect ratio and try to restore it. And I think that his solution is to process like he does. His source is clearly a NTSC video taht was badly resized to PAL resolution, screwing up the A/R.
And to unscrew something there is no other way than doing an other screwed operation
Reply With Quote
  #7  
01-27-2004, 05:19 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I need new glasses...
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot see these movies with a correct aspect ratio? Prodater64 Video Encoding and Conversion 6 07-23-2005 10:10 AM
TMPEnc aspect ratio and Image Display Problem? Major Video Encoding and Conversion 4 10-11-2004 08:36 AM
Correct aspect ratio on 4:3 script? khusru Video Encoding and Conversion 8 02-07-2004 09:42 AM
Correct aspect ratio on kvcd? khusru Video Encoding and Conversion 1 01-19-2004 10:16 AM
KVCD: how to get aspect ratio correct? Hazza Video Encoding and Conversion 6 06-04-2002 08:17 PM

Thread Tools



 
All times are GMT -5. The time now is 11:23 PM  —  vBulletin © Jelsoft Enterprises Ltd