In my android app, I have a video file which was encrypted by Cipher
, now I want to retrieve a video frame as thumbnail.
MediaMetadataRetriever
could do this job in normally, the method void setDataSource (MediaDataSource dataSource) maybe the key to my problem, but it is added in API level 23, I need to do the job on lower API level too.
I found a library called FFmpegMediaMetadataRetriever
, but it can't set data source by custom inputstream.
So does someone have a good idea?