i have terminal script for ffmpeg like : ffmpeg -i input_file -c:a aac -strict -2 -b:a 128k -c:v libx264 -profile:v baseline out.mp4

how can i run something like this in my app

有帮助吗?

解决方案

This isn't possible with the native iOS SDK, as that could easily lead to malicious apps on the App Store. If you must do so, try mobile terminal from cydia on a jailbroken iPhone, even then I doubt you would somehow be able to install ffmpeg on iOS without any porting. http://cydia.saurik.com/package/mobileterminal/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top