Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于播放AVF的问题 #1

Open
lannaican opened this issue Jun 14, 2018 · 2 comments
Open

关于播放AVF的问题 #1

lannaican opened this issue Jun 14, 2018 · 2 comments

Comments

@lannaican
Copy link

请问avf解析里面event[0]到event[7]各自表示什么? 我按照里面的解析过程为什么video里的row和column总是有部分会越界, 例如出现4095这样的情况

@hgraceb
Copy link
Owner

hgraceb commented Jun 29, 2018

event[0]是鼠标事件,event[1]和event[3]共同表示鼠标点击位置横坐标,event[5]和event[7]共同表示鼠标点击位置纵坐标,event[2]和event[6]共同表示当前事件秒数,event[4]表示当前事件毫秒数。越界情况可能是计算公式有误或者没有正确读取event事件。
可参考c代码avf2rawvf源文件:(复制链接新窗口打开或者选中链接-转到即可下载源文件)
http://minesweepergame.com/forum/download/file.php?id=252&sid=e5ef87645b0535f16baf405e381608e3

@lannaican
Copy link
Author

感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants