Comments (8)
@pzs7602
Yes and no. I'm trying to reach 30 FPS now.
current gpu-rendering branch: reach 25-27 FPS.
from haishinkit.swift.
release 0.4.0
from haishinkit.swift.
Yes. have to do performance improvement.
By the way. I don't feel not fluency.
RTMPStream.currentFPS is average 30 (iPhone5S/fps=30/PronamaFilter)
RTMPStream.currentFPS is average 30 (iPad Pro/fps=30/PronamaFilter)
Can I see your RTMPStream.captureSettings and videoSettings?
from haishinkit.swift.
I added a property RTMPStream.currentFPS #48
from haishinkit.swift.
rtmpStream!.captureSettings = [
"sessionPreset": AVCaptureSessionPresetHigh,
"continuousAutofocus": true,
"continuousExposure": true,
]
rtmpStream!.videoSettings = [
"width": 1280, // video output width
"height": 720, // video output height
"profileLevel": kVTProfileLevel_H264_Main_5_0,
"bitrate": 800*1024 // bitrate
]
also the effect image showed on camera preview but not on streamed video.
from haishinkit.swift.
Benchmark note:
iPhone5S AVCaptureSessionPreset1280x720, width:1280, height:720, master branch
- | None | Monochrome | Pronama |
---|---|---|---|
FPS | 30 | 22-24 | 13-15 |
CPU | 25% | 65% | 70% |
iPhone5S AVCaptureSessionPreset1280x720, width:1280, height:720, gpu-rendering branch
- | None | Monochrome | Pronama |
---|---|---|---|
FPS | 30 | 30 | 15-17 |
CPU | 25% | 65% | 70% |
from haishinkit.swift.
That means capture cann't reach 30 Frame Per Seconds for Pronama effect?
from haishinkit.swift.
@pzs7602
Hi. Current master branch: Pronama filter reaches 30FPS.
I will release 0.4.0 in late August.
from haishinkit.swift.
Related Issues (20)
- The operation couldn’t be completed. (HaishinKit.IORecorder.Error error 3.) HOT 2
- Audio not transmitting after disconnected from Bluetooth HOT 1
- calling SRTConnection.performanceData results in a crash HOT 4
- MultiCam does not work in SwiftUI HOT 2
- VideoCodec still running after stream is close() HOT 9
- stream.videoCapture(for: 0)?.... is super slow HOT 1
- multiCamNotSupported when rotating to Selfie camera HOT 2
- [BUG] Updating NetStream.multiCamCaptureSettings.Mode doesn't work HOT 2
- [Crash] App crashes due to thread-safe issue of RTMPConnection.uri HOT 3
- running ios example with SRT does not work with srt-live-transmit
- It is very slow to rotate camera in PiP mode HOT 4
- MTHKView with many VideoEffects - preview is lagging HOT 5
- What happens when playing pure audio fails? We only did audio push-pull streaming, but we ran into problems playing it back. HOT 6
- When I closed the stream and then turned it back on, the log showed that it was connected, but frequent switching results in low transmission speed HOT 2
- Recording is broken if using an audio sample rate is set to 44.1 kHz HOT 1
- App audio performance issue HOT 3
- videoCodecErrorOccurred reason=failedToFlame(status: 0), description=The operation couldn’t be completed. (HaishinKit.IOVideoUnitError error 3.) HOT 2
- Metadata issue leading to out-of-sync audio after recording on server HOT 13
- RTMP: First AVC interframe has timestamp delta == 0
- CPU usage increases after SRT Playback ends HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haishinkit.swift.