![]() |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
@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. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
here. It is a hardcoded value in the dsp codec source. one of the first #defines on in the code. This begs the obvious question... Please please please please please someone with the appropriate environment compile it, I will go first and be the test lemming. Just whack it up to 97 or something looney like that. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
...just for fun of the brave one's... here it is mr. quality 97% :cool: WARNING... not tested, just compiled. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
This is good because: 1. It requires little to no effort to implement. 2. Does not break anything now/future (probably). 3. It adds a requested feature. Thank you for your time. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
https://meego.gitorious.org/maemo-mu...dsp/trees/HEAD Or it will not work... |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
EDIT: wait a minute... path corrected... new build and...Builded directly into my N900. (maybe this will produce some speed optimization) |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
done
with patches from freemangordon //EDIT removed |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
Close, but no cigar. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
strip libgstdsp.so Just completed the "make" 97% ...builded on the road |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
http://www.comicbookmovie.com/images...ick_amazon.jpg And it works! Thank you xes, karam and freemangordon. Barely an hour after I suggested this it has surfaced. I love all you bros. no homo. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
1 Attachment(s)
oops
looks like i didn't strip it anyway here is a 100 quality instead of 90 (stripped) |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
You are welcome...but at the end, which one are you using? Tested both of them? (to avoid confusion i think is better to remove the untested attachments) |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
I am using the second 'stripped' version. It seems silly to use an extra 750KB of RAM for nothing.
I am using the 97 version. Above 97 the difference is imperceptible yet the file grows by about 1/3 in size (so around 3MB per photo instead of 2). freemangordon, would you consider adding this to your source tree so that in the future if you make any alterations I will not lose this marvelous 7 points less of jpeg compression? |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
@vi_
If you have some time, make a test also with the "builded inside" version. Performance may be different. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
@xes i think building inside will improve the performance with binaries only
@freemangordon i have abettercamera app (just like blessN900) but the HDR photo taking doesn't work with 720p patches didn't check if it's caused by libgstdsp or the ones inside /lib/dsp i just did a small script to switch between libraries when launching abettercamera app hope you can know what is causing the problem |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Looool.... Forget about the image... THink about the video HIGHER BITRATES!!! omg, doesnt care, how all you optimize the camera, with that bitrates ( arround 5-8MB ) You never get decent quality....
And about the image quality, to much oversharped images, and some kind of extra filters... Damn xD |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
.....hum.... with the build of libgstdsp based on latest sources it seems to be some issue while recording video.... (black screen after some second and then hang of the app)
Please verify this and report. @freemangordon I would like to complete the camera-ui interface preparing the icons for the new resolutions settings. Is it sufficient to prepare the icons and put in the right folders or it is necessary to rebuild the app? (in this case which are the expected names?) |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
I experience this also, but only when the 720p codecs are present.
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
re camera-ui - it is better to clone and test upstream(in CSSU) first, there are lots of changes. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
1 Attachment(s)
Quote:
I apologize to those who installed the previous one, here the new build (verified video recording - built inside the N900 for max optimization). Concerning camera-ui, does it already exist some development deb in sync with the cssu git? |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
@freemangordon
https://meego.gitorious.org/maemo-mu...dsp/trees/HEAD is this the source if the stock libgstdsp.so ? i want to build a new lib with quality improved (unmodified with any 720p patches) to use with (ABC) app |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Please build it in .deb :(
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
May I ask you to make a MR against my repo, to keep all the pieces together. @all - I am about to finish a kernel patch against KP which will allow zerocopy DMA between camera driver, dspbridge driver and OMAP framebuffer(will explain what that means). I think I found the reason for stutter in recorded videos. AIUI it is the memory copying between different elements in gstreamer pipeline. The recording process is similar to the following(simple descrption): 1. camera(isp) driver captures a frame in an user supplied buffer 2. this bufer is send to all elements in the gstreamer video capture pipeline 3. xvimagesink (the previewer element) copies that buffer into OMAP framebuffer for displaying I am intentionaly leaving gst-dsp aside, AIUI it does not do memory copy, thus no performance loss. The problem is that for 1280x720 the frame size is about 2 MB and that should be copied fps times every second, leading to big performance loss. Even for lower resolution there is still a big amount of memory to be copied (because of higher fps), leading to choppy video and lower fps. The solution to this is to give the camera driver buffer, which is a part of the framebuffer, so when capturing of the frame is complete , the data would not need to be copied , fb driver only needs one ioctl telling him where new frame starts. So no memory copying (i.e. zerocopy) of frame data. Unfortunately our kernel is not grown enough to support that, so I am preparing a patch to overcome the limitation. In addition I added XOverlay support to gst-omapfb (thanks again felipec). Will add support in camera-ui for gst-omapfb when it seems stable. And I plan to modify gst-dsp in such a way that it will support both stock and Harmatan DSP binaries. By combining zerocopy with gst-omapfb i expect a HUGE difference in video smoothness/fps/battery consumtion while recording. Initial testing shows that MAYBE smooth 1280x720@30 is possible. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
increase voltage at lower frequences and check with higher dsp as see how much stable is. I run always at 720:600 without reboots with vdd1 & vdd2 enable. VDD gives more battery life even if you lower the voltage to very low.Also run stable until 1100:600 without problem if you disable VDD1. Incrasing voltage solve overclocking problem over 900. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
The latest lib that i attached has been built with you latest sources (sync yesterday) from: https://meego.gitorious.org/~freeman...mo5-hd-patches -camera-ui- WOW great news! ...I'll wait for the release of this new updates. Thanks... |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
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! |
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 Code:
sudo gainroot Code:
sudo gainroot |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
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; |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
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. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
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 ;) |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
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
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
is a step-by-step version of it? thx!! gepataki |
All times are GMT. The time now is 23:25. |
vBulletin® Version 3.8.8