Skip to content

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

License

Notifications You must be signed in to change notification settings

chaocharleswang/SGPlayer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.0 -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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 91.8%
  • Shell 7.7%
  • Metal 0.5%