Skip to content
A powerful media play framework for iOS, macOS, and tvOS.
Objective-C Shell Metal
Branch: master
Clone or download
Latest commit b7e65be Sep 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SGPlayer.xcodeproj SGSegment: Update. Sep 19, 2019
SGPlayer SGPlayer: Cancel auto-paused when entered background. Sep 27, 2019
demo SGSegment: Update. Sep 19, 2019
documents Update README Aug 20, 2019
scripts Build: Update configuration. Sep 19, 2019
.gitattributes add gitattributes Mar 9, 2017
.gitignore Build: Add build scripts. Aug 20, 2019
LICENSE Update LICENSE. Aug 20, 2019
README.md Update README.md. Sep 27, 2019
build.sh Build: Add build scripts. Aug 20, 2019

README.md

Logo

Build Status Platform

SGPlayer

  • SGPlayer is a powerful media play framework for iOS, macOS, and tvOS.

Based On

  • FFmpeg
  • Metal
  • AudioUnit

Features

  • iOS, tvOS, macOS.
  • 360° panorama video.
  • Background playback.
  • RTMP/RTSP streaming.
  • Setting playback speed.
  • Multiple audio/video tracks.
  • H.264/H.265 hardware accelerator.

Build

git clone https://github.com/libobjc/SGPlayer.git
cd SGPlayer
git checkout 2.0.1 -B latest

// iOS
./build.sh iOS build

// tvOS
./build.sh tvOS build

// macOS
./build.sh macOS build

Usage

  • Open demo/demo.xcworkspace with Xcode.

Dependencies

- SGPlayer.framework
- AVFoundation.framework
- AudioToolBox.framework
- VideoToolBox.framework
- libiconv.tbd
- libbz2.tbd
- libz.tbd

Flow Chart

Flow Chart

Related

Communication

You can’t perform that action at this time.