Comments (3)
Is it the built in camera on a MacBook? Have you tried reproducing this with testcamera?
from sdl.
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.
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)
- SDL_ConvertSurfaceAndColorspace does not correctly palettize surfaces HOT 6
- SDL_Log not working on Windows with debugger attached HOT 7
- [SDL2] Gamepad Motion Sensors via Bluetooth don't work until you launch another SDL App with working Motion Sensors or swap older SDL2.dll files HOT 2
- Updates on dropping Apple frameworks not available on iOS? HOT 7
- Embed a SDL window by NativeControlHost control in AvaloniaUI, mouse cursor don't restore to default on Linux x11. HOT 1
- Feature request SDL_EVENT_FINGER_CANCELLED
- MFC window, pop a sdl window, break! HOT 1
- Decide and Document how planar data is stored in / accessed from Surfaces
- Always prefer downscaling in SDL_GetSurfaceImage HOT 3
- [SDL2] VITA: Can't create any render at all HOT 2
- [macos] HIDAPI device disconnected while opening
- testcamera prints irrelevant debug message on exit (Windows) HOT 1
- All standard SDL properties should be namespaced HOT 2
- SDL_EnumerateDirectory fails if it hits a file currently in use HOT 3
- SDL_WarpMouseInWindow has buggy behaviour on wayland HOT 3
- How does SDL2 implement testffmpeg.c HOT 1
- Mouse cursor remains visible SDL2-2.30.x ( xwayland ) HOT 1
- Should RWseek(0, RW_SEEK_CUR) be optimized? HOT 3
- Retrobit Sega Saturn Wireless Contoller has invalid parameters HOT 1
- SDL_Event.key and kdevice does not return expected IDs? HOT 12
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 sdl.