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)

|ErosizeD| 2011-12-07 11:34

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Please, someone, there is any way to control the recording bitrate????

I want to record at 10mbps or higher at WVGA or at 20mbps ( if is possible ) at HD.

don_falcone 2011-12-07 13:54

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
@estel: did you try the dcraw noise profiles i linked too?

don_falcone 2011-12-07 13:56

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

Originally Posted by Estel (Post 1134277)
@Nicolai or other camera-ui devs
Can I suggest adding 1 sec option to time-delay shutter trigger?

Rationale: N900 doesn't have IR receiver, so it's not possible to trigger shutter remotely. On the other hand, using HW or on-screen button, can cause vibration and "ruin" a little photo took with N900 mounted to tripod.

NEXT: Estel customizes N900 to sport 52 to 72mm filter mount with threads, to being able to capture bulb-mode NIR images. :D

(IMHO you are trying to achieve too much with this little bugger.)

Estel 2011-12-07 14:51

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Hey, shake-less photos using tripod isn't too much, especially considering how low amount of work it needs to add 1 sec delayed-trigger option ;)

As for bluetooth keyboard/mouse, haven't tried that, but will do. Of course, I think we agree that carring mouse/keyboard as remote shutter device is quite suboptimal ;)

/Estel

// Edit
I'll try filter when back on home, I'm currently on trip now (performing all my activity here from N900 itself, with USB keyboard and bluetooth mouse). Thanks anyway.

AndrewX192 2011-12-08 07:19

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
I've been experiencing an issue where I'm not always able to take a video. I able to set the camera into video taking mode, preview before taking a video, and start taking a video. However, once I start taking a video the screen never updates - it either remains at a black screen, or at the first frame of the video.

I was able to take pictures before I started writing this post, but while trying to figure out what was causing the video issue, I have also lost the ability to take pictures.

I have attempted to take pictures and videos on both a MicroSD card, as well as the internal storage.

Update: I should add that I haven't installed any sort of "DSP" patch, or otherwise for the 720p video recording.

Update #2: It's working after a reboot. However, since this isn't the first time I've experienced this issue, I believe that this will probably happen again. It's something that's going to need a close watch.

don_falcone 2011-12-08 07:27

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Thanks for your report. Now i'm assured that such an issue wasn't rooted in my dealings with packages.

Btw: dmesg and gst-launch logs are attached here.

Android_808 2011-12-08 08:42

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
estel: yeah, may not be most practical. remeber someone saying about using the old nokia folding keyboard thats all.

you could test with your usb one for now

Riddick 2011-12-08 15:34

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Andrew, I have the same problem.. some kind of bug..

AndrewX192 2011-12-08 16:09

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

Originally Posted by Riddick (Post 1135040)
Andrew, I have the same problem.. some kind of bug..

Does a reboot fix the issue?

liubutu 2011-12-08 18:12

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
OK, I installed the codecs for HD playback, no probs there, BUT as i got to the camera-ui and the libs i've got stuck. I've tried like 4 times to install the libs(libdigicam*) and XTerm says:
dpkg: error processing (filename) (--install) : cannot access archive: No such file or directory.
OK, but camera-ui installs just fine. If I might ask freemangordon to answer me, as i assume me and him will understand each other much better on our own language!! (Bulgarian) :)

new_n900 2011-12-09 03:21

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
I also have problem of recording video both High 16:9, and camerabdresolutionhd16x9....and other hd dvd mode.

Here's the screenshot
http://i1186.photobucket.com/albums/...209-091750.png

After that it just showed this black screen and the timer just keep going..
http://i1186.photobucket.com/albums/...209-091917.png

Until I touch on the screen and it show this
http://i1186.photobucket.com/albums/...209-091930.png

Please check my method below if I have done something wrong.

I refer to this topic:
http://talk.maemo.org/showthread.php?t=77695

Then I edit the two lines of my dsp file:
http://i1186.photobucket.com/albums/...phana/edit.png

I save it, and go to Xterm

Code:

root
kernel-config load dsp
kernel-config default dsp

I close and reboot the phone.

Then I refer to the relevant topic by same author:
http://talk.maemo.org/showthread.php...83#post1117683

Next, I downloaded 3 files, via Xterm as root, dpkg -i

camera-ui_1.1.29.2+0cssu7_armel.deb
libgdigicam0_0.3.29.1+0m5_armel.deb
libgdigicam-gst-camerabin0_0.3.29.1+0m5_armel.deb

I see that camera-ui file above is downgrade because I have CSSU 8...and I just kept it go on.

Then I reboot phone, and the problem happened as the screenshot above. I can take picture, but video recording just work only one or two frame at start of capture.

Note that I use Internal memory to save media, is that wrong or I have to use SD card ?


I need all of your help so much as right now it feel so bad to hold a lovely phone which doesn't operate camera well..even I don't know how to restore back the original camera ui beside reflashing this device several times again include repartitioning for the loveliest preenv game. Plus the great Community SSU. I love them all.


To be honest, Xterm, Sudo gainroot, Kernel-config.....and more are very very new to me as I'm just a simple Windows user. But the forum has helped me many things regarding this, that brings me up to all of these. Otherwise I would sell out my N900 in a couple of week after buying without knowing that it is so powerful like this at all :)


I need your help please.

nkirk 2011-12-09 05:16

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
the black screen is due to too low voltage on dsp, disable SR/increase voltages for 720 and 805 frequencies on dsp profile and reboot you should be fine.

No you are doing good, yes downgrade is required, but you wont lose much except the ability to upgrade apps, as a workaround you can use the deb which karam had posted few posts back.

new_n900 2011-12-09 06:28

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Sorry nkirk,
But what you mean by disable SR ? What is SR ?

You said increase voltages for 720 and 805..so I can write any number ? Example: 800, 1000 ? Is it possible ?

new_n900 2011-12-09 07:50

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Sorry I figure out what you mean, nkirk. SR = Smart Reflex ?
And you told me to increase voltage...for 720, 805 frequencies..I also figure out, it's the number 60 right ? So I made it to 70.

I will tell the result later.

Thanks.

nkirk 2011-12-09 07:58

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
No :eek: dont do like that, i should have been more specific. pls make SR vdd1= 0. For starters put a voltage of 48 for 720, 51 for 805.

With SR=1 (on) even if it says 60 for a particular frequency, it will only supply much less than that, but when you disable it, mpu(processor) will be supplied with 60, which is more than enough (70 is overvoltage which will fry ur mpu!), so lower it to the figures i've mentioned earlier and keep lowering them untill u find the sweet spot.

new_n900 2011-12-09 08:04

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Oh, so please take a look here:

This dsp file, the bold letter is where I edited it:

Code:

"frequency:volt,dsprate"
FREQS="0:30,90 125:30,90 250:38,180 500:48,360 550:54,400 600:60,600 720:48,600 805:51,600 850:60,600 900:60,600 950:60,600 1000:60,600 1100:72,600 1150:72,600"
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=1


freemangordon 2011-12-09 08:15

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

Originally Posted by liubutu (Post 1135103)
OK, I installed the codecs for HD playback, no probs there, BUT as i got to the camera-ui and the libs i've got stuck. I've tried like 4 times to install the libs(libdigicam*) and XTerm says:
dpkg: error processing (filename) (--install) : cannot access archive: No such file or directory.
OK, but camera-ui installs just fine. If I might ask freemangordon to answer me, as i assume me and him will understand each other much better on our own language!! (Bulgarian) :)

Well, I will translate "cannot access archive: No such file or directory" for you:

архива не може да се достъпи: няма такъв файл или директория

In other words try to execute dpkg in folder you've downloaded the files. Make a simple ls in directory where you think the files are downloaded and check.

freemangordon 2011-12-09 08:17

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

Originally Posted by new_n900 (Post 1135318)
Oh, so please take a look here:

This dsp file, the bold letter is where I edited it:

Code:

"frequency:volt,dsprate"
FREQS="0:30,90 125:30,90 250:38,180 500:48,360 550:54,400 600:60,600 720:48,600 805:51,600 850:60,600 900:60,600 950:60,600 1000:60,600 1100:72,600 1150:72,600"
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=1


Man/lady, search how to properly overclock your n900, your voltages/frequencies are very bad.

new_n900 2011-12-09 08:22

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
It's very nice to set the voltages as what you suggest, nkirk.
Right now I can record the video, the camera is working now. However, during recording, the video in the screen seems not running smooth but when I play it seems OK.

Does this relate to voltage ? Can I set more voltages, and what is the appropriate voltage should I set ?


@ freemangordon,
I'm a man :) Hi
Sorry to bother you, can you please tell me which is a good place for the reference of overclocking it ? Because what I did here I just follow what nkirk told in this thread:
http://talk.maemo.org/showpost.php?p...70&postcount=5

Or can you make one preset format frequency/voltage so that I can just follow it, the better.

I'm totally bad to the overclocking..and never tried any before either PC or phone like this N900.


Again thank for all your help,

vi_ 2011-12-09 08:44

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

Originally Posted by new_n900 (Post 1135325)
It's very nice to set the voltages as what you suggest, nkirk.
Right now I can record the video, the camera is working now. However, during recording, the video in the screen seems not running smooth but when I play it seems OK.

Does this relate to voltage ? Can I set more voltages, and what is the appropriate voltage should I set ?


@ freemangordon,
I'm a man :) Hi
Sorry to bother you, can you please tell me which is a good place for the reference of overclocking it ? Because what I did here I just follow what nkirk told in this thread:
http://talk.maemo.org/showpost.php?p...70&postcount=5

Or can you make one preset format frequency/voltage so that I can just follow it, the better.

I'm totally bad to the overclocking..and never tried any before either PC or phone like this N900.


Again thank for all your help,

-_-


_____________

liubutu 2011-12-09 09:42

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Yes, I did Is and it shows the files are in the folder (N900 memory).
But it doesn't want to instal them..

don_falcone 2011-12-09 09:55

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

Originally Posted by nkirk (Post 1135298)
the black screen is due to too low voltage on dsp, disable SR/increase voltages for 720 and 805 frequencies on dsp profile and reboot you should be fine.

...too bad this already happens with the stock/unaltered 'dsp' profile from kernel-power-settings v13.

nkirk 2011-12-09 10:19

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

Originally Posted by don_falcone (Post 1135350)
...too bad this already happens with the stock/unaltered 'dsp' profile from kernel-power-settings v13.

Default DSP profile is SR enabled, issue is some devices cannot handle the too low voltages which SR supplies even for stock frequencies. make sure to disable SR and tinker(by lowering voltage after disabling SR) with voltages untill you finds best stable voltages.
hopefully freemangordon will update kp50 with better SR voltages/calibrations.


Alternatively you should be still good to have SR on by moving oc-DSP frequencies to higher MPU frequencies. i.e 805: xx :560 and 850: xx :600

don_falcone 2011-12-09 11:10

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Too strange that it DID work for several days (around the 19th of November) before i updated to the last CSSU testing. With SR enabled. I have several 1024x576 videos recorded from that period.

tecs 2011-12-09 12:31

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
1 Attachment(s)
Hey @<camera-ui2 devs>,

yesterday I was thinking in bed (...) is it possible to implement software zoom in videos similar to the one found in Canon's newer DSLRs.

For example if the sensor is 512x512 pixels and you are shooting video @128x128 you would be skipping 3 pixels for each one, at zoom level 2 you would start shooting from 128th pixel top&left and end at 384th pixel skipping every other pixel, and at zoom level 3 you would start from 192th pixel and end at 320th pixel, capturing every of the pixels. This will create a software fake zoom that does not lose quality.

And some illustrations(Rant @TMO file uploader requirements):
Sensor: 32x32
Image: 8x8

don_falcone 2011-12-09 14:04

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

Originally Posted by tecs (Post 1135406)

tecs Posts: 10 | Thanked: 2 times | Joined on Oct 2011 @ Sofia, Bulgaria

Hey @<camera-ui2 devs>,

yesterday I was thinking in bed (...)

Yeah sure freemangordon (i mean "tecs", scusi), don't try to cheat us :D

freemangordon 2011-12-09 15:04

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

Originally Posted by don_falcone (Post 1135448)
Yeah sure freemangordon (i mean "tecs", scusi), don't try to cheat us :D

Nah, it is not me.

shanttu 2011-12-09 15:30

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Black screen / stuck on first frame on my device as well. DSP overclocked, SR off. With and without freemangordons 720p-packages.

woody14619 2011-12-09 20:47

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
I was having issues with camera-ui (original AND new), which nothing seemed to fix. On a whim, I decided to try the new 720p package because it contained some up-stream fixes. I figured it was already broken, so what could it hurt? Since then, camera-ui hasn't gotten the dreaded gst-faults (where when run from xterm it complains about not being able to allocate resources on dsp to save the image).

I see no reason to stay on the older drivers if they're not working for you... Give the new ones a shot. (Btw: I did discover that disabling SR vdd1 was needed to make it work properly for recording. Playback seemed to work fine in both modes though... How odd is that?)

|ErosizeD| 2011-12-12 03:53

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Still withouth getting any answer...

The DSP can handle higher bitrates? ( in theory DPS isnt the limiting factor here, it looks like write speeds are too slow )

So please, tell me, is posible to increase the bitrate? videos still looking to pixelated, my old Samsung H1 run at 15mbps at HD 720P and has lower hardware ( nand/microSD speed sucks ).


So please, i need an answer, i really can sleep! xD

hadjistyllis 2011-12-14 15:36

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

Originally Posted by shanttu (Post 1135487)
Black screen / stuck on first frame on my device as well. DSP overclocked, SR off. With and without freemangordons 720p-packages.

Well I was having this problem to but it solved when I
1)install multiboot and try to start with official kernel (not boot without reason)
2) Now I boot with power kernel 49. I record video with normal highest resolutio (hmmm now records ok). Now I go to mediaplayer and all video works after i play the new recorder file.

I use 720:60:600.

nkirk 2011-12-14 18:43

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

Originally Posted by hadjistyllis (Post 1137482)
Well I was having this problem to but it solved when I
1)install multiboot and try to start with official kernel (not boot without reason)
2) Now I boot with power kernel 49. I record video with normal highest resolutio (hmmm now records ok). Now I go to mediaplayer and all video works after i play the new recorder file.

I use 720:60:600.

60 is way too high for 720 MHz, will produce more heat and poorer bat life.

hadjistyllis 2011-12-16 22:14

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

Originally Posted by nkirk (Post 1137543)
60 is way too high for 720 MHz, will produce more heat and poorer bat life.

no 60 its ok. Lower sometimes crashes the phone. In revision 2204 we need more voltage for more stable n900. At 1000mhz voltage must be 68 and 950 64, unless reboot loop will come.

It depeneds on revision, the newer the more voltage we need.

|ErosizeD| 2011-12-18 18:12

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
How must "look" real HD on N900 with a carefully modified profiles, and settings ( like sharpnes, contrast, and bitrate )

http://www.imagengratis.org/images/n900hdnoaddon.jpg


How is "looking" right now...
http://www.imagengratis.org/images/n900hdaddonsc.jpg

This is simulated, ( first photo ) i made some phones like HTC Sensation record like a digital camera, just touching some settings, and increasing bitrate.

Any way, thanks and keep up the good work.


Resuming: With higher bitrates, and some sharpness reductions, can you make something good.

knobby 2011-12-18 18:27

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

Originally Posted by hadjistyllis (Post 1138516)
no 60 its ok. Lower sometimes crashes the phone. In revision 2204 we need more voltage for more stable n900. At 1000mhz voltage must be 68 and 950 64, unless reboot loop will come.

It depeneds on revision, the newer the more voltage we need.

I don't agree here...i've n900 with 2204 revision and running comfortably without any reboot loop at..
Code:

720:45,480
805:49,520
850:52,560
900:54,600
950:57,600

vdd1=0 and vdd2=0

P.S.. i seldom go above 850 MHz...these results i just remember from previous tests conducted to find out the most stable settings for the recently introduced pali's kp49 and freemangordon's hd work (for which i am highly thankful to them)...
and reboots are b'coz some devices cant handle higher dsp rates at lower frequencies imho (mine is 1 of 'em)

knobby 2011-12-18 18:52

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

Originally Posted by |ErosizeD| (Post 1139158)
How must "look" real HD on N900 with a carefully modified profiles, and settings ( like sharpnes, contrast, and bitrate )

http://www.imagengratis.org/images/n900hdnoaddon.jpg


How is "looking" right now...
http://www.imagengratis.org/images/n900hdaddonsc.jpg

This is simulated, ( first photo ) i made some phones like HTC Sensation record like a digital camera, just touching some settings, and increasing bitrate.

Any way, thanks and keep up the good work.


Resuming: With higher bitrates, and some sharpness reductions, can you make something good.

Offtopic.. If u don't mind, may i know the place where these pictures were shot...looks very calm and nice...it reminds me of my farmhouse...i miss it..

|ErosizeD| 2011-12-18 21:28

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

Originally Posted by knobby (Post 1139167)
Offtopic.. If u don't mind, may i know the place where these pictures were shot...looks very calm and nice...it reminds me of my farmhouse...i miss it..

This is from Spain

shanttu 2011-12-18 21:52

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

Originally Posted by shanttu (Post 1135487)
Black screen / stuck on first frame on my device as well. DSP overclocked, SR off. With and without freemangordons 720p-packages.

Replying to myself:

I reflashed my device and restored a backup from 40 days ago using backupmenu. Builded system piece by piece to date and I have no idea what was causing problems. Although I did notice that if dsp is overclocked too much, same behaviour occurs.

Everything is good now with latest CSSU (testing), freemangordon's packages (for recording only) and speedpatch.
SR 1 & 2 enabled.

vi_ 2011-12-20 12:17

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
I am not sure if this is even related to camera-ui2 however it seems like the most appropriate place to ask.

In a previous thread it was shown that if the file /etc/gdigicam/gdigicam.conf was altered to use 'jpegenc' instead of 'dspjpegenc' the quality parameter could be altered to change the level of jpeg compression. That is, it could be ramped up to 100 to create photos of ~3.5MB size instead of ~1.3MB. This is really cool. However, why does it not work with 'dspjpegenc'? Why does changing the value for quality have no effect when 'dspjpegenc' is selected?

It is a shame as dspjpegenc is definitely faster, photos take around half the time to appear in the gallery.

Mohammad 2011-12-20 12:23

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
just a question vi_
how to use dspjpegenc instead of jpegenc ? maybe gdigicam.conf is not read by dspjpegenc ?


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

vBulletin® Version 3.8.8