View Full Version : @XviD Dshow experts : whats wrong with matroska Dshow parser ?


ChristianHJW
16th December 2002, 12:19
Cheers,

we have some strange behaviour when trying to play matroska files containing XviD video streams, with Jan 'MyFUN/kromyx' Schlenker's latest edition of the parser filter.

For some weired reason the DivX decoder is inserted into the playback graph, and its impossible to insert either ffdshow or Xvid decoder filter manually, GE comes back with 'cant connect pins' message. The video plays, but is jerky and has blocks of bad colour.

We create the files with Suiryc's VdubMod_MCF, a test version that has old libmcf linked statically ( libmatroska will have same API as old libmcf, so it should be easy to update it ), and the matroska parser filter uses the same old libmcf.

The parser filter works excellent for DivX5 video and MP3 audio that was converted to old style MCF files with Steve's mpa2mcf.exe , currently we have probs with MP3 audio streams added to the file in Suiryc's VdubMod, as for some weired reason some time codes of blocks containing the MP3 info are set to zero ( Suiryc and myFUN are investigating this ).


For your understanding, these files are made in VfW compatibility mode, means we simply use the FourCC as codec ID, so its unaltered and says 'XviD' , not 'DivX' or 'DX50'.

My questions :

- How is it possible that Dshow inserts the DivX decoder filter automatically, for a XviD stream ?

- Can the DivX decoder accept any input formats the XviD decoder filter cant accept, means our parser filter was incompatible with XviD for the time being ?

- What kind of fallback system from DirectShow is active here, why is it inserting DivX decoder filter for a completely unknown FourCC ? Or did DivX Networks register there filter for the FourCC 'XviD' also ?

At first i thought the FourCC code is somehow read in reverse order, either by VdubMod or the parser, but why will DivX5 content work fine then ?

I'd be happy if anybody from the XviD Dshow team could have a look here, this is really weired ! Just drop me a PM here and i give you the download link of the tools you need ( VdubMod_MCF and parser filter ).