You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing on Android version 11 with the LTS version. I am trying to convert mp3 file to wav in by picking the input file from file manger as an Uri. I am using the function FFmpegKitConfig.getSafParameterForRead() to convert the uri into a path for processing but getting saf:123/testing_audio.mp3: Operation not permitted. Is there something I am missing or is it not supported for Android 11 ? Will be nice to get some help on the issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
I am testing on Android version 11 with the LTS version. I am trying to convert mp3 file to wav in by picking the input file from file manger as an Uri. I am using the function FFmpegKitConfig.getSafParameterForRead() to convert the uri into a path for processing but getting saf:123/testing_audio.mp3: Operation not permitted. Is there something I am missing or is it not supported for Android 11 ? Will be nice to get some help on the issue.
Logs
2021-07-09 09:02:13.921 E/ffmpe: ffmpeg version v4.4-dev-3015-gc0d0b1c4f6
2021-07-09 09:02:13.921 E/ffmpe: Copyright (c) 2000-2021 the FFmpeg developers
2021-07-09 09:02:13.921 E/ffmpe: built with Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
2021-07-09 09:02:13.921 n: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/storage/dark/projects/ffmpeg-kit/prebuilt/android-arm64-lts/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang++ --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs='-L/storage/dark/projects/ffmpeg-kit/prebuilt/android-arm64-lts/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-static --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libdav1d --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libtwolame --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec
2021-07-09 09:02:13.921 E/ffmpe: libavutil 56. 65.100 / 56. 65.100
2021-07-09 09:02:13.921 E/ffmpe: libavcodec 58.123.100 / 58.123.100
2021-07-09 09:02:13.921 E/ffmpe: libavformat 58. 67.100 / 58. 67.100
2021-07-09 09:02:13.921 E/ffmpe: libavdevice 58. 12.100 / 58. 12.100
2021-07-09 09:02:13.921 E/ffmpe: libavfilter 7.106.100 / 7.106.100
2021-07-09 09:02:13.921 E/ffmpe: libswscale 5. 8.100 / 5. 8.100
2021-07-09 09:02:13.921 E/ffmpe: libswresample 3. 8.100 / 3. 8.100
2021-07-09 09:02:13.921 E/ffmpe: saf:123/testing_audio.mp3: Operation not permitted
Environment
The text was updated successfully, but these errors were encountered: