Active Topics

 



Notices


Reply
Thread Tools
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#511
Originally Posted by TiagoTiago View Post
I mean the API, not the programs using the API; make your program use the fcam API to tweak the camera parameters.
I think the CSSU shouldn't rely on this API, and it requires its own
kernel modul.

Originally Posted by TiagoTiago View Post
If it's intended to replace the original, shouldn't all efforts be done to include all the functionalities of the original regardless of which path is taken in the background, so that people won't need to pass on using it 'cause it's missing stuff?
There isn't functionality missing ...
Originally Posted by TiagoTiago View Post
Click on the wrench, you got iso sensitivity and exposure compensation.
... this is already possible in the camera-ui replacement.
I can control the ISO settings and the exposure compensation
the same way as the builtin camera-ui.
It has the same features, and the same bugs:
https://bugs.maemo.org/show_bug.cgi?id=10384

It is just not possible to fully control the exposure setting
or to disable the autoexposure at all.
 

The Following 3 Users Say Thank You to nicolai For This Useful Post:
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#512
Oh i see, sorry; i haven't got around trying it myself, i was just going with what was being said.
 

The Following User Says Thank You to TiagoTiago For This Useful Post:
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#513
Originally Posted by nicolai View Post
I think the CSSU shouldn't rely on this API, and it requires its own
kernel modul.

... There isn't functionality missing ...
In fact, the CSSU camera-ui has made functionality available that the original either made hard to access or didn't have, so great job!

It is just not possible to fully control the exposure setting
or to disable the autoexposure at all.
Is there exposure control in the Meego camera pipeline? I assume the UI is using presets but it would be good to know so action on this isn't futile.

About the missign height/width variables - does it work by storing px res and aspect ratios? Can these values (h & w) be synthesised?
 

The Following 2 Users Say Thank You to demolition For This Useful Post:
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#514
Originally Posted by nicolai View Post
video-capture-width
video-capture-height
it seems, these parameters don't exist in maemo 5s camerabin
What is the problem if just set (960/1280)x720 for resolution and
(4/3)/(16/9) for aspect ratio here. That should work looking at the code path from camera-ui to camerabin in gstreamer-plugins-bad.

The only thing that will be needed is several new defines somewhere here

#define G_DIGICAM_CAMERABIN_VIDEO_4X3_HD_WIDTH 960;
#define G_DIGICAM_CAMERABIN_VIDEO_4X3_HD_HEIGHT 720;

#define G_DIGICAM_CAMERABIN_VIDEO_16X9_HD_WIDTH 1280;
#define G_DIGICAM_CAMERABIN_VIDEO_16X9_HD_HEIGHT 720;


And an UI to set that in camera-ui
 

The Following 4 Users Say Thank You to freemangordon For This Useful Post:
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#515
I already tried this. (Right after your thread about 720 recording).

Somewhere down the pipeline from the gdigicam camera API
to gstreamer-camerabin and gstreamer-v4l2camsrc the resolution
change stops the pipeline.

I think I tracked this down to the number of buffers used in
gst_v4l2camsrc_init in
gstreamer0.10-plugins-camera-0.79\gst\v4l2cam\gstv4l2camsrc.c
So the resolultion switch may work but it can not change back
to the streaming state. More testing is needed.

Nicolai
 

The Following 3 Users Say Thank You to nicolai For This Useful Post:
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#516
Do you mind to share sources somewhere on gitorious so I can test too, without redoing what you've already done?
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#517
No :-)
No real useful code. Just some random / try&error console outputs.
I (or you or someone else) need to take a deeper look at gstv4l2camsrc.c
and find out exactly what v4l2camsrc parameter are needed.

Nicolai
 

The Following 3 Users Say Thank You to nicolai For This Useful Post:
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#518
Originally Posted by nicolai View Post
No :-)
No real useful code. Just some random / try&error console outputs.
I (or you or someone else) need to take a deeper look at gstv4l2camsrc.c
and find out exactly what v4l2camsrc parameter are needed.

Nicolai
Have no idea what is the problem on your side, but works like charm here , camera-ui records in 720p ,give me a couple of minutes until I upload source on gitorous
 

The Following 9 Users Say Thank You to freemangordon For This Useful Post:
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#519
gdigicam source and binaries here

camera-ui here

HD 4x3 does not work, have to find correct resolution.
 

The Following 9 Users Say Thank You to freemangordon For This Useful Post:
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#520
@nikolai - I think I know what was your problem - KP48. It has only 6MB videomemory, while 720p requires 8MB. So you need KP49.
 

The Following 4 Users Say Thank You to freemangordon For This Useful Post:
Reply

Tags
camera-ui, fremantle


 
Forum Jump


All times are GMT. The time now is 07:35.