标签:
来源:https://github.com/jgh-/VideoCore
,
, or
.
api/iOS | 6 months ago | |
docs | a year ago | |
filters | 6 months ago | |
mixers | 7 months ago | |
rtmp | 7 months ago | |
sample | 6 months ago | |
sources | 4 months ago | |
stream | 7 months ago | |
system | 7 months ago | |
transforms | 7 months ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 4 months ago | |
VideoCore.podspec | 6 months ago |
VideoCore is a project inteded to be an audio and video manipulation and streaming graph. It currently works with iOS and periodic (live) sources. It is a work in progress and will eventually expand to other platforms such as OS X and Android. Contributors welcome!
Create a Podfile
with the contents
platform :ios, ‘6.0‘
pod ‘VideoCore‘, ‘~> 0.2.0‘
Next, run pod install
and open the xcworkspace
file that is created.
The SampleBroadcaster project in the sample folder uses CocoaPods to bring in VideoCore as a dependency:
cd sample/SampleBroadcaster
pod install
open SampleBroadcaster.xcworkspace
... or you can build from the command-line:
xcodebuild -workspace SampleBroadcaster.xcworkspace -scheme SampleBroadcaster build
More on CocoaPods: http://cocoapods.org/
VideoCore‘s architecture is inspired by Microsoft Media Foundation (except with saner naming). Samples start at the source, are passed through a series of transforms, and end up at the output.
e.g. Source (Camera) -> Transform (Composite) -> Transform (H.264 Encode) -> Transform (RTMP Packetize) -> Output (RTMP)
videocore/
sources/
videocore::ISource
videocore::IAudioSource : videocore::ISource
videocore::IVideoSource : videocore::ISource
videocore::Watermark : videocore:IVideoSource
iOS/
videocore::iOS::CameraSource : videocore::IVideoSource
Apple/
videocore::Apple::MicrophoneSource : videocore::IAudioSource
OSX/
videocore::OSX::DisplaySource : videocore::IVideoSource
videocore::OSX::SystemAudioSource : videocore::IAudioSource
outputs/
videocore::IOutput
videocore::ITransform : videocore::IOutput
iOS/
videocore::iOS::H264Transform : videocore::ITransform
videocore::iOS::AACTransform : videocore::ITransform
OSX/
videocore::OSX::H264Transform : videocore::ITransform
videocore::OSX::AACTransform : videocore::ITransform
RTMP/
videocore::rtmp::H264Packetizer : videocore::ITransform
videocore::rtmp::AACPacketizer : videocore::ITransform
mixers/
videocore::IMixer
videocore::IAudioMixer : videocore::IMixer
videocore::IVideoMixer : videocore::IMixer
videocore::AudioMixer : videocore::IAudioMixer
iOS/
videocore::iOS::GLESVideoMixer : videocore::IVideoMixer
OSX/
videocore::OSX::GLVideoMixer : videocore::IVideoMixer
rtmp/
videocore::RTMPSession : videocore::IOutput
stream/
videocore::IStreamSession
Apple/
videocore::Apple::StreamSession : videocore::IStreamSession
标签:
原文地址:http://www.cnblogs.com/sunminmin/p/4976355.html