victorhooi
23rd May 2005, 07:54
hi,
I'm trying to shrink an Xvid-encoded movie by about 8 megs, so I decided to re-encode the credits at a lower bitrate using VirtualDub.
I managed to select the frames I wanted to re-encode, and re-encoded it with a two-pass Xvid encode at around 500 kbps. However, when I tried to append it onto the beginning of the original file (resaved with the credits cut off, of course), VirtualDub complained with:
Cannot append segment "file.avi": The video streams have different data formats.
I also tried using a one-pass quantitizer 25.0 encoding, and joining that to see if a two-pass encoding was the problem, but that also failed to with the above error. Both one/two pass videos play fine on their own, though.
What sort of restrictions are there on joining two Xvid video files? (ie different bitrates - that should be ok, right?) Where can I find out more info on the exact params/format used in the original? Or is there any other way I can get around this error?
Incidentally, when I first tried to open the original file, VirtaulDub came up with:
VirtualDub has detected an improprer VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatability. This may introduce up to 31054 ms of skew from the video stream. If this is unacceptable, decompress the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder.
I don't think this would affect the issue, since I used VirtualDub to resave both AVI files before trying to join them, but I just thought I'd mention it - then again, anybody know the best way to resolve the VBR issue as well?
Anwyay, any help would be appreciated, and thanks in advance.
cya,
Victor
I'm trying to shrink an Xvid-encoded movie by about 8 megs, so I decided to re-encode the credits at a lower bitrate using VirtualDub.
I managed to select the frames I wanted to re-encode, and re-encoded it with a two-pass Xvid encode at around 500 kbps. However, when I tried to append it onto the beginning of the original file (resaved with the credits cut off, of course), VirtualDub complained with:
Cannot append segment "file.avi": The video streams have different data formats.
I also tried using a one-pass quantitizer 25.0 encoding, and joining that to see if a two-pass encoding was the problem, but that also failed to with the above error. Both one/two pass videos play fine on their own, though.
What sort of restrictions are there on joining two Xvid video files? (ie different bitrates - that should be ok, right?) Where can I find out more info on the exact params/format used in the original? Or is there any other way I can get around this error?
Incidentally, when I first tried to open the original file, VirtaulDub came up with:
VirtualDub has detected an improprer VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatability. This may introduce up to 31054 ms of skew from the video stream. If this is unacceptable, decompress the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder.
I don't think this would affect the issue, since I used VirtualDub to resave both AVI files before trying to join them, but I just thought I'd mention it - then again, anybody know the best way to resolve the VBR issue as well?
Anwyay, any help would be appreciated, and thanks in advance.
cya,
Victor