Log in

View Full Version : XCD question


Zenitram
23rd October 2003, 23:43
I try to understand XCD.
I read the FAQ

OK, It let me to have 800 MB on a 80 mn CD.
This is like Video-CD.

But I can play Video-CD without parser : have they the same overhead when I copy directly the DAT file on my HDD?
If yes, why Can I play them with no parser? (the player support VCD files?)

Is the overhead the only different thing in the files?
If I decide to analyse the file, how can I know if this is a file with overhead, or a normal file (which bytes)?

Thank to help a man who know nothing about XCD, but some people ask him to support it in his software ;-)

jcsston
23rd October 2003, 23:56
Originally posted by Zenitram
But I can play Video-CD without parser : have they the same overhead when I copy directly the DAT file on my HDD?
If yes, why Can I play them with no parser? (the player support VCD files?)
Most programs can read Video-CD .dat files, but some will not take the files until they have been converted to normal .mpg files with an external program.

Thank to help a man who know nothing about XCD, but some people ask him to support it in his software ;-)
If you are reading the files directly you may find this class .cpp (http://cvs.corecodec.org/cgi-bin/viewcvs.cgi/matroska/MatroskaUtils/MatroskaUtilsReader.cpp?rev=HEAD&content-type=text/vnd.viewcvs-markup) .h (http://cvs.corecodec.org/cgi-bin/viewcvs.cgi/matroska/MatroskaUtils/MatroskaUtilsReader.h?rev=HEAD&content-type=text/vnd.viewcvs-markup) helpful ;)
It can handle XCD transparently to other files. :D

Zenitram
24th October 2003, 00:12
Originally posted by jcsston
Most programs can read Video-CD .dat files, but some will not take the files until they have been converted to normal .mpg files with an external program.
OK. You only say I have .DAT files with big unuseful overhead on my HDD :))

If you are reading the files directly you may find this class .cpp (http://cvs.corecodec.org/cgi-bin/viewcvs.cgi/matroska/MatroskaUtils/MatroskaUtilsReader.cpp?rev=HEAD&content-type=text/vnd.viewcvs-markup) .h (http://cvs.corecodec.org/cgi-bin/viewcvs.cgi/matroska/MatroskaUtils/MatroskaUtilsReader.h?rev=HEAD&content-type=text/vnd.viewcvs-markup) helpful ;)
It can handle XCD transparently to other files. :D
I read quickly (late in France ;) ), seem to be the exact thing I am looking for!
So you say I must use MatroskaUtils not only for my Matroska interface, but all my library, arghhhh ;)
I will ask more and more questions by e-mail with Borland C++ builder, be warned :devil:

DeXT
25th October 2003, 14:44
@Zenitram:

Windows Media Player can read VCD DAT diles directly just because the default DirectShow MPEG Splitter has built-in DAT file parsing. However, it only works with MPEG-1 content (not MPEG-2 neither any other DirectShow-supported content). This is why you need a new MPEG parser to be able to play back SVCD content, even if you already have suitable MPEG-2 filters.

The XCD DSF fills this gap: it parses DAT files no matter their content (MPEG-1, MPEG-2, AVI etc) and makes the file to look transparent to the next filter in the chain. However, being it a Source filter, it's not suitable for every content out there (such as WMV, which is handled by its own file source filter).

@jcsston:

Nice work with that class ;)

DeXT