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

关于判定时间与实际不符的问题 #46

Closed
williamfzc opened this issue Aug 30, 2019 · 0 comments
Closed

关于判定时间与实际不符的问题 #46

williamfzc opened this issue Aug 30, 2019 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@williamfzc
Copy link
Owner

williamfzc commented Aug 30, 2019

非常值得注意的是,分析结果的准确性与如何录制视频有较大关联性。以android为例,通常使用adb shell screenrecord 录制出来的视频,fps是不稳定的。

The frame rate is variable, not fixed. Every time the screen is updated, one frame is recorded. If the screen is not updated, no frame is recorded. Therefore there is no setting for the frame rate, because it's determined by how quickly the system updates the screen.

而这种不稳定很可能带来非常巨大的误差,绝对不应该被忽视。

image

image

如上述例子,同一个场景下,不同的录制方法导致的误差达到了3s之多。

目前推荐两种视频录制方式:

对于已有视频,请参考:

ffmpeg -i input.mp4 -r 60 output.mp4
@williamfzc williamfzc added documentation Improvements or additions to documentation help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Aug 30, 2019
@williamfzc williamfzc pinned this issue May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant