digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: What script to make the .m2v anamorphic? (http://www.digitalfaq.com/archives/avisynth/2996-avisynth-script-make.html)

CheronAph 03-15-2003 02:42 PM

Avisynth: What script to make the .m2v anamorphic?
 
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.58))
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?

rendalunit 03-15-2003 03:05 PM

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.

CheronAph 03-15-2003 03:11 PM

I´m not sure how to get the 16:9 ratio, the picture looks too thick or too thin in TMPGEnc preview!

rendalunit 03-15-2003 03:15 PM

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.

CheronAph 03-15-2003 04:12 PM

I have a 28" wide screen tv, what´s the setting for that 16:9 display?

PyRoMaNiA 03-15-2003 04:22 PM

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?

CheronAph 03-15-2003 04:26 PM

Looks the same in my computer, I´m just burning a sample, I´ll tell you how it turns up!

CheronAph 03-15-2003 04:33 PM

It´s totally wrong, the wrong size and the picture is not in the center of the screen "downsided"

kwag 03-15-2003 06:37 PM

Re: Must be an old question...
 
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

CheronAph 03-16-2003 02:45 AM

Thanks, I´ll try that now.

CheronAph 03-16-2003 11:28 AM

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,378)
AddBorders(16,16,16,16)
AssumeFPS(25.000, true)
#Trim(0,126570).FadeOut(150)

mergechroma(blur(1.58))
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?

PyRoMaNiA 03-16-2003 12:04 PM

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

Boulder 03-16-2003 12:39 PM

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.

CheronAph 03-16-2003 02:28 PM

Is there any point of changing the frame rate?

Boulder 03-16-2003 03:31 PM

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.

CheronAph 03-16-2003 04:12 PM

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 03-16-2003 04:24 PM

How do I do it?

Smoochie3 03-16-2003 10:56 PM

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.

Boulder 03-17-2003 07:06 AM

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.

CheronAph 03-17-2003 09:21 AM

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?


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

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