Quantcast Avisynth: What Script to Make the .M2V Anamorphic? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
03-15-2003, 02:42 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
What line should I add to this script to make the .m2v anamorphic?

LoadPlugin("E:\KVCD Converting\Filters\Mpeg2dec.dll")
LoadPlugin("E:\KVCD Converting\Filters\GripFit_Preview.dll")
LoadPlugin("E:\KVCD Converting\Filters\LegalClip.dll")
LoadPlugin("E:\KVCD Converting\Filters\Sampler.dll")
LoadPlugin("E:\KVCD Converting\Filters\convolution3d")
LoadPlugin("E:\KVCD Converting\Filters\DustV5.dll")
LoadPlugin("E:\KVCD Converting\Filters\TemporalCleaner.dll")
LoadPlugin("E:\KVCD Converting\Filters\DctFilter_YUY2.dll")
LoadPlugin("E:\KVCD Converting\Filters\textsub.vdf")

avisource("E:\KVCD Converting\Shrek-DVD-RIP-SUPER-HIGH-QUALITY-NO-SUBS.avi")
ConvertToYUY2()
LegalClip()

GripCrop(width=480, height=576, overscan=2)
#TextSub()
GripSize(resizer="lanczosresize")

mergechroma(blur(1.5)
mergeluma(blur(0.2))
SpaceDust()
TemporalCleaner()
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,0.5,0)

GripBorders()
LegalClip()


Can I improve something in my script?
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
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  
03-15-2003, 03:05 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
you could add anamorphic=true to the GripCrop line so that it looks like this GripCrop(width=480, height=576, overscan=2, anamorphic=true) but I think anamorphic=true is default anyway.
Reply With Quote
  #3  
03-15-2003, 03:11 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
I´m not sure how to get the 16:9 ratio, the picture looks too thick or too thin in TMPGEnc preview!
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #4  
03-15-2003, 03:15 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
The problem might be your settings in TMPGenc. For the source aspect ratio set to 1:1 full screen. Set the dest aspect to 4:3 for a standard tv.
Reply With Quote
  #5  
03-15-2003, 04:12 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
I have a 28" wide screen tv, what´s the setting for that 16:9 display?
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #6  
03-15-2003, 04:22 PM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
the picture looks too thick or too thin in TMPGEnc preview
I don't think TMPGEnc preview gives the correct aspect ratio, have you watched it after encoding a sample?
Reply With Quote
  #7  
03-15-2003, 04:26 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Looks the same in my computer, I´m just burning a sample, I´ll tell you how it turns up!
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #8  
03-15-2003, 04:33 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
It´s totally wrong, the wrong size and the picture is not in the center of the screen "downsided"
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #9  
03-15-2003, 06:37 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 CheronAph
What line should I add to this script to make the .m2v anamorphic?
GripCrop(width=480, height=576, overscan=2, dest_anamorphic=true)

-kwag
Reply With Quote
  #10  
03-16-2003, 02:45 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Thanks, I´ll try that now.
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #11  
03-16-2003, 11:28 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
I got it now with the help of fitcd! I got a .avs like this,

LoadPlugin("E:\KVCD Converting\Filters\Mpeg2dec.dll")
LoadPlugin("E:\KVCD Converting\Filters\GripFit_Preview.dll")
LoadPlugin("E:\KVCD Converting\Filters\LegalClip.dll")
LoadPlugin("E:\KVCD Converting\Filters\Sampler.dll")
LoadPlugin("E:\KVCD Converting\Filters\convolution3d")
LoadPlugin("E:\KVCD Converting\Filters\DustV5.dll")
LoadPlugin("E:\KVCD Converting\Filters\TemporalCleaner.dll")
LoadPlugin("E:\KVCD Converting\Filters\DctFilter_YUY2.dll")
LoadPlugin("E:\KVCD Converting\Filters\textsub.vdf")

avisource("E:\KVCD Converting\Shrek-DVD-RIP-SUPER-HIGH-QUALITY-NO-SUBS.avi")
ConvertToYUY2()
LegalClip()

LanczosResize(448,544,0,3,512,37
AddBorders(16,16,16,16)
AssumeFPS(25.000, true)
#Trim(0,126570).FadeOut(150)

mergechroma(blur(1.5)
mergeluma(blur(0.2))
SpaceDust()
TemporalCleaner()
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,0.5,0)

LegalClip()


I was wondering about the line "AssumeFPS(25.000, true)", about what it does, because the original is 23.976, is the vcd going to twich or something, audio not in sync and s**t like that?
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #12  
03-16-2003, 12:04 PM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
I was wondering about the line "AssumeFPS(25.000, true)", about what it does, because the original is 23.976, is the vcd going to twich or something, audio not in sync and s**t like that?
That line changes the framerate to 25fps! This won't cause it to twitch, as it's not a framerate conversion, it'll just speed up playback...This will also cause the audio to become out of sync as the audio will still be playing at normal speed. Unless you squash your audio a little with something like Goldwave...I'd recommend taking that line out...
Reply With Quote
  #13  
03-16-2003, 12:39 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
The Boolean "true" in the AssumeFPS line states that audio will be resampled so that it stays in sync. Personally I've had too many nasty surprises with this so I do the audio frame rate conversion with BeSweet instead.
Reply With Quote
  #14  
03-16-2003, 02:28 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Is there any point of changing the frame rate?
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #15  
03-16-2003, 03:31 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
If your player supports the NTSC framerate (23.976) for video and audio with a PAL resolution, there's no need to change it. If you want max compatibility, you should do the conversion.
Reply With Quote
  #16  
03-16-2003, 04:12 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Quote:
Originally Posted by Boulder
If your player supports the NTSC framerate (23.976) for video and audio with a PAL resolution, there's no need to change it. If you want max compatibility, you should do the conversion.
It does support it! If I do the conversion I have to use besweet for audio you say?
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #17  
03-16-2003, 04:24 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
How do I do it?
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
  #18  
03-16-2003, 10:56 PM
Smoochie3 Smoochie3 is offline
Free Member
 
Join Date: Jun 2002
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
you don't need your destination aspect ratio to be anamorphic for a wide screen tv. just set your video arrange to "center" and make sure whatever you set your "source aspect ratio" to under the advanced tab is the same as what you set your "aspect ratio" to under the video tab. I have a widescreen tv too, and this is how i do it.
Reply With Quote
  #19  
03-17-2003, 07:06 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 CheronAph
How do I do it?
If you use BeSweet, the simplest way is to use the GUI. There are some frame rate conversion options there between NTSC and PAL. You can find both of them here:

http://dspguru.doom9.net

I suppose that HeadAC3he can do the conversion as well.
Reply With Quote
  #20  
03-17-2003, 09:21 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Quote:
Originally Posted by Smoochie3
you don't need your destination aspect ratio to be anamorphic for a wide screen tv. just set your video arrange to "center" and make sure whatever you set your "source aspect ratio" to under the advanced tab is the same as what you set your "aspect ratio" to under the video tab. I have a widescreen tv too, and this is how i do it.
´

What do you use for aspect ratio?
__________________
¨¨°şİİş°¨¨°şİCHERONAPHİş°¨¨°şİİş°¨¨
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Simple script to make a kdvd from divx cartoon? zagor Avisynth Scripting 1 12-06-2004 10:18 AM
Avisynth: mpeg script to make fake avi? oxycotton420 Avisynth Scripting 7 07-10-2004 05:40 PM
Script for anamorphic kdvd khusru Video Encoding and Conversion 15 02-23-2004 07:59 PM
Avisynth: Make a script? Wak10 Avisynth Scripting 4 08-26-2003 04:08 AM
How to make short sample video to see quality of Avisynth script? MenderOne Avisynth Scripting 3 05-21-2003 01:02 AM




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