Log in

View Full Version : Cannot append segment: The segment has a different number of streams


flipdon
7th October 2002, 18:14
first the problem was that the framerates were different... that was solved by changing the framerates in vdub and making a new huffyuv avi. now i get the above error...that the number of streams is different. where can i find info on how many streams each avi has and how to change them? will a program like AVI-Mux GUI help me out?

jggimi
7th October 2002, 18:33
Since Virtual Dub only handles video plus a single audio stream, I'm betting -- it's only a guess, but I'd bet on it -- that one of your two .avi files is video only, or, one stream, and the other has both audio and video, or two streams.

(Nandub, a Virtual Dub variant, can handle .avi files with two audio tracks, or a total of 3 streams, but the same thing holds true with Nandub if one .avi has a single audio, and the other has two.)

If my guess is correct, you'll need to separate sound and video from the .avi with sound.

De-mux the audio (save WAV), then save a video-only .avi file: 1) Video...Direct Stream Copy, 2) Audio...No Audio, 3) Save as AVI. Then join the two video-only files, re-mux the audio, and save the completed .avi file.

hakko504
7th October 2002, 20:12
You can also try GraphEdit. The mighty Doom9 (http://www.doom9.org) has it available for download. He also has a guide here (http://www.doom9.org/dual-audio.htm) that describes how GraphEdit works. (with dl link)

flipdon
7th October 2002, 23:13
jggimi, it sounds like you're right, i believe one of them may not have an audio stream. and nicely explains the error message i've been receiving.