ffmpeg-avplayer-for-ios-tvos

A tiny but powerful iOS and Apple TV OS av player framework that's based on the FFmpeg library.

  • Owner: moonlight-stream/moonlight-pc
  • Platform:
  • License:: GNU General Public License v3.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

A tiny but powerful av player framework for iOS and Apple TV OS. The SDK can play the most audio and video formats (Includes network audio and video streams), no convert hassles, no VLC and SDL dependent.

AVPlayer framework is written for iOS and Apple TV OS developers who want to add powerful av player to their app using a couple lines of code. Behind the scenes av player relies on the iOS OpenGL ES 2.0 framework and the open source LGPL licensed FFmpeg library.

###Note

  • Now AVPlayer framework is able to play high resolution videos by using hardware accelerator feature embedded in iPhone/iPad even for MKV or AVI in H264, but this feature requires arm64, iOS 8 or later devices.

###Compile Requirements

  • ARC
  • XCode 7.x & iOS SDK 9.x

###Deploy Requirements

  • ARMv7, ARMv7s, ARM64 and x86-64 architectures
  • iOS version: Deploy target iOS 7.0 or later
  • Apple TV OS version: Deploy target 9.0 or later

###Features

  • ARC support.
  • Bitcode support.
  • armv7, armv7s, arm64 and x86-64 support.
  • file, ftp, http, https, rtsp, rtmp and most of FFmpeg protocols support.
  • Hardware decoder support for H264 format. (iOS 8 or later, only available on iOS platform.)
  • Rich options of ffmpeg library support.
  • Disable audio or video stream.
  • Parse audio and video duration, frame size infos.
  • Grab video thumbnails.
  • Real-time bit & frame rate and network buffering progress calculation.
  • Query current playback time info.
  • Playback speed control.
  • Brightness, contrast and saturation control.
  • Background audio, video playback support.
  • Full screen mode support.
  • Aspect ratio option support.
  • System volume control.
  • Play from a specified time position.
  • Play, pause, resume, stop, fast forward, fast backward, seek position actions support.
  • Audio session interruption handler support
  • Delegate support, you can get notification when state, playback progress, buffering progress changed and enter/exit full screen mode.
  • Save, Restore playback progress support (block style).
  • Multiple audio, subtitle streams support.
  • SRT, ASS, SSA, SMI external subtitle formats support.
  • Embedded subtitle formats support.
  • Custom subtitle font, text color.

###Dolby License

DO NOT use dolby tech in your iOS app unless you have a dolby license.
Dolby Digital(AC3), Dolby Digital Plus(E-AC3) and Dolby TrueHD(MLP).

###DEMO Screeshots





###Contact us

Main metrics

Overview
Name With Ownermoonlight-stream/moonlight-pc
Primary LanguageC
Program languageObjective-C (Language Count: 6)
Platform
License:GNU General Public License v3.0
所有者活动
Created At2013-11-28 10:42:23
Pushed At2018-08-06 03:01:40
Last Commit At2018-08-05 20:01:39
Release Count37
Last Release Namev0.6.8 (Posted on )
First Release Namev0.1-prealpha (Posted on )
用户参与
Stargazers Count726
Watchers Count80
Fork Count93
Commits Count488
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count13
Pull Requests Open Count0
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private