Skip to content

jboss42/kxmovie

 
 

Repository files navigation

KxMovie - movie player for iOS using ffmpeg (modified by kinglonghuang)

Build instructions:

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

cd kxmovie
git submodule update --init	
rake 

Generally, rake will build the armv7,armv7s,i386,and the universal versions under the ./kvmovie folder
you can also using one of these cmds below to specify the architecture:

rake 
rake build_ffmpeg_i386
rake build_ffmpeg_armv7
rake build_ffmpeg_armv7s

Usage

  1. Open the kxmovie.xcodeproj with Xcode and drop the kxmovie/ffmpeg_XX into your project.
  2. Set the “header search path” to your “ffmpeg_XX/include” folder, something like "$(SRCROOT)/kxmovie/ffmpeg_armv7/include"
  3. Command+B, enjoy yourself :)

Note: If you want to build only the armv7 version, delete the armv7s item in the “Vaild Architectures” row, or delete the armv7 item if you want to build only a armv7 version

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. Email: [email protected]

About

movie player for iOS using ffmpeg

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 96.5%
  • Ruby 3.5%