Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文件路径中有空格的视频没法解析 #12

Open
voiceofnet2012 opened this issue Apr 1, 2022 · 1 comment
Open

文件路径中有空格的视频没法解析 #12

voiceofnet2012 opened this issue Apr 1, 2022 · 1 comment

Comments

@voiceofnet2012
Copy link

videoUrl=/storage/emulated/0/video/20190531_183536 (1).mp4

下面这俩方法都不行
execffmpeg(String cmd, FFmpegCallBack callBack)
execffmpeg(String[] cmd, FFmpegCallBack callBack)

ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 4.9.x (GCC) 20150123 (prerelease)
configuration: --logfile=conflog.txt --prefix=/Users/long/Desktop/FFmpeg/ffmpeg4.1.3/build/ffmpeg/android/arm64 --target-os=android --cpu=armv8-a --enable-pic --enable-small --enable-cross-compile --extra-libs=-lgcc --arch=aarch64 --cc=/Users/long/Desktop/YYL/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-gcc --cross-prefix=/Users/long/Desktop/YYL/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android- --nm=/Users/long/Desktop/YYL/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-nm --extra-cflags=-I/Users/long/Desktop/FFmpeg/ffmpeg4.1.3/build/x264/android/arm64/include --extra-ldflags=-L/Users/long/Desktop/FFmpeg/ffmpeg4.1.3/build/x264/android/arm64/lib --sysroot=/Users/long/Desktop/YYL/android-ndk-r14b/platforms/android-21/arch-arm64/ --disable-stripping --enable-zlib --enable-static --enable-pthreads --enable-network --enable-swscale --enable-hwaccels --enable-avfilter --enable-asm --enable-inline-asm --enable-version3 --disable-doc --disable-ffplay --disable-ffmpeg --disable-ffprobe --disable-protocol=udp --disable-protocol=udplite --disable-muxers --enable-muxer=mp4 --enable-muxer=h264 --enable-muxer=image2 --enable-muxer=mjpeg --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-encoder=png --enable-encoder=mjpeg --enable-gpl --enable-libx264 --enable-neon --enable-thumb --extra-cflags= --extra-ldflags='-lx264 -Wl,-rpath-link=/Users/long/Desktop/YYL/android-ndk-r14b/platforms/android-21/arch-arm64//usr/lib -L/Users/long/Desktop/YYL/android-ndk-r14b/platforms/android-21/arch-arm64//usr/lib -nostdlib -lc -lm -ldl -llog'
build date 2019.7.5 more info please see my github
https://github.com/mengzhidaren
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
/storage/emulated/0/video/20190531_183536: No such file or directory

@mengzhidaren
Copy link
Owner

可以参考Linux系统下 对特殊定符的转义处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants