maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   front camera API (https://talk.maemo.org/showthread.php?t=46792)

hopbeat 2010-03-08 09:58

front camera API
 
Hello,

I may be blind or my google may be broken, but could someone point me to the reference of using front camera in C app?

This example works nicely with back camera, I however seem to be missing the way to make it use front camera instead of the back one.

Thanks.

abbra 2010-03-08 10:01

Re: front camera API
 
Use /dev/video1 instead of /dev/video0 and you'll get to front side camera.

krk969 2010-03-08 10:06

Re: front camera API
 
Quote:

Originally Posted by hopbeat (Post 559610)
Hello,

I may be blind or my google may be broken, but could someone point me to the reference of using front camera in C app?

This example works nicely with back camera, I however seem to be missing the way to make it use front camera instead of the back one.

Thanks.

see if you find using the gst-launch command would be of any help ? did you search for it already ?
on phone now but i can paste an example of it when i get to my desktop.

cheers


All times are GMT. The time now is 16:15.

vBulletin® Version 3.8.8