Mobile-ffmpeg: Spaces in input files

Created on 29 Sep 2018  路  3Comments  路  Source: tanersener/mobile-ffmpeg

Hi! I just want to ask since i noticed the string command dont accept double quotes or single quotes on input files? how do I add them since some of my filenames have spaces. Or is there an alternative way to escape spaces in filenames on input files? Thanks

usage

Most helpful comment

You are right, execute method accepts a single string and splits it using spaces.

There is an overloaded execute method with array input in Android and an executeWithArray method for IOS which accepts NSArray. You can build your command as array, deciding where to split your command, and use one of these methods depending on your platform.

All 3 comments

You are right, execute method accepts a single string and splits it using spaces.

There is an overloaded execute method with array input in Android and an executeWithArray method for IOS which accepts NSArray. You can build your command as array, deciding where to split your command, and use one of these methods depending on your platform.

@fayte0618 do you still need help, can we close this issue?

I'm closing this issue, you can re-open it if you need help.

Was this page helpful?
0 / 5 - 0 ratings