Giter Club home page Giter Club logo

Comments (8)

shogo4405 avatar shogo4405 commented on May 18, 2024 1

@pzs7602
Yes and no. I'm trying to reach 30 FPS now.
current gpu-rendering branch: reach 25-27 FPS.

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 18, 2024 1

release 0.4.0

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 18, 2024

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.

shogo4405 avatar shogo4405 commented on May 18, 2024

I added a property RTMPStream.currentFPS #48

from haishinkit.swift.

pzs7602 avatar pzs7602 commented on May 18, 2024
            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.

shogo4405 avatar shogo4405 commented on May 18, 2024

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.

pzs7602 avatar pzs7602 commented on May 18, 2024

That means capture cann't reach 30 Frame Per Seconds for Pronama effect?

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 18, 2024

@pzs7602
Hi. Current master branch: Pronama filter reaches 30FPS.
I will release 0.4.0 in late August.

from haishinkit.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.