Fanrestore - Fan Restoration Forum

Full Version: loading a source divided in several files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wonder if there is a best way to load a 29.97fps (actually a 59.94 fields per seconds) interlaced source, divided in several parts, like a TV recorded program with commercial breaks cut away, or a laserdisc capture of several sides, and ITVC it, or if they are all the same...

Code:
# method 1 for MPEG-2
# load all parts on DGindex and save a single d2v file

LoadPlugin("C:\Program Files (x86)\Avisynth\plugins\dgdecode.dll")

film=mpeg2source("001-004.d2v").TFM(d2v = "001-004.d2v").TDecimate
...

Code:
# method 2 for MPEG-2
# load every part separately and save a d2v file for each one
# then TFM and TDecimate any part

LoadPlugin("C:\Program Files (x86)\Avisynth\plugins\dgdecode.dll")

part1=mpeg2source("001.d2v").TFM(d2v = "001.d2v").TDecimate
part2=mpeg2source("002.d2v").TFM(d2v = "002.d2v").TDecimate
part3=mpeg2source("003.d2v").TFM(d2v = "003.d2v").TDecimate
part4=mpeg2source("004.d2v").TFM(d2v = "004.d2v").TDecimate

film=part1+part2+part3+part4

...

# method 2 for avi
# TFM and TDecimate any part

part1=avisource("001.d2v").TFM.TDecimate
part2=avisource("002.d2v").TFM.TDecimate
part3=avisource("003.d2v").TFM.TDecimate
part4=avisource("004.d2v").TFM.TDecimate

film=part1+part2+part3+part4

Code:
# method 3 for MPEG-2
# load every part separately and save a d2v file for each one
# then TFM any part, and TDecimate the joined result

LoadPlugin("C:\Program Files (x86)\Avisynth\plugins\dgdecode.dll")

part1=mpeg2source("001.d2v").TFM(d2v = "001.d2v")
part2=mpeg2source("002.d2v").TFM(d2v = "002.d2v")
part3=mpeg2source("003.d2v").TFM(d2v = "003.d2v")
part4=mpeg2source("004.d2v").TFM(d2v = "004.d2v")

film=(part1+part2+part3+part4).TDecimate

...

# method 3 for avi
# TFM any part, and TDecimate the joined result

part1=avisource("001.d2v").TFM
part2=avisource("002.d2v").TFM
part3=avisource("003.d2v").TFM
part4=avisource("004.d2v").TFM

film=(part1+part2+part3+part4).TDecimate

Code:
# method 4 for avi
# join all the parts, then TFM and TDecimate

part1=avisource("001.d2v")
part2=avisource("002.d2v")
part3=avisource("003.d2v")
part4=avisource("004.d2v")

film=(part1+part2+part3+part4).TFM.TDecimate

I always use method 2 for laserdisc captures; I'm using the same for Harry Potter.