Skip to content Skip to sidebar Skip to footer

Extracting Frame From Video From Storage Device Using MediaMetadataRetriever - IllegalArgumentException At SetDataSource()

I want to extract one frame from video in my app. The video is chosen from my storage device. After trying to call setDataSource I'm getting an IllegalArgumentException. Here is th

Solution 1:

use

med.setDataSource(context, imageUri)

if it does not work use MediaStore and get MediaStore URI


Post a Comment for "Extracting Frame From Video From Storage Device Using MediaMetadataRetriever - IllegalArgumentException At SetDataSource()"