积极答复者
把数据文件解析成指定的文件格式

问题
答案
-
Hi,
那就只能找到给你数据文件的人,告诉你格式了,这个单机软件如果是第三方公司的,你应该去咨询第三方公司的客户支持。
因为你的问题涉及到三方产品,我将把它移到一般讨论去。
Best Regards,
Hart
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
- 已编辑 Hart WangModerator 2017年5月19日 7:49
- 已标记为答案 lctk 2017年5月27日 0:14
全部回复
-
Hi,
我下载你提供的文件,同文本工具,打开以后显示的都是一下乱的汉字。
我认为你既然都已经能解析出来文件,根据你是怎么解析的步走,就应该知道这个文件的头部是什么,结束标志位是什么。
还有如果这个协议是双方定好的,你应该查看一下协议书。
对于音频文件协议一般是pcm或者aac,或者MP3. 视频格式一般是H265,还有原始的RGB格式,
对于网络就是常用的TCP, UDP,RTP格式。
你可以根据文件大致是什么内容,来进行排除。
Best Regards,
Hart
下面是我测试你的文件截图
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
- 已编辑 Hart WangModerator 2017年5月4日 3:08
-
Hi,
我下载你提供的文件,同文本工具,打开以后显示的都是一下乱的汉字。
我认为你既然都已经能解析出来文件,根据你是怎么解析的步走,就应该知道这个文件的头部是什么,结束标志位是什么。
还有如果这个协议是双方定好的,你应该查看一下协议书。
对于音频文件协议一般是pcm或者aac,或者MP3. 视频格式一般是H265,还有原始的RGB格式,
对于网络就是常用的TCP, UDP,RTP格式。
你可以根据文件大致是什么内容,来进行排除。
Best Regards,
Hart
下面是我测试你的文件截图
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
please verify my account
-
Hi,
这个就是协议,你现在可以抓取内存的东西,跟协议中的参数,进行对比。
看参数是否能对上。 如果不对,可能这个版本的协议已经有变动,不是最新的协议了。
Best Regards,
Hart
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
-
如果协议是在网络上面传输,你可以用wireshark 来抓包,如果是串口工具,你可以用debug工具来排查。
如果你使用的是类似VS这种编译环境,你可以直接查看内存.
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
-
Hi,
那就只能找到给你数据文件的人,告诉你格式了,这个单机软件如果是第三方公司的,你应该去咨询第三方公司的客户支持。
因为你的问题涉及到三方产品,我将把它移到一般讨论去。
Best Regards,
Hart
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
- 已编辑 Hart WangModerator 2017年5月19日 7:49
- 已标记为答案 lctk 2017年5月27日 0:14