Sample app does not process video on Android 10
wsidortsov opened this issue · 1 comments
wsidortsov commented
Steps to reproduce:
- Install the sample app on Android 10 device
- Grant permissions
- Hit "Basic Usage" button
- Pick any video file from the list and hit "START CODEC !!" button
Expected result:
Video file is being processed
Actual result:
Mp4Composer.Listener gets an "onFailed()" callback, because the constructor of the FilePathDataSource fails with FileNotFoundException (EACCESS (Permission denied).
Workaround:
Add android:requestLegacyExternalStorage="true" to the application tag in the manifest. See https://commonsware.com/blog/2019/06/07/death-external-storage-end-saga.html for an in-depth discussion.
MasayukiSuda commented
thanks!
bf782b6