goodow / gdlivestreaming Goto Github PK
View Code? Open in Web Editor NEWLive audio and video manipulation pipeline
Home Page: https://www.youtube.com/channel/UCdjnlV-kzI3pEldEZRjY9aQ/live
License: MIT License
Live audio and video manipulation pipeline
Home Page: https://www.youtube.com/channel/UCdjnlV-kzI3pEldEZRjY9aQ/live
License: MIT License
这种方法开启不了GPUImage滤镜
GPUImageVideoCamera *videoCamera = [[GPUImageVideoCamera alloc] initWithSessionPreset:AVCaptureSessionPreset640x480 cameraPosition:AVCaptureDevicePositionBack];
videoCamera.outputImageOrientation = UIInterfaceOrientationPortrait;
GPUImageFilter *customFilter = [[GPUImageFilter alloc] initWithFragmentShaderFromFile:@"CustomShader"];
GPUImageView *filteredVideoView = [[GPUImageView alloc] initWithFrame:CGRectMake(0.0, 0.0, viewWidth, viewHeight)];
// Add the view somewhere so it's visible
[videoCamera addTarget:customFilter];
[customFilter addTarget:filteredVideoView];
下载下来 项目里pods.xcodeproj是红的 pod insatall 中说 “[!] No podspec found for VideoCore
in ../VideoCore
” 根本运行不了 求解答 最近遇到好多这种问题没解决了 - -
Hello! I am iOS developer. And I am making an iOS app related to video broadcast.
And your project "GDLiveStreaming" is very helpful for me.
But this project is removed today!!
Can you tell me why this project is Deprecated i detail if you can?
And replace to LFLiveKit?
Is there a benefit that library is changed from VideoCore to LFLiveKit?
你好,感谢提供这么好的项目,按你的提示在clone项目后,在 Example 目录执行 pod install 出错,如下
owendeiMac:Example owen$ pod install
Analyzing dependencies
Fetching podspec for GDLiveStreaming
from ../
Fetching podspec for VideoCore
from ../VideoCore
[!] No podspec found for VideoCore
in ../VideoCore
请问如何解决?
log如下:
2016-06-17 13:38:34.200 GDLiveStreaming_Example[10579:3638533] Creating context
2016-06-17 13:38:34.222 GDLiveStreaming_Example[10579:3638593] Focus mode not supported: AVCaptureFocusModeContinuousAutoFocus
2016-06-17 13:38:34.222 GDLiveStreaming_Example[10579:3638593] Exposure mode not supported: AVCaptureExposureModeContinuousAutoExposure
Connecting: xxx, stream name:letest
ClientState: 1
ClientState: 2
ClientState: 3
Want read:4096, read:1428
ClientState: 4
Not enough s1 size
Want read:2668, read:1645
ClientState: 5
ClientState: 6
Tracking command(1, connect)
Want read:4096, read:305
Steam in buffer size:305
First byte:0x2, header type:0
Handle message:5
Received server window size: 2500000
Steam in buffer size:289
First byte:0x2, header type:0
Handle message:6
Received peer bandwidth limit: 2500000 type: 2
Steam in buffer size:272
First byte:0x2, header type:0
Handle message:1
Request to change incoming chunk size from 128 -> 4096
Steam in buffer size:256
First byte:0x3, header type:0
Handle message:20
Received invoke
Received invoke _result
Find command: connect for ID:1
Tracking command(2, releaseStream)
Tracking command(3, FCPublish)
Tracking command(4, createStream)
ClientState: 7
Want read:4096, read:33
Steam in buffer size:33
First byte:0x3, header type:0
Handle message:20
Received invoke
Received invoke onBWDone
Want read:4096, read:0
Read from stream error:0
ClientState: 11
推送的代码:
_videoCamera = [[GPUImageVideoCamera alloc] initWithSessionPreset:AVCaptureSessionPresetiFrame960x540 cameraPosition:AVCaptureDevicePositionFront];
_videoCamera.outputImageOrientation = UIInterfaceOrientationPortrait;
_videoCamera.frameRate = 20;
CGSize viewSize = self.view.frame.size;
GPUImageView *filteredVideoView = [[GPUImageView alloc] initWithFrame:CGRectMake(0.0, 0.0, viewSize.width, viewSize.height)];
[self.view addSubview:filteredVideoView];
[_videoCamera addTarget:filteredVideoView];
GDLRawDataOutput *rtmpOutput = [[GDLRawDataOutput alloc] initWithVideoCamera:_videoCamera withImageSize:CGSizeMake(400, 712)];
[_videoCamera addTarget:rtmpOutput];
beautifyFilter = [[GPUImageBeautifyFilter alloc] init];
[GDLFilterUtil insertFilter:beautifyFilter before:filteredVideoView toChain:_videoCamera];
[rtmpOutput startUploadStreamWithURL:@"rtmp://xxx/live/" andStreamKey:@"letest"];
_videoCamera.audioEncodingTarget = nil;
[_videoCamera startCameraCapture];
in the demo code,error will occur when I set the videoSize from CGSizeMake(720,1280) to CGSizeMake(360,640);
here is the code
CGSize size = CGSizeMake(360, 640); // it was (720,1280)
GDLRawDataOutput *rawDataOutput = [[GDLRawDataOutput alloc] initWithVideoCamera:_videoCamera withImageSize:size];
[_videoCamera addTarget:rawDataOutput];
and here is the error:
Null texture!159: Error creating texture! (-6683)Null texture!159: Error creating texture! (-6683)Null texture!159: Error creating texture! (-6683)Null texture!159: Error creating texture! (-6683)Null texture!159: Error creating texture!...
repeat Null texture!159: Error creating texture! (-6683)
many time
get "OGL(/Pods/VideoCore/api/iOS/VCPreviewView.mm):: 253: Invalid Operation" error after [_videoCamera addTarget:rawDataOutput];
Any idea?
[!] Unable to satisfy the following requirements:
GDLiveStreaming (from
https://github.com/goodow/GDLiveStreaming.git`)` required by Podfile
Pre-downloading: GDLiveStreaming
from https://github.com/goodow/GDLiveStreaming.git
[!] Error installing GDLiveStreaming
[!] /usr/bin/git clone https://github.com/goodow/GDLiveStreaming.git /var/folders/f3/x1yq0jk97fd4jxd8xyq7g1h40000gn/T/d20160701-59425-1xaa9ae --template= --single-branch --depth 1
Cloning into '/var/folders/f3/x1yq0jk97fd4jxd8xyq7g1h40000gn/T/d20160701-59425-1xaa9ae'...
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
在使用pod安装时报找不到GDLiveStreaming
pod search GDLiveStreaming
[!] Unable to find a pod with name, author, summary, or descriptionmatching GDLiveStreaming
iOS 8上运行在[[[GPUImageContext sharedImageProcessingContext] context] renderbufferStorage:GL_RENDERBUFFER fromDrawable:(CAEAGLLayer*)self.layer];这个地方会崩溃。
I try to add an "exception breakpoint",then code locate at "[GPUImageContext presentBufferForDisplay]".
Can you please support capturing screen of IOS with replay kit, so that one can stream screen through RTMP.
Hello! First of all thanks a lot for this nice project!
Is there a way to change bitrate while streaming?
I clone the project from GitHub.
try to update the project, I got following error for VideoCore
:Example system10$ pod update
Update all pods
Updating local specs repositories
$ /usr/bin/git -C /Users/system10/.cocoapods/repos/master fetch origin --progress
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 9 (delta 5), reused 0 (delta 0), pack-reused 0
From https://github.com/CocoaPods/Specs
e656e67869e..0ffea977276 master -> origin/master
$ /usr/bin/git -C /Users/system10/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
master
$ /usr/bin/git -C /Users/system10/.cocoapods/repos/master reset --hard origin/master
HEAD is now at 0ffea977276 [Add] AI_RLSB 1.0.0
Analyzing dependencies
Fetching podspec for GDLiveStreaming
from ../
Fetching podspec for VideoCore
from ../VideoCore
[!] No podspec found for VideoCore
in ../VideoCore
Please your input are highly appreciated.
I have the following Podfile:
target 'MyProject' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for YoutubeGP
pod "GDLiveStreaming"
pod 'VideoCore', :git => 'https://github.com/goodow/VideoCore.git'
pod 'glm', :podspec => 'https://raw.githubusercontent.com/goodow/GDLiveStreaming/master/glm.podspec'
end
but I do get the error
[!] Unable to find a specification for `GDLiveStreaming`
What am I missing?
Server aborted the SSL handshake
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.