Quantcast Avisynth: Correct Apect Ratio Script ? - digitalFAQ.com Forums [Archives]
  #1  
02-04-2004, 10:30 AM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
can someone please give me a script so that i can keep the correct aspect ratio when encoding, im farely new to the script stuff. also can someone give me a script to make an anamorphic widescreen picture, thanks for all help
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  
02-04-2004, 10:45 AM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
also, i tried out my first script
AviSource("C:\once upon a time in mexico.avi"),
and it opened the video file okay, but the picture quality wasnt as good, is this NORMAL, if i open the video file by double clicking it it looks so much better
Reply With Quote
  #3  
02-04-2004, 10:47 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
All scripts given in this section and that use "gricrop" handle correctly the A/R problem.

All you have to do is :
- if your source is anamorphic, add source_anamorphic=true in gripcrop line
- if your source isn't anamorphic, add source_anamorphic=false
- if you want to make a TARGET anamorphic add dest_anamorphic=true
- if you want to make a TARGET non-anamorphic add dest_anamorphic=false

Note that by default gripcrop use "source_ana=true" and "dest_ana=false".
Reply With Quote
  #4  
02-04-2004, 10:51 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 khusru
is this NORMAL, if i open the video file by double clicking it it looks so much better
All is matter of codecs, directshow filters and settings of all of them. But correctly configured, and with the correct codecs, the playback is the same.

Note: is you are doing avi, you should use the scripts given in avi->kvcd forum. And you MUST stop post in this one.
Reply With Quote
  #5  
02-04-2004, 10:56 AM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
if i want my output to be anamorphic, is this the full script??


AviSource("C:\once upon a time in mexico.avi")
dest_anamorphic=true


also after using the script to run the video file is it normal for the quality to not be as good as normal
Reply With Quote
  #6  
02-04-2004, 11:10 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
Nope, you have to use Gripfit!

AviSource("C:\once upon a time in mexico.avi")
Gripcrop(704,576, dest_anamorphic_true)
Gripsize("Bicubicresize")
Gripborders()


You see the needed lines, Dialhot just explained the right parameters!
Do look at the optimal scripts in here and you do understand
Reply With Quote
  #7  
02-04-2004, 11:37 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 khusru
also after using the script to run the video file is it normal for the quality to not be as good as normal
You probably missed the post I did 5 min before yours : I already answered.
Reply With Quote
  #8  
02-04-2004, 05:30 PM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
thanks guys for all help

this is the script as i used it

AviSource("C:\once upon a time in mexico.avi")
Gripcrop(704,576, dest_anamorphic_true)
Gripsize("Bicubicresize")
Gripborders()

but virtual dub game me this error message:
' i dont know what dest_anamporphic true' means

can i use scripts in tmpg and how do i use it? is this script okay if iwant my output to be anamorphic
Reply With Quote
  #9  
02-04-2004, 06:21 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
Quote:
Originally Posted by khusru
thanks guys for all help

this is the script as i used it

AviSource("C:\once upon a time in mexico.avi")
Gripcrop(704,576, dest_anamorphic_true)
Gripsize("Bicubicresize")
Gripborders()

but virtual dub game me this error message:
' i dont know what dest_anamporphic true' means

can i use scripts in tmpg and how do i use it? is this script okay if iwant my output to be anamorphic
Im shure you didn't copy the mentioned lines correctly as the error means you did typ anamporphic! and its called anamorphic!
Reply With Quote
  #10  
02-04-2004, 06:27 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 incredible
Im shure you didn't copy the mentioned lines correctly as the error means you did typ anamporphic! and its called anamorphic!
No, in fact he wrote "dest_anamorphic_true" where I said top put EGUALS true.

dest_anamorphic = true
Reply With Quote
  #11  
02-04-2004, 07:08 PM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
dial hot this is how i typed it now

AviSource("C:\once upon a time in mexico.avi")
Gripcrop(704,576, dest_anamorphic=true)
Gripsize("Bicubicresize")
Gripborders()

and it shows another error message, CANNOT LOAD SYLIA SCRIPTING LANGUAGE ( thats in virtual dub) when i use media player it says THERE IS NO FUNCTION NAMED GRIPCROP,

help as i am lost
Reply With Quote
  #12  
02-04-2004, 07:15 PM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
can i use scripts in tmpg and how do i use it?
Reply With Quote
  #13  
02-04-2004, 07:35 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
Hi there,
Just download yourself a GripFit_YV12 plugin so that those messages coming out of media player and VDub stop annoying you.
You can use your script in tmpgenc but you'll neec ReadAVS.dll plugin.
Make sure you follow the installation notes for ReadAVS and just put GripFit_YV12 in your plugins directory
C ya

Note: search for those plugins at http://www.avisynth.org/warpenterprises/
__________________
Rui
Reply With Quote
  #14  
02-05-2004, 10:30 AM
mistermickster mistermickster is offline
Free Member
 
Join Date: Jul 2003
Location: Blighty, PAL Land
Posts: 133
Thanks: 0
Thanked 0 Times in 0 Posts
You're posting in the 'Optimal Scripts' forum, but have you actually taken a look at the Latest Scripts thread

You'll see from that, that your script is far from complete.

Also, remove the spaces from your looooooooooong file name, it will save problems later
__________________
MisterMickster
Reply With Quote
  #15  
02-05-2004, 11:19 AM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
AviSource("C:\once upon a time in mexico.avi")
Gripcrop(704,576, source_anamorphic=true)
Gripsize("Bicubicresize")
Gripborders()
LegalClip()

unfilter(50,50)
GripCrop( X, Y )
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
# SpaceDust() # Optional - for some "not so clean" DVDs.
temporalsmoother(1,2)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
# Convolution3d or DCTFilter for extreme worse cases.
GripBorders()
LegalClip()

Is this okay for my final script, my source is anamorphic, but i want my destination
to be a 4:3 image with the corret borders
Reply With Quote
  #16  
02-05-2004, 01:42 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
If your source is anamorphic, you'll get egg-headed persons, when you want it to be 4:3.

btw: you're using the optimal script for AviSynth 2.0x, which is outdated. you should get AviSynth 2.5x and use the optimal script for that version.

EDIT: that script is totally screwed man. You should read a little bit about scripting on the AviSynth Homepage or in the Docs. Why do you have 2 GripCrop lines in it, and one without any values added?
__________________
j3llyG0053
Reply With Quote
  #17  
02-05-2004, 01:56 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 khusru
Is this okay for my final script, my source is anamorphic, but i want my destination
to be a 4:3 image with the corret borders
Your source is an avi and as 99% of chance to NOT be anamorphic.
Only DV avi can be anamorphic. Divx aren't except if the guy that did it is dumb.
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
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
MovieStacker: Cannot get correct aspect ratio audioslave Video Encoding and Conversion 0 06-08-2003 03:18 PM
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 06:26 PM  —  vBulletin © Jelsoft Enterprises Ltd