Skip to contentSkip to conversation

Own software to use a camera

DISCUSSION Malsoaz James 3 participants 3 messages Jul 10, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,
I'm currently working with a camera and try to use it thanks to video for linux. I have good basics in programming but not with this library and I want to make a simple software to take photos and videos with the camera.
I have looked the help
for v4l2 but it seems there is a lot of things to do to use the camera : open device, init, choose format, standard, ...

Can someone
help me by telling me the different steps I have to follow to take a picture with the camera and save it in a current format as jpeg ? Then I will add some function to take picture automaticaly, and to use video.

I
have already made a part of the program : opening the device, checking the capabilities, but I'm quite lost because of the numbers of possibilities offer by v4l2. I don't really know what to do and when to do it...

Some existing software such as motion seems interesting for me but there is too many options, so I prefer do my own software with the function I need.

I hope there is someone here to help me
Thanks, have a nice day
James

      _____________________________________________________________________________ 

Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw

James,

I suspect you may benefit from using the new v4l-library. It should help simplify the conversion of whatever format the camera supports into whichever format your application desires. The current development branch of the library is located here:
http://linuxtv.org/hg/~tmerle/v4l2-library/

Regards,

David Ellingsworth

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
Quoted 8 lines · David Ellingsworth

James,

I suspect you may benefit from using the new v4l-library. It should help simplify the conversion of whatever format the camera supports into whichever format your application desires. The current development branch of the library is located here:
http://linuxtv.org/hg/~tmerle/v4l2-library/

Quoted 4 lines

Regards,

David Ellingsworth

And now this library is integrated in the current v4l-dvb branch
http://linuxtv.org/hg/v4l-dvb
You will find the lib in v4l2-apps/lib/libv4l.
All this work was made by Hans de Goede.

Cheers,
Thierry

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list