movie player for iOS using ffmpeg
Objective-C Perl Ruby
Pull request Compare This branch is 49 commits behind kolyvan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FFmpeg @ d312ffd
KxMovieExample
kxmovie.xcodeproj
kxmovie
.gitignore
.gitmodules
Rakefile
gas-preprocessor.pl
lgpl-3.0.txt
readme.md
screenshot-info.png
screenshot-movie.png

readme.md

KxMovie - movie player for iOS using ffmpeg

Build instructions:

First you need download, configure and build FFmpeg. For this open console and type in

cd kxmovie
git submodule update --init	
rake

Usage

  1. Drop files from kxmovie/output folder in your project.
  2. Add frameworks: MediaPlayer, CoreAudio, AudioToolbox, Accelerate, QuartzCore, OpenGLES and libz.dylib .
  3. Add libs: libkxmovie.a, libavcodec.a, libavformat.a, libavutil.a, libswscale.a, libswresample.a

For play movies:

ViewController *vc;
vc = [KxMovieViewController movieViewControllerWithContentPath:path parameters:nil];
[self presentViewController:vc animated:YES completion:nil];

See KxMovieExample demo project as example of using.

Also, you can include kxmovie as subproject. Look at kxtorrent as example.

Remember, you need to copy some movies via iTunes for playing them. And you can use kxmovie for streaming from remote sources via rtsp,rtmp,http,etc.

Requirements

at least iOS 5.1 and iPhone 3GS

Screenshots:

movie view info view

Feedback

Tweet me — @kolyvan_ru.