Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AviSynth loading a source divided in several files
#1
Question 
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.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  AviSynth source load spoRv 18 16,639 2018-03-29, 10:35 PM
Last Post: BlackMirror
  AviSynth VC1 loading problem and solution spoRv 4 4,676 2018-03-21, 07:48 AM
Last Post: deleted user

Forum Jump:


Users browsing this thread: 1 Guest(s)