View Full Version : please help to make a "joinable" xvid
madman80
7th September 2004, 17:24
Hi. I'm subbing the intro of an anime serie that's coded in xvid. I use virtualdubmod to separate the intro of the chapters. My idea is to hardsub the intro encoding it again in xvid and join it with the chapters. But when I try to join the re-encoded subbed intro with the first chapter virtualdubmod tells me "the video strems have different data formats."
I suppose it might be a different configuration of the xvid encoding. So please may someone tell me the configuration that I need to use in the re-encoding?
This is a screenshot of the original avi info:
original xvid (http://www.iespana.es/lawebdejotero/original.jpg)
And this is a screenshot of the re-encoded avi info:
re-encoded (http://www.iespana.es/lawebdejotero/reencoded.jpg)
What xvid settings do I need to use in the reencoded avi to be able of join them?
The error might be because the original video could be made using xvid 1.0.1 and I'm encoding using xvid 1.0.2?
Manao
7th September 2004, 22:05
You need to have the same settings concerning qpel, b-frames, gmc, interlacing, and adaptive quantization ( which means all the settings that are on the same page ). The same matrix has to be used ( though I'm not quite sure on that point ).
Apart from that, the obvious, which you already preserved : same resolution, same framerate, same audio file.
To find the settings of the video you want to reencode, use FFDshow and its OSD function to find whether qpel / b-frame and gmc were used. Interlacing should not have been used. Adaptive quantisation can be guessed by asking FFDshow to show 'visualisations' of the quantizers used in the frame. If one is different from the other, adaptive quantisation was used ( you can't be sure of the contrary, but on the whole sequence, if adaptive quantisation was used, you should be able to find a frame which shows at least two different quantizers ).
cinco
8th September 2004, 16:45
I have the same problem.
Manao, how did you get Qpel, GMC and packed bitstream info from FDDshow OSD ? The only thing I get is frame type (I,P or B). Qpel, GMC, and B-frame usage can be read by AviCheck utility.
Is it necessary that both clips are encoded with same version of XviD (are 0.9x and 1.x compatible for joining) ?
How can I find which version of XviD was used for encoding?
Thanks
Stjepan
Krismen
8th September 2004, 17:18
@madman80 & cinco
Maybe this (http://latin.icis.pcz.pl/~martin/vdm.rar) version of VDM will help you to join the clips.
madman80
8th September 2004, 19:09
Thank you Krismen. That version of virtualdubmod joins them but I have a problem with the audio. It seems to freeze sometimes but continues. But maybe I have my pc working too much time and that's the cause.
@Cinco You can see the version of the encoded xvid with the OSD of ffdshow. You need to activate de "Encoder Info" there.
By the way...my original video was coded with xvid build 9. I found a build 12 and encoded the video with it but the problem stills.
Anyone could tell me where to find the build 9 to download it and try? I can't find it.
Thanks in advice
cinco
8th September 2004, 22:12
I have a ffdshow version from 8th of August 2004 and there is only a "decoder" entry under OSD. For the XviD in question it shows "XviD 4" (??). The problem is if I use libavcodec for decoding it says "Decoder:libavcodec". So I suppose it show the decoder name (like the name would suggests ;))
Even if we manage to join incompatibile (differnt settings) XviD clips, the result will not be MPEG-4 compliant (at least according to FAQ at this forum), and might not be playable with future XviD releases (let alone on standalones). To avoid this getting the right info about encoded file is crucial
for older XviD versions try:
version from 16.07.2003 - http://nic.dnsalias.com/xvid.html
version from 24.02.2003 - http://umaniac.leffe.dnsalias.com/stable/stable.html
Does anybody knows the software that can get all the relevant info about XviD file?
madman80
9th September 2004, 04:22
Finally I get it!
Using the xvid version 16.07.2003 (build 12) (thank you Cinco) and the instructions from Manao (thank you Manao) any version of virtualdub joins the videos :) That's what I wanted to do.
@Cinco: I use ffdshow 28/08/2004. Try to download it. At least in this version the OSD shows the version of the Xvid ENcoder.
lordadmira
10th September 2004, 04:02
Originally posted by Manao
You need to have the same settings concerning qpel, b-frames, gmc, interlacing, and adaptive quantization ( which means all the settings that are on the same page ). The same matrix has to be used ( though I'm not quite sure on that point ).
It only has to have the same stream global settings. B-frame, GMC, and Adaptive are decided on a per frame basis IIRC so joining segments with or without them should work. I'm not sure where the QP setting is written. I know people have joined segments with different matrices before and it worked, though I'm sure that's not kosher.
LA
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.