how to add video to gallery after save with ffmpeg lib?
first of all i save video with ffmpeg but saved video in android Q+ not showing in gallery app,
so how i can use MediaStore Api to add saved video in gallery,
i try this code but its create a null video with duplicate name (1) in gallary :
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
ContentResolver resolver = getContentResolver();
ContentValues contentValues = new ContentValues();
contentValues.put(MediaStore.Video.Media.TITLE, name);...