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)

mirciox 2011-11-03 17:31

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

Originally Posted by robin92 (Post 1117692)
error when I trying to install with HAM:S Can I install through terminal?
Btw Take it photo with 720p or only video?

Photo quality 720p(1280x720)would be way worse than the default photo quality (2576 x 1936).

rmarcus 2011-11-03 19:07

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

Originally Posted by freemangordon (Post 1117683)
Hy guys, new version here. This one should record DVD/HD videos with following stable fps:

1280x720@25
960x720@30
1024x576@30
720x576@30

Even if you use stock DSP codecs or stock kernel it is still worth to install it, it should record more smooth videos(i.e. no stutter at all) for stock resolutions.

What is still missing is correct labels for HD/DVD resolutions and appropriate icons. I would appreciate if someone helps me with the icons as I am an awful graphics designer :)

Do I really need CSSU to be able to use it?:confused:

Estel 2011-11-05 03:35

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

Originally Posted by don_falcone (Post 1117851)
Btw: it seems N900 camera module has rolling shutter... there is skewing clearly visible when spinning around in my office chair while recording.

AFAIK N900 camera module doesn't have physical shutter (does any "phone" camera got one?), just enabling and disabling sensor. Or have I misunderstood something?

freemangordon 2011-11-05 10:24

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
@Estel - did I manage to do it on time for the concert you was talking about :) ?

patlak 2011-11-05 11:03

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

Originally Posted by Estel (Post 1118575)
AFAIK N900 camera module doesn't have physical shutter (does any "phone" camera got one?), just enabling and disabling sensor. Or have I misunderstood something?

Older Nokia phones had mechanical shutter (N73, N82, N95, N93, N90, etc)

Estel 2011-11-05 14:14

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

Originally Posted by freemangordon (Post 1118637)
@Estel - did I manage to do it on time for the concert you was talking about :) ?

Yea, thank You for that. My plans changed, cause I got my ticket upgraded (by Artist herself) from 74th row, balcony, to 1st row - kinda impossible for "sneaky" recording, but I was very happy for obvious reasons.

I managed to record 30 minutes encore (when everyone was out of chairs, standing near the scene, so security got no means of acting), holding N900 still, by using stage itself as tripod :D - but, at end, camera-ui failed to save 650 MB file correctly (to be precise, video stream was saved, but mp4 header got totally corrupted). It's my fault, at least partially - I thought, that after "snapshot" of saved video appeared (with options to view, delete etc), saving is finished, so I closed camera-ui. It got stuck on exit, so I killed it from within Maemo - results were catastrophic. It seems, that for big files, saving process is still going background, even after video seems to be saved by "common sense".

After a week-long video recovering saga (mp4 is the *****iest format, when it goes to errors in header...), reading tons of quicktime documentation, I managed to kinda fix it via hex editor - but strange effect happened to video. Every 5 seconds of it looks like - perfect picture (like made from keyframes only), turning into worse and worse one, to barely tolerable (like made of B frames only) - then, turning instantly to perfect one, and so goes on through whole video, 5 seconds-long cycles. A the same time, video timeline flow (i.e what was happening) *isn't* affected - so, frames aren't "shuffled". I haven't seen something like that before, and I'm not sure how it is possible - thought that keyframes and b-frames are saved in stream, during recording, so corrupted header, or saving errors, can't affect them - but, still, it doesn't seem to be fixable by any means.

Sorry for long, quite off-topic post.

/Estel

// Edit

Is there a way, to make camera-ui inform user about saving process still going on? After that fail, I know how to workaround'ish check it - just need to switch from video mode to photo mode (it *won't* switch, until saving is finished - can occur only, when saving big video files), but it's hardly a proper solution. Some "saving in progress" indicator - if it's possible - would be great.

TiagoTiago 2011-11-06 06:46

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

Originally Posted by Estel (Post 1118575)
AFAIK N900 camera module doesn't have physical shutter (does any "phone" camera got one?), just enabling and disabling sensor. Or have I misunderstood something?

He's talking about this

luketanti 2011-11-12 17:52

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Hi
First of all thanks very much for the great work.
When I press the resolution button the list comes up. I have to stock resolutions and the dvd/hd. But the DVD/HD is written like this "camerabdresolutionhd16x9" and so on for the other 3. Is this normal or do I have to edit some config to make them more user friendly.
Thanks again!

freemangordon 2011-11-12 17:57

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

Originally Posted by luketanti (Post 1122473)
Hi
First of all thanks very much for the great work.
When I press the resolution button the list comes up. I have to stock resolutions and the dvd/hd. But the DVD/HD is written like this "camerabdresolutionhd16x9" and so on for the other 3. Is this normal or do I have to edit some config to make them more user friendly.
Thanks again!

Yes, it is normal, HD/DVD resolutions are missing translation strings. Once my current play with kernel-power DSP/SR patches end and both new stable/testing CSSUs are out I will merge my camera-ui patches into CSSU testing(devel?) where translations will be added too.

Estel 2011-11-12 22:15

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Sorry for possibly dumb question, but I'm lost a little. Actually, with latest kernel-power (the one with SR for 0-900 enabled), and latest CSSU, we got everything that is needed for "perfect" 720p recording/playback, or we still need to keep files, extracted from harmattan root (or extract them, in case of fresh installs)?

I'm on version released before 13th October Tori Amos show (thanks again freemangordon), so I'm not sure what is correct order for latest GUI (by camera-ui) recording, and if it is hassle-free solution (i.e. next CSSU testing update will just fix minor glitches in camera_ui, and user don't need to clean/deinstall/reinstall anything), or still temporary one, to be removed after some sources got released (GPL saga with Nokia), and achieved by different ways (kp and camera-ui updates).

Sorry again, but I think some people may benefit for such a clarification - including me, because current whirlwind of development (making me cheerful and happy, by the way - really!) is somehow confusing in terms of "what's the most actual and proper way".

/Estel

mr_pingu 2011-11-13 13:33

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

Originally Posted by freemangordon (Post 1117683)
Hy guys, new version here. This one should record DVD/HD videos with following stable fps:

1280x720@25
960x720@30
1024x576@30
720x576@30

Even if you use stock DSP codecs or stock kernel it is still worth to install it, it should record more smooth videos(i.e. no stutter at all) for stock resolutions.

What is still missing is correct labels for HD/DVD resolutions and appropriate icons. I would appreciate if someone helps me with the icons as I am an awful graphics designer :)

I installed it along with kp49(SR enabled to 900MHZ) but still have the old ui, even after reboot. I just downloaded that archive and installed these 3 files with dpkg -i in xterm. After that I rebooted but I couldn't choose any HD resolution or anything from the camera-ui. I even reinstalled after reboot and did killall camera-ui.

Why the options aren't showing up?

freemangordon 2011-11-13 14:45

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
@mr_pingu you must have HD DSP codecs from n950 to have HD/DVD options in camera-ui

don_falcone 2011-11-13 15:24

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

Originally Posted by Estel (Post 1118575)
AFAIK N900 camera module doesn't have physical shutter (does any "phone" camera got one?), just enabling and disabling sensor. Or have I misunderstood something?

At least N73 should have mechanical shutter. Shutter here (as for N900) means electronic one. Rolling shutter = data is read out line by line, whereas global shutter flushes whole image at once (in very short descriptions),.Most CMOS sensors have rolling shutter, especially the larger format ones. CCD almost always implements global. This is f.e. important for video surveillance w/ biomteric recognition scenarios and moving subjects (what, surprisingly, is one of the use cases that my job is related to)

EDIt: quite late to the party, your post was already answered by patlak and Tiago.

WhiteWolf 2011-11-13 17:36

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Since installing the latest version, I just stuck with the image of what is the goal. I have to force the closure of the application and not recorded any videos.

santiago 2011-11-13 17:56

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

Originally Posted by WhiteWolf (Post 1122980)
Since installing the latest version, I just stuck with the image of what is the goal. I have to force the closure of the application and not recorded any videos.

i've got the same problem too.. It doesn't record any video.. i ve kp49, firmagordons's patch, but doesnt work with the new camera UI deb you suggested

*** SORRY, i made a mistake.. I just installed the camera UI u suggested, leaving the others files... I try again installing others two files. sorry again

Estel 2011-11-18 01:52

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
While getting accustomed to hardware keyboard shortcuts for actions in camera-ui2 (version from latest testing CSSU), I've come across few things, that may be bugs:

1. While recording, using on-screen button for pause and resume video does work ok. Ho ever, using "p" on keyboard for same purpose, pauses video, but using it again for resuming, result in "stuck" viewfinder (with video total time still progressing, it's recording), or, in worse cases, stuck camera-ui2. It is 100% reproduceable in my case, and don't appear, when I use on-screen button.

2. While recording video @ NightVideo mode, changing focus during recording doesn't work - by using camera button, nor f/F g/G hardware buttons. Ho ever, it *does* work, when using "0" and "1" hardware buttons (max/min focus) - I've checked that optics in camera module does move physically (to max and min, as it should). So, it doesn't seem that it is hardcoded or hardware limitation.

3. I'm sure this was mentioned here, but, can't find it ATM - while recording video, with indicator light disabled (by use of "h" hardware key), indicator light re-appear on each and every use of camera button (to adjust focus). I doesn't appear, when using manual focus.

If this is somehow out of being fixable for camera ui, maybe workaround, of adding on-screen button for auto-focus (thus avoiding using of camera button, when indicator light is turned off) would be good idea?

4. during taking photos without flash, indicator lights blink brightly for the moment. It is not possible to disable it for that mode in any way (although it's possible to turn it "on" permanently in camera mode, it doesn't prevent it from going on and "blink" in moment of taking photo. Nor does enabling it and disabling). Is there any way to get rid of it?

I think KP team is preparing something related to indicator light (a user-configurable value, to disable it permanently) - but I'm not sure if I remember correctly. That would make point 3 and 4 irrelevant. Ho ever, if including on-screen autofocus (point 3) button isn't much hassle, it could be useful anyway.

/Estel

nicolai 2011-11-20 12:51

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

Originally Posted by Estel (Post 1125284)
While getting accustomed to hardware keyboard shortcuts for actions in camera-ui2 (version from latest testing CSSU), I've come across few things, that may be bugs:

1. While recording, using on-screen button for pause and resume video does work ok. Ho ever, using "p" on keyboard for same purpose, pauses video, but using it again for resuming, result in "stuck" viewfinder (with video total time still progressing, it's recording), or, in worse cases, stuck camera-ui2. It is 100% reproduceable in my case, and don't appear, when I use on-screen button.

Fixable

Quote:

Originally Posted by Estel (Post 1125284)
2. While recording video @ NightVideo mode, changing focus during recording doesn't work - by using camera button, nor f/F g/G hardware buttons. Ho ever, it *does* work, when using "0" and "1" hardware buttons (max/min focus) - I've checked that optics in camera module does move physically (to max and min, as it should). So, it doesn't seem that it is hardcoded or hardware limitation.

No autofocus on night video mode, I don't think I can change this.
The autofocus is handled by the camera driver (or the omapcam daemon).

Quote:

Originally Posted by Estel (Post 1125284)
3. I'm sure this was mentioned here, but, can't find it ATM - while recording video, with indicator light disabled (by use of "h" hardware key), indicator light re-appear on each and every use of camera button (to adjust focus). I doesn't appear, when using manual focus.

The same as for 2. it is handle by the camera driver.

Quote:

Originally Posted by Estel (Post 1125284)
If this is somehow out of being fixable for camera ui, maybe workaround, of adding on-screen button for auto-focus (thus avoiding using of camera button, when indicator light is turned off) would be good idea?

It doesn't matter how to start autofocus. As soon as the camera driver starts
autofocus, it controls the indicator light as well.

Quote:

Originally Posted by Estel (Post 1125284)
4. during taking photos without flash, indicator lights blink brightly for the moment. It is not possible to disable it for that mode in any way (although it's possible to turn it "on" permanently in camera mode, it doesn't prevent it from going on and "blink" in moment of taking photo. Nor does enabling it and disabling). Is there any way to get rid of it?

The only thing you can do, use a custom led driver kernel
module

Nicolai

Crogge 2011-11-20 23:56

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

Originally Posted by freemangordon (Post 1117683)
Hy guys, new version here. This one should record DVD/HD videos with following stable fps:

1280x720@25
960x720@30
1024x576@30
720x576@30

Even if you use stock DSP codecs or stock kernel it is still worth to install it, it should record more smooth videos(i.e. no stutter at all) for stock resolutions.

What is still missing is correct labels for HD/DVD resolutions and appropriate icons. I would appreciate if someone helps me with the icons as I am an awful graphics designer :)

This are great news :) I like the camera of the N900 but the low video recording resolution was always a bit annoying. Being able to record videos in HD resolution at 25 FPS is a decent upgrade :)

I think it might be nice to have also a option to use 23.976 frame/s so you get a cinema like feeling at HD records.

freemangordon 2011-11-21 06:54

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

Originally Posted by Crogge (Post 1126590)
This are great news :) I like the camera of the N900 but the low video recording resolution was always a bit annoying. Being able to record videos in HD resolution at 25 FPS is a decent upgrade :)

I think it might be nice to have also a option to use 23.976 frame/s so you get a cinema like feeling at HD records.

Not supported in camera firmware, no way to happen.

maartenmk 2011-11-21 21:14

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

Originally Posted by nicolai (Post 1126326)
Fixable



No autofocus on night video mode, I don't think I can change this.
The autofocus is handled by the camera driver (or the omapcam daemon).


[....]

Nicolai

What is possible is manual focus. I have 'Live Focus' installed, a script which adds manual focus to the stock camera. It still works with camera-ui2, also in night video mode.
I believe it also adds some control over lights, but it's a bit clunky in video mode.

The creator is no longer around I believe, but it's a Python script.

Estel 2011-11-21 22:55

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Thanks for this info, it seems that it's related to my finding of "max/min" focus working during night mode. Well, we basically just need to wait for Nicolai looking into it, unless someone else here is knowledgeable enough, to point out certain code solution.

/Estel

nicolai 2011-11-22 09:47

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

Originally Posted by Estel (Post 1127073)
Thanks for this info, it seems that it's related to my finding of "max/min" focus working during night mode. Well, we basically just need to wait for Nicolai looking into it, unless someone else here is knowledgeable enough, to point out certain code solution.

/Estel

Manual focus works in night video mode, as well. Use
f/F or g/G key for manual focus.

nicolai

Estel 2011-11-22 11:49

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Nicolai, was there something changed in CSSU from latest CSSU update? I've tested it thoroughly day before CSSU, and I'm 100% sure, that only "0" and "1" worked, while f/F, and g/G did not.

Still, I've re-tested it now, and - indeed - it's working. So, thanks for pointing out, and this one is done ;)

/Estel

handaxe 2011-11-24 09:37

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

Originally Posted by ayos! (Post 1128317)
noobie question, i just want to be able to record dvd/hd quality, tried installing this via xterm but got an error, do i need kernel 49 for this to work? thanks

http://talk.maemo.org/showthread.php?t=77695

vi_ 2011-11-24 09:50

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
Here is a suggestion. Make camera-ui2 ignore the camera button (button clicked) if the shutter is closed. This would allow us to use camera button for other features through a slightly modified shortcutd.

?

petur 2011-11-24 10:05

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

Originally Posted by vi_ (Post 1128339)
Here is a suggestion. Make camera-ui2 ignore the camera button (button clicked) if the shutter is closed. This would allow us to use camera button for other features through a slightly modified shortcutd.

hmmm I already have half-press launch the task manager, do you mean something else?

F2thaK 2011-11-24 10:07

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

Originally Posted by vi_ (Post 1128339)
Here is a suggestion. Make camera-ui2 ignore the camera button (button clicked) if the shutter is closed. This would allow us to use camera button for other features through a slightly modified shortcutd.

?

im sure you can already do this....

Estel 2011-11-24 13:02

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
No, He can't. You too can't.

Shortcutd (and another similar package, with less functionality, also using half-pressed camera button - but I don't remember it's name now) allow to use half-press (short and long) for some action. vi_ is proposing, to also use full_press to do some thing.

ho ever, I'm worried a little, about functionality of it - every time you do full-press, You also perform half-press, a 0,1 second earlier ;) This may limit usage of full-press shortcut...

petur 2011-11-24 16:16

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

Originally Posted by Estel (Post 1128386)
ho ever, I'm worried a little, about functionality of it - every time you do full-press, You also perform half-press, a 0,1 second earlier ;) This may limit usage of full-press shortcut...

I'm sure this can be debounced

acrux 2011-11-25 15:52

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

Originally Posted by freemangordon (Post 1117683)
Hy guys, new version here. This one should record DVD/HD videos with following stable fps:

1280x720@25
960x720@30
1024x576@30
720x576@30

Even if you use stock DSP codecs or stock kernel it is still worth to install it, it should record more smooth videos(i.e. no stutter at all) for stock resolutions.

But if I prefer to stay at stock kernel (e.g. to have uboot for testing Nemo) then is there any sense to install also new DSP codecs alongside with new camera-ui or do they break something in that case?

freemangordon 2011-11-25 20:01

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

Originally Posted by acrux (Post 1128917)
But if I prefer to stay at stock kernel (e.g. to have uboot for testing Nemo) then is there any sense to install also new DSP codecs alongside with new camera-ui or do they break something in that case?

If you put new(aka Harmattan) DSP codecs on stock Nokia kernel (omap1) you will lose all DSP hardware accelerated multimedia functionality. Those codecs need updated DSP driver (part of kernel-power v49 and above) to work.

Alfred 2011-11-25 20:27

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
If i press camera button while in an app, it just goes to the task switcher, since i've set it to do so in shortcutd, camera app doesn't open

bingomion 2011-11-25 21:06

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
opening the lens cover, should launch the camera s.w

g0r 2011-11-26 00:57

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
there is an upgrade of libgdigicam-gst-camerabin0 and libgdigicam0, over apt-get upgrade for me after this upgrade if I use the settings for hd, dvd the camera freezes, any suggestions, thank you.

stooobs 2011-11-26 01:42

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
the upgrades are the stock nokia 1ns i belive you will have to reinstall the debs to get it working

g0r 2011-11-26 02:31

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

Originally Posted by stooobs (Post 1129069)
the upgrades are the stock nokia 1ns i belive you will have to reinstall the debs to get it working

did that already and is working, thank you

a_k_o 2011-11-27 06:01

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

I have installed both of patches for viewing and recording HD/DVD, now i found out that video calling is no more suppoted. Very pitty but I choose video calling rather than 720dp.

Any suggestions guys how to uninstall the updated recording patch posted in this thread.

Regards

freemangordon 2011-11-27 09:35

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

Originally Posted by a_k_o (Post 1129428)
Hello everyone,

I have installed both of patches for viewing and recording HD/DVD, now i found out that video calling is no more suppoted. Very pitty but I choose video calling rather than 720dp.

Any suggestions guys how to uninstall the updated recording patch posted in this thread.

Regards

Look at dedicated thread on how to uninstall 720p support. What is posted on this thread is not "720p recording patch" but camera-ui which supports 720p recording if such support is found on the device. Otherwise it acts like stock one.

imacmillan 2011-11-30 13:12

Re: camera-ui2 (now a part of CSSU) (updated 09. May)
 
im having trouble with this. worked before on kp49. but now on kernel bfs (based on 49) when i select hd video setting it freezes. dsp profile in use. only 2 things different. kernel bfs, and ramzwap in use. ideas?

edit - i can confirm this is only on bluray resolution. displays a black screen and have to killall camera-ui. dvd resolution records and plays.

edit2 - i can confirm that this is only on 16x9 bluray. happens when selecting. 4x3 bluray selects and records fine. odd one eh :) also just realised i may have posted this in the wrong thread. please dont shout at me!

edoiks 2011-11-30 23:03

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

Originally Posted by freemangordon (Post 1104719)
new version here

Supported resolutions:
HD
1280x720@25
960@720@25

DVD
1024@576@25
720@576@25

if recording in HD resolutions, esp 1280x720 it is better to use class 10 SD card as storage, as if internal flash is used stuttering occur. For some reason actual HD framerate is about 20, will investigate further.

Hi freemangordon,

I wonder if you could build camera-ui with HD resolutions based on latest CSSU T1.1 camera-ui.


All times are GMT. The time now is 05:53.

vBulletin® Version 3.8.8