We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 56 - Video input API
Summary: Video input API
Status: REOPENED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.1
Hardware: All All
: P5 API change
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 16:37 UTC by Patrice Mandin
Modified: 2018-03-26 11:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrice Mandin 2006-01-19 16:37:46 UTC
Along with audio input API, we could also add a video input API (using DirectShow under Windows, v4l under Linux, and so on). With it, you could use your webcam or any other camera (Eyetoy anyone?) in your SDL application.

Maybe it would also be nice to have some colorspace conversion functions in SDL, to convert images between YUV and RGB. SDL_Surface only support RGB components, and cameras support mostly YUV.
Comment 1 Ryan C. Gordon 2006-01-27 11:23:17 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 2 Sam Lantinga 2006-05-04 08:30:48 UTC
FYI, DirectShow is going away in DirectX 10...
Comment 3 Ryan C. Gordon 2006-05-10 00:50:21 UTC
What is the standard API for reading from a webcam on Windows, if DirectShow is going away? Is there one?

--ryan.

Comment 4 Sam Lantinga 2006-05-10 01:07:50 UTC
(In reply to comment #3)
> What is the standard API for reading from a webcam on Windows, if DirectShow is
> going away? Is there one?

No idea.  I imagine it'll be a new API under Windows Vista.

Comment 5 Sam Lantinga 2009-12-14 21:56:04 UTC
Ryan did some research on this.  It's a mess and he may build a companion library that will be integrated into SDL at some point.
Comment 6 Ryan C. Gordon 2009-12-15 22:34:31 UTC
Changing bug priorities.

--ryan.
Comment 7 Ryan C. Gordon 2013-06-04 12:44:42 UTC
Hey, Sam, can we leave this bug open, on version "HG 2.1"? I'd still like this someday, as a wishlist item.

--ryan.
Comment 8 Sam Lantinga 2013-06-05 02:47:48 UTC
Sure. :)