Home Creators Posts Import Register Favorites Logout

Content

This bug was old enough to vote in federal elections, but we finally closed it today!

Back when we first added audio recording to SDL2, when we had first set up Bugzilla for crying out loud, someone suggested we should also have video recording.

At the time, the options for doing this was DirectShow on Windows, QuickTime on Mac OS X, and god-knows-what on many other platforms.

We never got around to it in SDL2.

But! Sylvain Becker, who never backs down from any challenge, took up the initial work of Figuring Out How To Build Something and then followed up with Actually Building Something, which is honestly both of the hardest pieces of any software engineering task. I ran with it a little further, and then, boom, here we are, with SDL3 able to access cameras across many platforms.

This is in mainline SDL3, as of today! Go make something fun with it!

Files

SDL3 Camera API!

A quick little demonstration of the new SDL3 camera API! This was just recorded on my laptop's camera and built-in microphone, which is why the sound is terrible and the video wobbles every time I put my elbows on the table. :) This just landed in mainline SDL3! You can use this RIGHT NOW. You can fund my ongoing work on SDL3 and other fun and useful projects! Patreon: https://patreon.com/icculus GitHub Sponsors: https://github.com/sponsors/icculus

Comments

Mr. Nuclear Monster

hell yeah!!!!!!!! burnout paradise style death cam lets dooo itt

R L

Huzzah!

Ryan C. Gordon

We talked years ago about adding a feature to ioquake3 where it takes your picture right as you get fragged and pops it up on your killer’s screen, and I _still_ want to do this. And I bet we can send small pictures over the q3 protocol without breaking backward compatibility using the same trick we did for voip!