maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   camera-ui2 (now a part of CSSU) (updated 09. May) (https://talk.maemo.org/showthread.php?t=70870)

don_falcone 2011-12-21 17:22

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by PartyboyXP (Post 1140376)
Please build it in .deb :(

Do it yourself, using stock gstreamer0.10-dsp package and it's control files as template. Hint: extracting a .zip archive is way easier for you. At least it should be.

ammyt 2011-12-21 18:05

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by PartyboyXP (Post 1140376)
Please build it in .deb :(

Why not to learn something new?
Oh...my....god....
Why does this frickin' happens to me all the time? I am not frequently opening this forum, and it happens that I am missing all the fun!
So...much...advance...can't...handle....
freemangordon, you do not deserve a beer, at all, but a whole wine factory next to your place!

karam 2011-12-21 18:44

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
1 Attachment(s)
Guys i have compiled new libgstdsp(s)
with quality 100
after testing with 97 and 100 i found that there are no much differences with image size but there is comparing to quality 90 (default) 800kb >~ 1.5mb
and there is an improve with image quality

HOW TO:

Download the attachement to MyDocs


1-) To install with the stock dsp libraries (no 720p) patches
Code:

sudo gainroot
tar xzvf MyDocs/libgstdsp.quality100.tar.gz
cp /usr/lib/gstreamer-0.10/libgstdsp.so ./.libgstdsp.so
cp libgstdsp/libgstdsp.so.stock /usr/lib/gstreamer-0.10/libgstdsp.so
rm -r libgstdsp

2-) To install with 720p dsp libraries
Code:

sudo gainroot
tar xzvf MyDocs/libgstdsp.quality100.tar.gz
cp /usr/lib/gstreamer-0.10/libgstdsp.so ./.libgstdsp.so
cp libgstdsp/libgstdsp.so.720p /usr/lib/gstreamer-0.10/libgstdsp.so
rm -r libgstdsp

TO REMOVE/REVERSE
Code:

sudo gainroot
mv .libgstdsp.so /usr/lib/gstreamer-0.10/

Hope this will helps someone

woody14619 2011-12-21 19:29

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by freemangordon (Post 1140397)
I think I found the reason for stutter in recorded videos. AIUI it is the memory copying between different elements in gstreamer pipeline.


If the only place it's copying is for the display, a quick verify would be to put a static counter in and only copy every 3 to 10th frame. That would lessen the copy consumption enough to see if it's the root cause, while giving the user a 10 to 3 fps view (which is more than enough for general "point the camera at the target" done while videoing).

The solution you're proposing is of course the better method, but will take more time and hacking vs something like:

Code:

static char s_tick_count=0;
...
if ((++s_tick_count % 8)==0) DoBufferCopy();


freemangordon 2011-12-21 23:02

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by woody14619 (Post 1140498)
If the only place it's copying is for the display, a quick verify would be to put a static counter in and only copy every 3 to 10th frame. That would lessen the copy consumption enough to see if it's the root cause, while giving the user a 10 to 3 fps view (which is more than enough for general "point the camera at the target" done while videoing).

The solution you're proposing is of course the better method, but will take more time and hacking vs something like:

Code:

static char s_tick_count=0;
...
if ((++s_tick_count % 8)==0) DoBufferCopy();


I will keep that as a plan B (if I am unable to do the kernel patch)

xes 2011-12-22 00:06

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by freemangordon (Post 1140557)
I will keep that as a plan B (if I am unable to do the kernel patch)

In fact... maybe only an impression but often it seems that it is the camera preview to use all the resources.

It would be interesting to add a setting to remove completely the preview and replace it with a recording timer and a counter for dropped frames ...just for testing purposes.... or at maximum a pair of frames per second.

Estel 2011-12-22 03:36

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by xes (Post 1140448)
..make a MR? Sorry, what do you mean?

As far as my coding experience goes (~0), this mean merge request.

A nice Mr monkey, that sits in some forgotten Kloster, and hand-rewrite source code, to contain original content modified with your patches. Or at least, that is what non-coders tells their children as story for goodnight ;)

freemangordon 2011-12-22 07:18

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by xes (Post 1140569)
In fact... maybe only an impression but often it seems that it is the camera preview to use all the resources.

It would be interesting to add a setting to remove completely the preview and replace it with a recording timer and a counter for dropped frames ...just for testing purposes.... or at maximum a pair of frames per second.

What I've done is to remove memcpy from gst-omapfb(it is easier than removing preview from the pipeline), the difference is HUGE. That is why I am trying to do it right way.

Dersonne 2011-12-24 00:39

Re: camera-ui2 testers neede
 
Sir,please help me.how to uninstall camera -ui2 update from freemangondon to revert back to nokia stock camera ui.im using a CSSU stable.whats the package or Deb file of stock camera ui.thank you

gepataki 2011-12-25 18:46

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Quote:

Originally Posted by nicolai (Post 1139919)
@mohammad
isn't dspjpegenc the default in gdigicam.conf?

@v_
the gstreamer plugin dspjpegenc doesn't support a quality property.
(if you have gst-tools installed, you can view details about an plugin
with f.example: gst-inspect dspjpegenc ).
So, settings the quality option in gdigicam.conf isn't used.

Nicolai, is it possible to reload the "old" version of camera ui? i mean witch was in the ssu testing? i upgraded to stable, but liked the color-canging possibilities so much...(bw, sepia..)
is a step-by-step version of it?
thx!!
gepataki


All times are GMT. The time now is 09:06.

vBulletin® Version 3.8.8