我想获得一个视频文件的框架在Android的画廊视图来显示。以及如何编辑框架,例如:
I want to get the frames of a video file to show in a gallery view in android. and how to edit frames, for example
选择框部
使用选定的部分。
删除选定的部分。
复制选定的部分。
切割选定的部分。
粘贴到头部
粘贴到尾部
您可以使用类MediaMetadataRetriever类。它有getFrameAt()方法,其中,你可以指定你想要得到的帧的时间。
You can use the MediaMetadataRetriever class. It has getFrameAt() method wherein you can specify the time of the frame that you want to get.
有关详细信息,请参阅类MediaMetadataRetriever
For details refer to MediaMetadataRetriever