Young King
Young King

Reputation: 79

ffmpeg not working with filename have whitespace

My file name is a folder with image series (image_0001.png,image_0002.png...)

 /storage/emulated/0/My Image/image_%04d.png

I tried with quote ""

-i "/storage/emulated/0/My Image/image_%04d.png"

and %20

-i /storage/emulated/0/My%20Image/image_%04d.png

But it not working. How can i do this ?

My command

 -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

Error

: /data/user/0/My: No such file or directory

Upvotes: 3

Views: 3580

Answers (1)

philszalay
philszalay

Reputation: 433

ffmpeg has special rules for quoting and escaping. Found here on their website.

So using quotes (' ') should work for you.

Upvotes: 3

Related Questions