First you need download, configure and build FFmpeg. For this open console and type in
cd kxmovie
git submodule update --init
rake
- Drop files from kxmovie/output folder in your project.
- Add frameworks: MediaPlayer, CoreAudio, AudioToolbox, Accelerate, QuartzCore, OpenGLES and libz.dylib
For play movies:
ViewController *vc;
vc = [KxMovieViewController movieViewControllerWithContentPath:path error:nil];
[self presentViewController:vc animated:YES completion:nil];
Also, see KxMovieExample demo project as example of using. Remember, you need to copy some movies via iTunes for playing them.
at least iOS 5.1 and iPhone 3GS
Tweet me — @kolyvan_ru.