View Full Version : A little bit of SEGMENT B in SEGMENT A
Asrial
9th September 2003, 08:34
I have two episodes. Ep 2 intro is MUCH better than ep 1 intro in terms of quality.
What I want to do is take ep 2's intro and use it in place of ep 1's intro.
How would I go about doing this using AVI Synth or can it not be done?
I suppose I could try editing the DVD2AVI project file to point to ep 2's intro instead of ep 1. I'm also using VirtualDUB-MOD.
stickboy
9th September 2003, 11:13
Your AviSynth script would look something like:
# create a source for each episode
ep1 = AVISource("ep1.avi")
ep2 = AVISource("ep2.avi")
# select the intro from episode 2 (e.g. frames 1000-2000)
ep2intro = ep2.Trim(1000, 2000)
# select the main part of episode 1 (discarding its original intro)
# (e.g. frames 2000-end)
ep1main = ep1.Trim(2000, 0)
# splice the episode 2 intro the front of episode 1
ep2intro ++ ep1main
Wilbert
9th September 2003, 11:26
I assume he doesn't want to reencode them.
Can't you encode them separately (intros and main movie), and join them?
Asrial
9th September 2003, 17:06
Re-encoding isn't a problem because this is also something I'm going to do in case I run into future crappy intros (just swap them out for the good one).
What 'stickboy' put up sounds like it's exactly what I'm wanting to do. I'll be using mpeg2source though, instead of avisource so that I can pull it straight from the VOB and not an AVI.
[EDIT: actually, if I do that then I have to worry about telecide and other stuff messing up the good intro -- is there a way to have it use a 2nd AVS script instead?]
Thanks guys :)
One more question on this subject..
The section of the intro I'm cutting/transferring is the same in ALL eps. However, ep 1 I had to leave at 29fps (couldn't reliably decimate it) and ep 2 is 23fps (3:2 pulldown pattern). Will there be any kind of audio de-synch?
Asrial
9th September 2003, 22:45
Here's what I came up with and it seems to work like a charm:
main = Mpeg2Source("H:\Futurama\test.d2v")
intro = Mpeg2Source("H:\Futurama\Intro Project.d2v")
introtrim = intro.Crop(8,0,-8,0).BilinearResize(576,432)
maintrim = main.Trim(309,0).Telecide(order=1,guide=0).Crop(8,0,-8,0).BilinearResize(576,432)
introtrim ++ maintrimThis is putting the intro in the beginning of the file using a FORCEFILM project and then it's cutting into the main portion of the episode (which is NOT using FORCEFILM) and then teleciding just the main portion of the episode.
Crude, but it works :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.