Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libobjc/SGPlayer
A powerful media play framework for iOS, macOS, and tvOS.
https://github.com/libobjc/SGPlayer
360-video ffmpeg ios macos player tvos
Last synced: about 1 month ago
JSON representation
A powerful media play framework for iOS, macOS, and tvOS.
- Host: GitHub
- URL: https://github.com/libobjc/SGPlayer
- Owner: libobjc
- License: mit
- Created: 2017-03-09T06:00:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-03T14:59:35.000Z (5 months ago)
- Last Synced: 2024-10-29T15:21:46.816Z (about 1 month ago)
- Topics: 360-video, ffmpeg, ios, macos, player, tvos
- Language: Objective-C
- Homepage:
- Size: 13.9 MB
- Stars: 2,143
- Watchers: 83
- Forks: 417
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - SGPlayer
- Awesome-iOS - SGPlayer - A powerful media play framework for iOS, macOS, and tvOS. (Media)
README
![Logo](https://github.com/libobjc/SGPlayer/blob/master/documents/banner.jpg?raw=true)
![Build Status](https://img.shields.io/badge/build-%20passing%20-brightgreen) ![License](https://img.shields.io/badge/license-MIT-red) ![Platform](https://img.shields.io/badge/Platform-%20iOS%20macOS%20tvOS%20-blue)
# SGPlayer
- SGPlayer is a powerful media play framework for iOS, macOS, and tvOS.
## Features
- iOS, tvOS, macOS.
- 360° panorama video.
- Compose complex asset.
- Background playback.
- RTMP/RTSP streaming.
- Setting playback speed.
- Multiple audio/video tracks.
- H.264/H.265 hardware accelerator.
- Accurate status notifications.
- Thread safety.## Based On
- FFmpeg
- Metal
- AudioToolbox## Requirements
- iOS 13.0 or later
- tvOS 13.0 or later
- macOS 10.15 or later## Getting Started
#### Build FFmpeg and OpenSSL
- Build scripts are used by default for FFmpeg 4.4.4 and OpenSSL 1.1.1w
```obj-c
git clone https://github.com/libobjc/SGPlayer.git
cd SGPlayer
git checkout 2.1.0 -B latest// iOS
./build.sh iOS build// tvOS
./build.sh tvOS build// macOS
./build.sh macOS build
```#### Open demo project in Xcode
- Open demo/demo.xcworkspace. You can see simple use cases.
#### Check Dependencies
```obj-c
- SGPlayer.framework
- AVFoundation.framework
- AudioToolBox.framework
- VideoToolBox.framework
- libiconv.tbd
- libbz2.tbd
- libz.tbd
```## Flow Chart
![Flow Chart](https://github.com/libobjc/SGPlayer/blob/master/documents/flow-chart.jpg?raw=true)
## Author
- GitHub : [Single](https://github.com/libobjc)
- Email : [email protected]## Developed by Author
- [KTVHTTPCache](https://github.com/ChangbaDevs/KTVHTTPCache) - A smart media cache framework.
- [KTVVideoProcess](https://github.com/ChangbaDevs/KTVVideoProcess) - A High-Performance video effects processing framework.