在我的 android 应用程序中,我想提取视频帧。我正在使用 MediaMetaDataRetriever。
我如何设置数据源
Log.d("DEBUG", videoPathUri.getPath());
metadataRetriever.setDataSource(mContext, videoPathUri);
这是日志输出
/storage/emulated/0/Android/data/com.live.hootout/files/HootVideos/10701.mp4
如何将存储在 android 数据文件夹中的视频加载到 mediametadataretriever 中?