GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Oct 02, 2014 2:32 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to place the live video images in GTK frames
PostPosted: Fri Mar 16, 2007 10:07 am 
Offline
Familiar Face

Joined: Tue Feb 20, 2007 6:04 am
Posts: 12
Location: hyd
hai all,

can any body give idea how to place the live video (using web cam) GTK frames.

bye
Dennis

_________________
werwrwer wer 45 45345tgdfgd f4534 rtertertert


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 16, 2007 5:36 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
You'll be using the "video for linux" (v4l2) library and probably displaying it in a GtkImage or the like. Find a GTK-based webcam application and take a look at the source code.

The v4l API documentation gives you a pretty good demo on getting the image data from you webcam (it's easiest if you use a RAW or bitmap format) and then it's easily stored into an array and loaded into a GdkImage as data.

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group