Adtf dat files - streams and structure types

天涯浪子 提交于 2019-12-10 15:56:13

问题


ADTF dat file contains streams of data. In the .dat file there is only a stream name. To find the structure of the stream one has to go through DDL .description file.

Sometimes the .description files are incomplete or are missing link from stream name to corresponding structure.

Is there some additional information about structure name hidden in the .dat file itself? (Or my understanding is completely wrong?)


回答1:


You must differ between ADTF 2.x and ADTF 3.x and their (adtf)dat file structure.

ADTF 2.x:

You are right, you can only interpret data with ddl. The stream must point to a structure described in Media Description.

Sometimes the .description files are incomplete or are missing link from stream name to corresponding structure.

You can avoid this by enable the Option Create Media Description in Harddisk Recorder. Then a *.dat.description will be stored next to the same-titled *.dat file, which contains the correct stream and structure reference, because it was available during recording.

Is there some additional information about structure name hidden in the .dat file itself?

No, it is only the stream name. So you need to know the data structure behind to interpret. If you have the header (c-struct), you can also convert to ddl and refer to that.

ADTF 3.x:

To avoid these problems for not available or incorrect description files, the DDL is now stored in the *.adtfdat file in ADTF 3.x



来源:https://stackoverflow.com/questions/50344082/adtf-dat-files-streams-and-structure-types

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!