Log in

View Full Version : Cannot join AVI parts containing XVid


Bluedan
25th January 2003, 03:31
I used the same Avisynth 2.5 script.XVid 3-1-2003_koepi.No B-frames, no extra settings like GMC & Co.No audio invovlved.
I reencoded 2 small parts of the original VOBs after having encoded the whole movie because of some messed up frames.
First try with 1pass-quality setting at 75.
Second created with 2-pass-ext(lin.scale.statsreader) method.(*)
I both cases I receive error message from both VirtualDub and VDubMod saying "different formats" when I try to append these two peaces to the first already cut down part of the prior encoding.
I did the second reencoding(*), though I believed that nothing but codec and resolution (and maybe also I/P or I/P/B encoder) have to be the same.
The first encode/transcode (whole movie) was done through avs2avi!
Please don't tell me that these two apps produce incompatible output!!

Just verified, they do. Added trim line to avs ran avs2avi again and here you go: I was able to append all chunks created, now. This stuff is too much for me. I couldn't even spot a difference in hex editor between avs2avi and VDub created avi. Those "$D4-$117" were all 00!

DaveEL
25th January 2003, 09:36
Originally posted by Bluedan

Please don't tell me that these two apps produce incompatible output!!

Just verified, they do. Added trim line to avs ran avs2avi again and here you go: I was able to append all chunks created, now. This stuff is too much for me. I couldn't even spot a difference in hex editor between avs2avi and VDub created avi. Those "$D4-$117" were all 00!


Umm sorry it shouldn't do that :) Can you test my current build at http://www.ecs.soton.ac.uk/~del100/avs2avi-test.zip and see if you have the same problem. (The AviFile writer has been replaced with the virtualdub file output routines.)

DaveEL

twist3d
26th May 2004, 06:57
RESOLVED (KIND OF ;) )
i used avi-mux gui 1.16.5 for muxing, resulting file works flawlessly.
still pondering that vdub thing. oh well :)

i'm having similar problems (and it's making me crazy).
i just encoded "interstate 60" with the same method i've done dozen movies by now (dvd2avi>avisynth>vdubmod). ok, encoded the main movie, trimmed the credits away in avisynth script. movie encode ok. then did the credits afterwards (for lower quantizers, and yes, using compatible settings with the main movie file), tried appending the credits after movie and voila! "the video streams have different data formats".
ok, tried vdub builds from vanilla vdub 1.4 to vdubmod 1.5.10 > no help. now i think it's a xvid 1.0 issue. tried uninstalling & reinstalling koepi's xvid 1.0. didn't work.

the headers (50k) from both files are in personal.inet.fi/koti/iiro.sievanen/problems.zip (http://personal.inet.fi/koti/iiro.sievanen/problems.zip)

eb
29th May 2004, 20:22
twist3d,

try to process your files by VirtDubMod with direct stream copy for audio and video streams, but in > video folder > fram rate > in CONVERT TO FPS set 25 or value that you are using for your records ecactly the same for all files.

added: and then open the first file append the second, then append the third and so on, and of course try to append to the end of the file not to the begining/ but it is your choise/

eb