Code Monkey home page Code Monkey logo

kxmovie's Introduction

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]

kxmovie's People

Contributors

kolyvan avatar kinglonghuang avatar kristopherjohnson avatar gardere avatar

Watchers

James Cloos avatar phoenixbull avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.