Вопрос

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