Log in

View Full Version : "SegmentedAVISource" skips files!


1gnition
25th July 2007, 08:57
Hello,

I have captured segments from a DVD and named them in the "c.00.avi" format so I will be able to load them as a one whole movie with AVISynth. But when I load my script to VDubMod I see that it doesn't load all the files. It skips files in the middle. I made sure that the names are correct and they were.

My script only contains the command SegmentedAVISource("d:\project\c.avi"). So there isn't much things that can go wrong.

I really need that to work. Do you have any idea?

buzzqw
25th July 2007, 09:10
From Avisynth manual

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.

BHH

Boulder
25th July 2007, 11:33
The OP stated that files in the middle are missing, so that normal Avisynth behaviour cannot explain it.

Can you join the files with VirtualDub, i.e. does the autojoin option work when loading the first file?

stickboy
25th July 2007, 17:34
What are the file names, and what are the files that were skipped?

1gnition
25th July 2007, 20:19
What are the file names, and what are the files that were skipped?

capture.01.avi
capture.06.avi
capture.07.avi

Can you join the files with VirtualDub, i.e. does the autojoin option work when loading the first file?

When I use the option 'Append Segment' I get an error message saying "Cannot append segment, the video streams have different data format"

What does it say and how I solve it?

Wilbert
25th July 2007, 20:36
What codec did you use when making the segmented avis? SegmentedAVISource can't append if the first frame of a segment is not a keyframe. I should put that in the docs some day.

setarip_old
25th July 2007, 20:40
Hi!When I use the option 'Append Segment' I get an error message saying "Cannot append segment, the video streams have different data format"
What does it say and how I solve it?It means that you captured at least some of the segments using either different video codecs and/or different resolutions, framerates, etc...

Boulder
26th July 2007, 03:20
capture.01.avi
capture.06.avi
capture.07.avi



When I use the option 'Append Segment' I get an error message saying "Cannot append segment, the video streams have different data format"

What does it say and how I solve it?Check the framerates of those three files (In VDub, Video->Framerate) and compare it the framerate of the files that can be joined. There might be a tiny difference which could explain your problem.