h00z
16th November 2003, 16:45
I am trying to encode an episodic DVD right now. It has four (30 minute) episodes all in one big "movie". Now, I'm encoding each episode individually using the Trim() command. Here's what my AVS looks like for an example episode: MPEG2Source("D:\_working\YYH_18\yyh_18.d2v")
Telecide(order=1,guide=1)
Decimate(mode=3,threshold=2.0)
AutoCrop(mode=0)
Convolution3d(preset="animeLQ")
SimpleResize(512,384)
MSharpen(strength=30)
video = last
audio = WAVSource("D:\_working\YYH_18\english.wav")
AudioDub(video,audio)
Trim(34193,68254)This works okay, but I'd really like to trim before cropping as each episode has different cropping needs. Now I know that I can go in and change the crop settings manually, but I'm trying to save myself a little bit of time by automating a few things. Is there a way I could mux the audio and video, trim, then crop? Something in an order like this maybe:# --- Load Clip ---
MPEG2Source("D:\_working\YYH_18\yyh_18.d2v")
# --- IVTC ---
Telecide(order=1,guide=1)
Decimate(mode=3,threshold=2.0)
# --- Audio/Video Dub ---
# audio = WAVSource("D:\_working\YYH_18\english.wav")
# AudioDub(video,audio)
# --- Trim ---
# Trim(31,34080)
# --- Crop ---
AutoCrop(mode=0)
# --- Smooth ---
Convolution3d(preset="animeLQ")
# --- Resize ---
SimpleResize(512,384)
# --- Sharpen ---
MSharpen(strength=30)
Edit by sh0dan: Made your script a bit more screenfriendly
Telecide(order=1,guide=1)
Decimate(mode=3,threshold=2.0)
AutoCrop(mode=0)
Convolution3d(preset="animeLQ")
SimpleResize(512,384)
MSharpen(strength=30)
video = last
audio = WAVSource("D:\_working\YYH_18\english.wav")
AudioDub(video,audio)
Trim(34193,68254)This works okay, but I'd really like to trim before cropping as each episode has different cropping needs. Now I know that I can go in and change the crop settings manually, but I'm trying to save myself a little bit of time by automating a few things. Is there a way I could mux the audio and video, trim, then crop? Something in an order like this maybe:# --- Load Clip ---
MPEG2Source("D:\_working\YYH_18\yyh_18.d2v")
# --- IVTC ---
Telecide(order=1,guide=1)
Decimate(mode=3,threshold=2.0)
# --- Audio/Video Dub ---
# audio = WAVSource("D:\_working\YYH_18\english.wav")
# AudioDub(video,audio)
# --- Trim ---
# Trim(31,34080)
# --- Crop ---
AutoCrop(mode=0)
# --- Smooth ---
Convolution3d(preset="animeLQ")
# --- Resize ---
SimpleResize(512,384)
# --- Sharpen ---
MSharpen(strength=30)
Edit by sh0dan: Made your script a bit more screenfriendly