|
2010-05-03
, 07:22
|
|
Posts: 65 |
Thanked: 36 times |
Joined on Apr 2010
@ Las Vegas
|
#2
|
The Following 5 Users Say Thank You to FreeThinker For This Useful Post: | ||
|
2010-05-03
, 10:03
|
Posts: 38 |
Thanked: 2 times |
Joined on Apr 2010
@ Novosibirsk, Russia
|
#3
|
static gboolean buffer_probe_callback(GstElement *image_sink, GstBuffer *buffer, GstPad *pad, GDigicamWidget *widget) { const uchar *data_photo = (const uchar *) GST_BUFFER_DATA(buffer); unsigned int iDataSize = buffer->size; QImage* img = new QImage(data_photo, 640, 480, QImage::Format_RGB16); if(img) { qDebug() << "BufferProbeCallBack(): QImage created"; if(!img->save("/home/grinch/PIC001.bmp")) { qDebug() << "BufferProbeCallBack(): image not saved :("; } else qDebug() << "BufferProbeCallBack(): image saved!"; } g_signal_handler_disconnect(G_OBJECT(image_sink), widget->iBufferID); }
|
2010-05-03
, 10:27
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#4
|
Regarding the focusing, I say that we can use focusing in our app, because Nokia don`t give us an API for this or what? GDigicam`s or Photography`s function like 'gst_photography_set_autofocus' will does`t work?
The Following 3 Users Say Thank You to danielwilms For This Useful Post: | ||
|
2010-05-04
, 00:11
|
|
Posts: 65 |
Thanked: 36 times |
Joined on Apr 2010
@ Las Vegas
|
#5
|
The Following 2 Users Say Thank You to FreeThinker For This Useful Post: | ||
|
2010-05-04
, 03:31
|
Posts: 38 |
Thanked: 2 times |
Joined on Apr 2010
@ Novosibirsk, Russia
|
#6
|
|
2010-05-06
, 03:41
|
|
Posts: 65 |
Thanked: 36 times |
Joined on Apr 2010
@ Las Vegas
|
#7
|
EDIT: Another problem is that the last firmware of N900 has gdigicam-0.2.44 but the fremantle scratchbox has gdigicam-0.3.51. How to be if I want run my app directly on device? Is it possible to upgrade gdigicam lib in N900 to 0.3.51 version? Is need to add some source in the source list of apt?
|
2010-05-06
, 04:31
|
Posts: 38 |
Thanked: 2 times |
Joined on Apr 2010
@ Novosibirsk, Russia
|
#8
|
|
2010-05-07
, 03:51
|
Posts: 38 |
Thanked: 2 times |
Joined on Apr 2010
@ Novosibirsk, Russia
|
#9
|
.dynamic section for "/home/grinch/.madde/0.6.14/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/usr/lib/libgstreamer-0.10.so.0" is not at the expected address difference appears to be caused by prelink, adjusting expectations .dynamic section for "/home/grinch/.madde/0.6.14/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/usr/lib/libglib-2.0.so.0" is not at the expected address difference appears to be caused by prelink, adjusting expectations
The Following User Says Thank You to Grinchman For This Useful Post: | ||
|
2010-05-07
, 04:09
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#10
|
I start to develop simple camera app for N900 with GDigicam lib. And I stuck with it. Let me show you my code:
All of camera action is in Qt GDigicamWidget. I try to create and configure camerabin like so:
So, on the screen of N900 I see video stream from camera, but I can`t anyhow to manipulate it, Can`t autofocus, can`t get a shot.