문제

Is there a way of changing the frequency of a keyframe when using the android camera? I'm using an intent to record video, and then the MediaMetaDataRetriever class to extract frames, but the keyframes are too far apart for my liking.

도움이 되었습니까?

해결책

You can use getFrameAtTime (long timeUs, int option) using OPTION_CLOSEST to get a frame that is not a key frame, so you can access any frame you want.

The only problem is that this frame is not a key frame so it can be pixelated.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top