kolyvan/kxmovie

movie player for iOS using ffmpeg

2,855

stars

102

commits

Objective-C

primary language

Jul 11, 2024

updated

README

FFmpegPlayer-iOS - A movie player for iOS based on FFmpeg.

Build Instructions

First you need to 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 7.0 and iPhone 4 (because of iOS 7 requirements).

Screenshots

Movie View Info View Movie View Landscape

Feedback

Tweet me — @kolyvan_ru.

Tweet me — @MonsieurDart.

Contributors

kolyvan

71 commits

MonsieurDart

24 commits

Jahor

4 commits

gardere

1 commits

kolyvan/kxmovie

movie player for iOS using ffmpeg

2,855

stars

102

commits

Objective-C

primary language

Jul 11, 2024

updated

README

FFmpegPlayer-iOS - A movie player for iOS based on FFmpeg.

Build Instructions

First you need to 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 7.0 and iPhone 4 (because of iOS 7 requirements).

Screenshots

Movie View Info View Movie View Landscape

Feedback

Tweet me — @kolyvan_ru.

Tweet me — @MonsieurDart.

Contributors

kolyvan

71 commits

MonsieurDart

24 commits

Jahor

4 commits

gardere

1 commits

Languages

Objective-C

91.3%

Ruby

3.1%

C++

2.5%

C

1.9%

Shell

1.2%