Permission Denied issue callQuery method returns failed
2022-06-02 17:11:50.505 21178-22210/ E/sfsffdf: ffmpeg version v4.4-dev-416 2022-06-02 17:11:50.506 21178-22210/ E/sfsffdf: Copyright (c) 2000-2020 the FFmpeg developers 2022-06-02 17:11:50.506 21178-22210/ E/sfsffdf: built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn) 2022-06-02 17:11:50.506 21178-22210/ E/sfsffdf: configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang++ --extra-libs='-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/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 --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-static --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-libwavpack --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec 2022-06-02 17:11:50.521 21178-22210/ E/sfsffdf: libavutil 56. 55.100 / 56. 55.100 2022-06-02 17:11:50.521 21178-22210/ E/sfsffdf: libavcodec 58. 96.100 / 58. 96.100 2022-06-02 17:11:50.521 21178-22210/ E/sfsffdf: libavformat 58. 48.100 / 58. 48.100 2022-06-02 17:11:50.521 21178-22210/ E/sfsffdf: libavdevice 58. 11.101 / 58. 11.101 2022-06-02 17:11:50.522 21178-22210/ E/sfsffdf: libavfilter 7. 87.100 / 7. 87.100 2022-06-02 17:11:50.522 21178-22210/ E/sfsffdf: libswscale 5. 8.100 / 5. 8.100 2022-06-02 17:11:50.522 21178-22210/ E/sfsffdf: libswresample 3. 8.100 / 3. 8.100 2022-06-02 17:11:50.530 21178-22210/ E/sfsffdf: /storage/emulated/0/Movies/abc/ZQQBNHZCWAMPKMS.mp4: Permission denied 2022-06-02 17:11:50.532 21178-22209/ E/sfsffdf: FAILED
@mihirmodiofficial Can you please post the query and operation being performed? Also have you changed any output path in module?
@mihirmodiofficial Did you get a chance to look into my comment? Please give helpful information to provide more clarity.
I have passed below command i am looking to overlay image on video
-y -i content://media/external/video/media/343837 -i /storage/emulated/0/Android/data/com.hyperlink.architecturecomponents/files/Pictures/Communiqu/JPEG_20220603_100127_719357998060299609.jpg -filter_complex [0:v][1:v] overlay=(W/2)-(w/2):(H/2)-(h/2) -strict experimental -s 320x480 -r 25 -vcodec mpeg4 -b 900k -ab 48000 -ac 2 -ar 22050 Movies/test/1654230687213output.mp4
@mihirmodiofficial the path for input "content://media/external/video/media/343837" should be different a filepath like second input "/storage/emulated/0/Android/data/com.hyperlink.architecturecomponents/files/Pictures/Communiqu/JPEG_20220603_100127_719357998060299609.jpg".
@mihirmodiofficial if everything looks fine, can you please let me know so i can close this in a few days?