PDA

View Full Version : Segment with avisynth


1loser
19th May 2002, 08:41
I read this over and over and I'm still not sure what the form should be for segmenting. I have two files I want to feed into CCE.

Space.Jam.00.avi
Space.Jam.01.avi

I have the avs file in the same directory as the avi files.

SegmentedAVISource("Space.Jam.avi") #Didn't work

SegmentedAVISource("Space.Jam.00.avi", "Space.Jam.01.avi") #Didn't work

Should the above work? Does the base file-name include the avi extension? How many ways can it be written?

SegmentedAVISource
SegmentedAVISource("base-filename"[,...]) #I have no idea what form this is.

The SegmentedAVISource filter automatically loads up to 100 avi files per argument (using AVISource) and splices them together (using UnalignedSplice). If "d:\filename.ext" is passed as an argument, the files d:\filename.00.ext, d:\filename.01.ext and so on through d:\filename.99.ext will be loaded. Any files in this sequence that don't exist will be skipped.

I found the entire avisynth document very confusing. The examples where not specific enough for me to understand

Roginator
19th May 2002, 09:14
Maybe try:

SegmentedAVISource("Space.Jam.00.avi")

But don't you need the full pathname?

1loser
19th May 2002, 18:05
Originally posted by Roginator
Maybe try:

SegmentedAVISource("Space.Jam.00.avi")

But don't you need the full pathname?

I just tried that and it didn't work.

I don't need the path if the avs file is in the same directory as the avi files.

dividee
19th May 2002, 20:55
The right line is SegmentedAVISource("Space.Jam.avi")
I just tested it and it works (I even renamed 2 files to thoses names to be sure it was not a problem with the additionnal dot).

I don't know why it doesn't work for you. What is the error message ?

You don't really need SegmentedAVISource if you only got a few parts:
AVISource("Space.Jam.00.avi","Space.Jam.01.avi") should works as well.
Or AVISource("Space.Jam.00.avi") + AVISource("Space.Jam.01.avi")

1loser
20th May 2002, 00:16
Originally posted by dividee
The right line is SegmentedAVISource("Space.Jam.avi")

Yeah, it's working for me also. Don't know why it didn't work before, I didn't change anything. I had to reboot my computer so maybe that did it.

I converted Toy story 2, DivX with AC3 to SVCD and CD1 and CD2 had an overlap of about 4 seconds so I removed it with nandub. I wonder if avisync can remove a few seconds from the end of CD1 or beginning of CD2 instead of me combining them. At the time I first made this post I didn't know there was an overlap.

Thx dividee for the help.