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)

nicolai 2011-12-20 12:34

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.

vi_ 2011-12-20 12:44

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.

Thanks bro, I just found it though.

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.

freemangordon 2011-12-20 13:39

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

Originally Posted by vi_ (Post 1139922)
Thanks bro, I just found it though.

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.

That shoud be done via gdigicam/camera-ui, not through default value change. And (as felipec mentioned on 720p thread) dspipp should be included too in gstreamer pipeline. But that is planned after 720p recording is stable.

xes 2011-12-20 13:56

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

Originally Posted by vi_ (Post 1139922)
Thanks bro, I just found it though.

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.


...just for fun of the brave one's... here it is mr. quality 97% :cool:

WARNING... not tested, just compiled.

vi_ 2011-12-20 13:57

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

Originally Posted by freemangordon (Post 1139946)
That shoud be done via gdigicam/camera-ui, not through default value change. And (as felipec mentioned on 720p thread) dspipp should be included too in gstreamer pipeline. But that is planned after 720p recording is stable.

I agree entirely. However as a low priority bodge that would not take anytime to implement just upping the default value would suffice.

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.

vi_ 2011-12-20 14:04

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

Originally Posted by xes (Post 1139958)
...just for fun of the brave one's... here it is mr. quality 97% :cool:

WARNING... not tested, just compiled.

Wow, that was fast! However I think you need to compile it against freeman gordon's source tree here.

https://meego.gitorious.org/maemo-mu...dsp/trees/HEAD

Or it will not work...

freemangordon 2011-12-20 14:08

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

Originally Posted by vi_ (Post 1139962)
Wow, that was fast! However I think you need to compile it against freeman gordon's source tree here.

https://meego.gitorious.org/maemo-mu...dsp/trees/HEAD

Or it will not work...

Here ;) https://meego.gitorious.org/~freeman...mo5-hd-patches

xes 2011-12-20 14:12

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

Originally Posted by vi_ (Post 1139962)
Wow, that was fast! However I think you need to compile it against freeman gordon's source tree here.

https://meego.gitorious.org/maemo-mu...dsp/trees/HEAD

Or it will not work...

""The sources are exactly the same... ""
EDIT: wait a minute... path corrected... new build


and...Builded directly into my N900.
(maybe this will produce some speed optimization)

karam 2011-12-20 14:14

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
done
with patches from freemangordon

//EDIT

removed

vi_ 2011-12-20 14:19

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

Originally Posted by karam (Post 1139969)
done
with patches from freemangordon

That was fast. Although something is not quite right...FG libgstdsp.so is 158KB and your one is 805KB. Changing 1 single digit in 1 source file should not increase the size of the output by 900%.

Close, but no cigar.


All times are GMT. The time now is 17:03.

vBulletin® Version 3.8.8