extract all video frames in Android

后端 未结 3 973
天涯浪人
天涯浪人 2020-12-06 07:23

I recorded a Video for limited time. Now i want to fetch all frames of video. I am using the below code and by using it i am able to get frames but i am not getting all vide

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-06 08:02

    You need to do :

    1. Decode the video.
    2. Present the decoded images at least as fast as 24 images / second. I suppose you can skip this step.
    3. Save the decoded images.

    It appears that decoding the video would be the most challenging step. People and companies have spent years developing codecs (encoder / decoder) for various video formats.

    Use this library JMF for FFMPEG.

提交回复
热议问题