Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
keyframe使用android相机时有没有办法改变a的频率?我正在使用意图来录制视频,然后使用MediaMetaDataRetriever类来提取帧,但是keyframes它们之间的距离太远了,我不喜欢。
keyframe
MediaMetaDataRetriever
keyframes
您可以通过 OPTION_CLOSEST 使用 getFrameAtTime (long timeUs, int option) 来获取不是关键帧的帧,因此您可以访问您想要的任何帧。
唯一的问题是这个帧不是关键帧,所以它可以被像素化。