我的文件名是包含图像系列的文件夹(image_0001.png、image_0002.png...)
/storage/emulated/0/My Image/image_%04d.png
我尝试使用引号“”
-i "/storage/emulated/0/My Image/image_%04d.png"
和%20
-i /storage/emulated/0/My%20Image/image_%04d.png
但是它不起作用。我该怎么做?
我的命令
-f image2 -i /storage/emulated/0/background.png -i /data/user/0/My Image/image_%04d.png -filter_complex [1:v]scale=200.0:200.0[scale];[0:v][scale]overlay=0.0:0.0 /storage/emulated/0/output.mp4
错误
: /data/user/0/My: No such file or directory
最佳答案
ffmpeg 对于引用和转义有特殊的规则。找到here在他们的网站上。
因此使用引号 (' ') 应该适合您。
关于java - ffmpeg 不适用于文件名有空格的情况,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53389138/