LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

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

Rep: Reputation: 0
getting info on video inputs


Hi,

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, 03:40 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
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:

http://sdldoc.csn.ul.ie/guidevideo.php

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 ...
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 02:53 AM
Javascript and Radio Inputs. swatward Programming 1 05-06-2005 04:51 AM
MythTV claims all my inputs are in use. None actually are Pcghost Linux - Software 2 03-24-2005 10:42 AM
Audigy sound inputs under mdk 10.1 ? Degriz Linux - Hardware 0 08-10-2004 05:37 PM
No Sound from Motherboard Inputs? braincandy99 Slackware 3 07-18-2004 06:22 AM


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

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