files / file paths with blank spaces are not supported #960
Labels
android
Affect Android platform
library
Affects the library
no-issue-activity
question
Further information is requested
v6.0
Description
I tried to cut a video file under this path /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Video/VID-20240404-WA0012.mp4, ffmpeg returns an error, the files doesn't exists and gives me this error:
D /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp: No such file or directory
it simply cuts the path at the first blank space, when I copy the file to another path without blank spaces everything is working fine.
To Reproduce
Just try to perform any action via ffmpeg with a file path which includes blank spaces, it will say that the file isn't existing
Logs
Video Path: /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Video/VID-20240404-WA0012.mp4
I Loading ffmpeg-kit.
D Async callback block started.
I Loaded ffmpeg-kit-full-arm64-v8a-6.0-20230913.
D ffmpeg version n6.0
D Copyright (c) 2000-2023 the FFmpeg developers
D
D built with Android (7155654, based on r399163b1) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
D configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/sue/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --target-os=android --enable-neon --enable-asm --enable-inline-asm --ar=aarch64-linux-android-ar --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs='-L/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --disable-autodetect --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-static --enable-shared --enable-pthreads --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --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 --disable-sdl2 --enable-libvo-amrwbenc --enable-libzimg --disable-openssl --enable-zlib --enable-mediacodec
D libavutil 58. 2.100 / 58. 2.100
D libavcodec 60. 3.100 / 60. 3.100
D libavformat 60. 3.100 / 60. 3.100
D libavdevice 60. 1.100 / 60. 1.100
D libavfilter 9. 3.100 / 9. 3.100
D libswscale 7. 1.100 / 7. 1.100
D libswresample 4. 10.100 / 4. 10.100
D /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp: No such file or directory
D Command failed with state COMPLETED and rc 1.null
D FFmpeg process exited with state COMPLETED and rc 1.null
D connecting to surface 0xb400007417f230f0, reason connectToSurface
Environment
Android
arm64
, probably others toov6.0 - 2
main
4.0
The text was updated successfully, but these errors were encountered: