• Stars
    star
    2,062
  • Rank 22,415 (Top 0.5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A powerful media play framework for iOS, macOS, and tvOS.

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