Git Product home page Git Product logo

Comments (3)

slouken avatar slouken commented on August 17, 2024

Is it the built in camera on a MacBook? Have you tried reproducing this with testcamera?

from sdl.

qqiu-cyt avatar qqiu-cyt commented on August 17, 2024

This issue isn't with the MacBook's built-in camera; it's concerning a USB camera connected via USB-C. I will conduct tests using testcamera and provide updates on the results.

from sdl.

qqiu avatar qqiu commented on August 17, 2024

Created a PR to add performance logging in testcamera: #10525.

With the implemented changes, here are the observed results:

2024-08-11 12:52:00.856 testcamera[57062:521682] Camera approved!
2024-08-11 12:52:00.856 testcamera[57062:521682] Camera Spec: 1920x1080 30.00 FPS SDL_PIXELFORMAT_YUY2
2024-08-11 13:19:00.614 testcamera[57062:521682] SDL_AppIterate() called 152967 times in the last minute
2024-08-11 13:19:00.614 testcamera[57062:521682] SDL_AcquireCameraFrame() FPS: 61.07
2024-08-11 13:20:00.593 testcamera[57062:521682] SDL_AppIterate() called 18094 times in the last minute
2024-08-11 13:20:00.593 testcamera[57062:521682] SDL_AcquireCameraFrame() FPS: 59.20
2024-08-11 13:21:00.592 testcamera[57062:521682] SDL_AppIterate() called 3600 times in the last minute
2024-08-11 13:21:00.592 testcamera[57062:521682] SDL_AcquireCameraFrame() FPS: 60.00

This issue can be consistently reproduced using the testcamera application.

from sdl.

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.