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)

iceskateclog 2013-07-15 07:01

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

Originally Posted by tanago (Post 1358911)
Changing ipp element in gdigicam.conf to "dspipp" will produce A LOT better images but with one issue: 1 of every 4-5 images will cause the camera app to crash or will be corrupted (saved as 0 kbytes) and that is very sad if you have to capture on the moment and exactly that photo gets corrupted. Can somebody(including me) trace that issue and how? dmesg doen't show any output about it...

Changed to true and dspipp, shutdown and turned on N900. Crashed while taking second photo. DCIM folder showed only one file, but it had length 0.

kernel-cssu, thumb2 and I have fcam installed

tanago 2013-07-15 07:34

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

Originally Posted by Tschaka (Post 1358981)
Either way, here is my config just so we make sure there are no differences in the conf file to exclude that it's just a parameter problem at your side

The only difference between our files is the jpeg encoding plugin - yours is dspjpegenc, mine - jpegenc and mine doesnt make any problems when i comment out ipp element, but I will try it out to be sure.

Quote:

Originally Posted by seanmcken (Post 1359011)
@Tschaka
Where is that configuration file located?

/etc/gdigicam/gdigicam-camerabin.conf

Quote:

Originally Posted by panjgoori (Post 1359030)
where is file located and what to edit ? and anyone know how to raise photo quality to 100% ?

/etc/gdigicam/gdigicam-camerabin.conf

change first line to true(allow the camera to read that file)
change dspjpegenc to jpegenc (dsp plugin doesnt read quality/compression setting)
change '#quality=95' to 'quality=100' to set photo quality to 100%

Now save the file and restart N900 to apply the changes.

If you want to test the ipp(post-processing effect-better quality)
try this
[imagepp]
element=dspipp

again save and restart
tell us if you experience the 0kbytes bug

Quote:

Originally Posted by iceskateclog (Post 1359040)
Changed to true and dspipp, shutdown and turned on N900. Crashed while taking second photo. DCIM folder showed only one file, but it had length 0.

kernel-cssu, thumb2 and I have fcam installed

yes, same problem...

btw how do you install fcam drivers when they depend on kp<=44

iceskateclog 2013-07-15 08:35

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

Originally Posted by tanago (Post 1359049)
yes, same problem...

Maybe not. Just tried default file with only change to

"useconfigfile=true"

Now crashes while starting.

Tried with/without dspipp, jpegenc/dspjpegenc. After changing to useconfigfile=false, Camera works.

Configfile is the same as in http://talk.maemo.org/showpost.php?p...&postcount=988 except dspipp is ipp.

Quote:

Originally Posted by tanago (Post 1359049)
btw how do you install fcam drivers when they depend on kp<=44

fcam-drivers is from extras-devel

Tschaka 2013-07-15 10:05

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

Originally Posted by tanago (Post 1359049)
The only difference between our files is the jpeg encoding plugin - yours is dspjpegenc, mine - jpegenc and mine doesnt make any problems when i comment out ipp element, but I will try it out to be sure.

...

Ok, I now changed the encoding plugin to jpegenc and quality to 100%. the ipp is still set to dspipp. Photo files are now around 2.5-3 MB big, so I suppose this applied.

Restarted, took 8 photos in a row and no problem. I'll keep the setting at that and will try after using the phone for a while and having other application running at the same time.

Also, I don't think I got fcam installed.

Cheers

tanago 2013-07-15 11:23

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

Originally Posted by Tschaka (Post 1359081)
Ok, I now changed the encoding plugin to jpegenc and quality to 100%. the ipp is still set to dspipp. Photo files are now around 2.5-3 MB big, so I suppose this applied.

Restarted, took 8 photos in a row and no problem. I'll keep the setting at that and will try after using the phone for a while and having other application running at the same time.

Also, I don't think I got fcam installed.

Cheers

Thats nice, with dspipp,jpegenc and 100% quality photos are 2.5-3 MB indeed and thats the best photo quality that we can achieve on our N900. But you seem not to run into that problem. Now how must I investigate whats wrong with my setup :rolleyes: ....

Could you tell me what's the version of your camera-ui? mine is 1.1.29.2+0cssu16. and also the version of libgdigicam0, libgdigicam-gst-camerabin0 and if you run CSSU xyz?

Tschaka 2013-07-15 12:47

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

Originally Posted by tanago (Post 1359094)
Thats nice, with dspipp,jpegenc and 100% quality photos are 2.5-3 MB indeed and thats the best photo quality that we can achieve on our N900. But you seem not to run into that problem. Now how must I investigate whats wrong with my setup :rolleyes: ....

Could you tell me what's the version of your camera-ui? mine is 1.1.29.2+0cssu16. and also the version of libgdigicam0, libgdigicam-gst-camerabin0 and if you run CSSU xyz?

First, regarding the issue, I had camera-ui crash on me once when I took another set of photos, but in general it crashed only once through the course of taking 30 pictures with the settings I am sporting now. (edit: and it was also crashing at dspjpegenc without the dspipp enabled and resolution at 1.3MP before, but rarely, so I suppose that was one of those it-happens-sometimes-anyway-crashes.)

Anyway, here are my versions:

camera-ui 1.1.29.2+0cssu15+thumb0
libgdicicam0 0.3.29.2+cssu1+thumb0
libgdicicam0-gst-camerabin0 0.3.29.2+cssu1+thumb0

I am running latest CSSU-Thumb (21.2011.38-1Tmaemo8.2+thumb1). Before I was running 7.2+thumb1, and inbetween those two releases, CSSU-Testing was released in versions 21.2011.38-1Tmaemo8 to 8.2 to which I did not upgrade but instead waited for the new 8.2 thumb version which was released one or two days ago.

Also, as I said I am still running the v51 power kernel. The phone is overclocked to 805Mhz.

tanago 2013-07-18 09:19

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Just to mention.
dspipp will not work if you dont have 720p recording or at least libgstdsp.so from it's thread because dspipp element is in that module.

I'm now testing different video and photo encoding elements and their properties hoping we can get even better quality photos and videos

Tschaka 2013-07-18 11:08

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

Originally Posted by tanago (Post 1359771)
Just to mention.
dspipp will not work if you dont have 720p recording or at least libgstdsp.so from it's thread because dspipp element is in that module.

I'm now testing different video and photo encoding elements and their properties hoping we can get even better quality photos and videos

Now we get there. Should have said that earlier, as I never looked into any tweaking of photo or video taking.

I now copied the libgstdsp.so to /usr/lib/gstreamer-0.10/libgstdsp.so like described in the 720p thread and am now running into the problem, that the camera application simply closes after taking the picture due to an internal error and the photos are saved with 0 KB. So something is wrong there, I don't know what. Note, I did not install the whole 720p thing, never dealt with that, so I am just having that one lib on my system. Anything else I am missing or anyway else I can help? Otherwise I'll simply delete that lib again and reboot and will go without dsp, as the photos already look pretty nice now with all the other tweaks.

Alecsandru 2013-07-18 11:11

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
what about video encoding ? using another profile?

tanago 2013-07-18 11:20

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

Originally Posted by Tschaka (Post 1359797)
Now we get there. Should have said that earlier, as I never looked into any tweaking of photo or video taking.

I now copied the libgstdsp.so to /usr/lib/gstreamer-0.10/libgstdsp.so like described in the 720p thread and am now running into the problem, that the camera application simply closes after taking the picture due to an internal error and the photos are saved with 0 KB. So something is wrong there, I don't know what. Note, I did not install the whole 720p thing, never dealt with that, so I am just having that one lib on my system. Anything else I am missing or anyway else I can help? Otherwise I'll simply delete that lib again and reboot and will go without dsp, as the photos already look pretty nice now with all the other tweaks.

You dont need the whole 720p thing, just the libgstdsp.so placed in /usr/lib/gstreamer-0.10/

then you have 2 options to revert to the stock libgstdsp
1. Backup the stock file before replacing.
2.
Code:

apt-get purge gstreamer0.10-dsp
apt-get install gstreamer0.10-dsp

Quote:

Originally Posted by Alecsandru (Post 1359799)
what about video encoding ? using another profile?

Yes im testing all profiles and how the phone handles them and then pick the best - speed/quality, same applies for photos :)


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

vBulletin® Version 3.8.8