Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-16-2003, 01:03 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 20

Rep: Reputation: 0
getting info on video inputs


I was wondering if it was possible to get the number of video inputs in my machine by code (C++). Is there a function that does that? What do I have to write to get that number?

Thx a lot
Old 06-16-2003, 04:40 PM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
I'm not sure how to do that in Linux, but I know how to do it with DirectX . This link is an interesting reading about video inputs using SDL:

There might be a command to return it with SDL in a for next loop just as it's done with DirectX, but I dunno which :S. Sorry if it was of no help ...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
simultaneous input from all inputs of a framegrabber faramarz Linux - Hardware 0 08-08-2005 03:53 AM
Javascript and Radio Inputs. swatward Programming 1 05-06-2005 05:51 AM
MythTV claims all my inputs are in use. None actually are Pcghost Linux - Software 2 03-24-2005 11:42 AM
Audigy sound inputs under mdk 10.1 ? Degriz Linux - Hardware 0 08-10-2004 06:37 PM
No Sound from Motherboard Inputs? braincandy99 Slackware 3 07-18-2004 07:22 AM

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration