Use FFMPEG in XCode(for MacOS)

1. Download FFMPEG binary
Visit https://ffmpeg.org -> Download -> Apple logo -> Download "Static builds for OS X Intel 64-bit". This will contain single ffmpeg binary.


2. Add "ffmpeg" from above as bundle resource


3.  Use Bundle to execute ffmpeg command


You can also intercept console output from the process or interrupt the process when problem occurred.



References
- http://stackoverflow.com/a/37422688/2279149

댓글

이 블로그의 인기 게시물

Unity에서 모델의 폴리곤의 반대편이 랜더링 되지 않는 문제 해결 방법