maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [WIP] cameraplus for Sailfish OS (https://talk.maemo.org/showthread.php?t=93256)

MSameer 2015-08-20 00:27

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by Rubz (Post 1478056)
Hey! Great app! I have two questions:
Will the app work in portrait mode at some point?
Can I manually increase the number of pictures the app takes in sequence mode? I want to put my phone somewhere and make a timelapse, but 20 pictures is not nearly enough...

Thanks! And keep up the good work!

I am not sure about portrait. I initially wanted to support it but I am now questioning the use of it really. I tried to implement it but the various labels are not making my life easy. I need to think of a better design.

Regarding shots: Unfortunately no. The maximum is 20 and is hardcoded. How many do you need?

Rubz 2015-09-06 09:29

Re: [WIP] cameraplus for Sailfish OS
 
Well, it would be awesome to be able to take at least enough shots for say a 20 second 15 fps timelapse video, so around 300 images? They wouldn't have to be full resolution shots either, 1080x1920 would suffice I'd say. I mean, we might be talking about a completely new app here if you're also going to implement stitching with ffmpeg or something. I'd be fine with doing most of the resizing and stitching work myself, as long as I could tell the app how many shots I wanted.

You think it would be possible to put these settings in a config file somewhere that users could modify at their own risk?

MSameer 2016-08-23 16:30

Re: [WIP] cameraplus for Sailfish OS
 
0.0.30-1 is out:
- Ported to Qt 5.2
- Change megapixels abbreviation in the settings page to MP instead of Mpx
- Get rid of the resolution classification (low, medium, high) in the settings pages
- use statefs to obtain battery information
- Show all supported camera resolutions in settings
- Cleaner UI for image timer and sequential modes
- Reworked mode button and mode selection:
- A click on the button will switch between image and video modes
- a button drag will show all available modes
- Slightly decrease the transition time between various modes
- Experimental support for pausing video recording
- Fixed a bug that sometimes caused a black viewfinder after maximizing the application.
- Make zooming via rocker keys a bit faster
- Switch video recording format to H264
- Fixed a memory leak when we change the resolution
- Initial Jolla tablet support
- Disable "use geotags" option instead of hiding it if using the GPS option is disabled
- Add an option to not use UTC for file naming
- Fixed typo in timer mode (Thanks marmistrz for spotting and reporting)
- Change zoom keys to volume keys in settings (Thanks marmistrz for spotting and reporting)
- Polish translation by Marcin Mielniczuk
- Fixes for various plural formats

Enjoy :)

velox 2017-02-28 21:18

Re: [WIP] cameraplus for Sailfish OS
 
cameraplus fails on SailfishOS 2.1.0 Early Access – do you plan to release a version built with the EA-SDK?
Thanks in advance!

MSameer 2017-03-01 22:53

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by velox (Post 1524418)
cameraplus fails on SailfishOS 2.1.0 Early Access – do you plan to release a version built with the EA-SDK?
Thanks in advance!

Is that SDK available anywhere?

rcolistete 2017-03-01 23:25

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by MSameer (Post 1524554)
Is that SDK available anywhere?

Sailfish OS SDK 1701

velox 2017-03-02 10:42

Re: [WIP] cameraplus for Sailfish OS
 
Keep in mind that there are some bugs in the 1701 version (well, it's pre-release), so it's not really good for some use cases yet – for example when using the "normal" build workflow, translations may get screwed up. See the responses to my post for a workaround:
https://together.jolla.com/question/...post-id-157143
So you might want to wait a bit if there are problems.

MSameer 2017-03-02 18:31

Re: [WIP] cameraplus for Sailfish OS
 
I don't use the SDK for building release RPMs. I don't even use it for development but anyway.

The issue was I was using egl without linking against it. Probably Qt was pulling it in. I did a fix and here is the RPM.
http://repo.merproject.org/obs//home...la.armv7hl.rpm
I cannot test is as I do not have a phone running SFOS 2.1
If it works then I will try to find time to push out a release :)

nieldk 2017-03-02 19:31

Re: [WIP] cameraplus for Sailfish OS
 
seems to work
(Oneplus X 2.1.0.9)

velox 2017-03-02 20:58

Re: [WIP] cameraplus for Sailfish OS
 
Works on Jolla1 2.1.0.9 as well! Thanks!

joruss 2017-05-01 13:43

Re: [WIP] cameraplus for Sailfish OS
 
How do I select resolution though?
On n9 there is a menu option with resolution selection, but on sfos (2.0.4.13) it is stuck to 2Mpx :(

Edit:
Nevermind, swiped right (eyeroll)

Anyway, it still only shows 2Mpx option in 16:9 proportion, while in 4:3 I have up to 8Mpx...

dameceno 2017-06-06 11:10

Re: [WIP] cameraplus for Sailfish OS
 
Thanks MSameer, the update app works flawlessly on Jolla 1 SFOS 2.1

Markkyboy 2017-11-25 16:05

Re: [WIP] cameraplus for Sailfish OS
 
Seems to work fine on SFOS 2.1.3.7, thanks!

MSameer 2017-11-25 19:44

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by dameceno (Post 1528884)
Thanks MSameer, the update app works flawlessly on Jolla 1 SFOS 2.1

That's a hardware issue. The maximum 16:9 resolution is 2MP only.

peterleinchen 2017-12-02 10:10

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by Markkyboy (Post 1538777)
Seems to work fine on SFOS 2.1.3.7, thanks!

But not on Jolla C! :(

iirc also from v2.0.5.6 (or likely) it is broken, does not start and just leaves a dead 'opaque app cover'...

--edit, output from terminal
Code:

~]$ harbour-cameraplus
[D] unknown:0 - Using Wayland-EGL
[W] unknown:0 - Module 'QtCamera' does not contain a module identifier directive - it cannot be protected
from external registrations.
[W] QtCamViewfinderRendererNemo::render:93 - renderer not started yet
[W] QtCamImageModePrivate::applyFastCapture:52 - applyFastCapture: not supported
harbour-cameraplus: symbol lookup error: /usr/share/harbour-cameraplus/lib/libqtcamera.so.1: undefined sym
bol: eglGetCurrentDisplay
[nemo@Sailfish ~]$


marmistrz 2018-01-14 14:44

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by peterleinchen (Post 1539064)
But not on Jolla C! :(

iirc also from v2.0.5.6 (or likely) it is broken, does not start and just leaves a dead 'opaque app cover'...

--edit, output from terminal
Code:

~]$ harbour-cameraplus
[D] unknown:0 - Using Wayland-EGL
[W] unknown:0 - Module 'QtCamera' does not contain a module identifier directive - it cannot be protected
from external registrations.
[W] QtCamViewfinderRendererNemo::render:93 - renderer not started yet
[W] QtCamImageModePrivate::applyFastCapture:52 - applyFastCapture: not supported
harbour-cameraplus: symbol lookup error: /usr/share/harbour-cameraplus/lib/libqtcamera.so.1: undefined sym
bol: eglGetCurrentDisplay
[nemo@Sailfish ~]$


peterleinchen, you need to get the rpm from the OBS: http://talk.maemo.org/showpost.php?p...&postcount=128

In my case (OnePlus3) I can't record any video (stock camera works fine but it records 4K video). The log follows: https://pastebin.com/zkcDi5r6

Is it more likely to be the port issue or cameraplus issue?

peterleinchen 2018-01-14 17:42

Re: [WIP] cameraplus for Sailfish OS
 
Thanks. Somehow missed this post.
Canera works now. But as you said video does not work. Cameraplus just freezes.

marmistrz 2018-01-14 17:43

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by peterleinchen (Post 1540234)
Thanks. Somehow missed this post.
Canera works now. But as you said video does not work. Cameraplus just freezes.

For me it doesn't freeze, I just get an error message asking to restart the app. You're using OnePlus3 too?

peterleinchen 2018-01-14 17:46

Re: [WIP] cameraplus for Sailfish OS
 
Using JollaC here.
Getting this default 'you may wait ...or... close the app'

Sorry, need to correct.
Video <=720p works, just 1080 freezes
(did not have configured so default 1080 was recorded)

claustn 2018-04-08 17:58

Re: [WIP] cameraplus for Sailfish OS
 
There are some useful functions missing:
- Timer
- Burst mode (time-lapse)
and why not:
- Panorama
- HDR

We really need a good camera app for Sailfish, I hope it will be included in Sailfish 3.

Btw, I tried OpenCamera on Android and it seems complete and lightweight (around 2MB).

MSameer 2018-04-08 18:17

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by claustn (Post 1543126)
There are some useful functions missing:
- Timer
- Burst mode (time-lapse)
and why not:
- Panorama
- HDR

We really need a good camera app for Sailfish, I hope it will be included in Sailfish 3.

Btw, I tried OpenCamera on Android and it seems complete and lightweight (around 2MB).

There is already timer support and sequential image capture (Capture an image every X seconds). What is time lapse?

There is already panorama for the N9 but it was not implemented for Sailfish.
HDR might need some low level work which I am not sure an outsider can do.

I have to admit that I have been neglecting the project for a while but I have been having hard times in real life. I apologize for that.
But the project is GPL so feel free to submit patches :)

claustn 2018-04-08 18:35

Re: [WIP] cameraplus for Sailfish OS
 
Thank for your work! And for the immediate feedback. I was using this application on the N9 and now on my Nexus 5 with Sailfish.
Maybe I am not using the latest version since I am still with an old version of Sailfish OS, I have to check.

Edit: I have the latest version, but I don't see the timer and sequence settings, why?

Time lapse=sequence ;)

MSameer 2018-04-08 19:25

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by claustn (Post 1543128)
Thank for your work! And for the immediate feedback. I was using this application on the N9 and now on my Nexus 5 with Sailfish.
Maybe I am not using the latest version since I am still with an old version of Sailfish OS, I have to check.

Edit: I have the latest version, but I don't see the timer and sequence settings, why?

Time lapse=sequence ;)

Thank you for your kind words :)

There is a mode button immediately underneath the shutter button. Tapping it switches between image and video modes. Dragging it towards the center reveals the various modes.

claustn 2018-04-08 20:00

Re: [WIP] cameraplus for Sailfish OS
 
noooo, really? I completely missed it! :eek: I fell stupid now, but it was not so intuitive.

MSameer 2018-04-08 20:28

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by claustn (Post 1543130)
noooo, really? I completely missed it! :eek: I fell stupid now, but it was not so intuitive.

It is not intuitive. I know that but it is the best I can think of :(

I am open for suggestions. Do you have a way to make it a bit more intuitive? :)

claustn 2018-04-08 21:51

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by MSameer (Post 1543131)
It is not intuitive. I know that but it is the best I can think of :(

I am open for suggestions. Do you have a way to make it a bit more intuitive? :)

Why not using the same way as on Harmattan? Just pressing the button without any need to swipe.

peterleinchen 2018-04-09 06:41

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by MSameer (Post 1543129)
...
There is a mode button immediately underneath the shutter button. Tapping it switches between image and video modes. Dragging it towards the center reveals the various modes.

C'mon, this is :eek::eek::eek:
Never seen that (nor had the need it seems).
Nice! Thx

mosen 2018-04-09 11:19

Re: [WIP] cameraplus for Sailfish OS
 
Maybe on first app upstart do a tutorial kind of sequence to introduce the function of the button?
Not like a full blown step by step SFOS/AsteroidOS tutorial, but just let the button "unfold" itself on first start and give a hint how to close and open this menu again?

Now that i know it is really nice to use :D

claustn 2018-04-09 11:53

Re: [WIP] cameraplus for Sailfish OS
 
Oh, so it was not only me :) I've been using this app for 1,5 years on Sailfish and I had to boot android in order use those functions.
The button in harmattan is self-explanatory, it would not need a tutorial.

Fellfrosch 2018-04-09 12:52

Re: [WIP] cameraplus for Sailfish OS
 
Is cameraplus working on SailfishX?
For me it is always crashing, when I try to open it.

MSameer 2018-04-09 18:25

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by claustn (Post 1543132)
Why not using the same way as on Harmattan? Just pressing the button without any need to swipe.

But Harmattan is the same as sailfish :)

Quote:

Originally Posted by peterleinchen (Post 1543140)
C'mon, this is :eek::eek::eek:
Never seen that (nor had the need it seems).
Nice! Thx

Quote:

Originally Posted by mosen (Post 1543146)
Maybe on first app upstart do a tutorial kind of sequence to introduce the function of the button?
Not like a full blown step by step SFOS/AsteroidOS tutorial, but just let the button "unfold" itself on first start and give a hint how to close and open this menu again?

Now that i know it is really nice to use :D

Maybe this is needed then but I honestly prefer self explanatory UI (Which I apparently failed to produce). tutorials are really boring :(

Maybe I need to think of a better way.

The issue with the button that shows the dialog is it prevents fast switching between image and video modes. I will try to think of something and I can bring the previous behavior back if I get a lot of votes :)

MSameer 2018-04-09 18:26

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by Fellfrosch (Post 1543152)
Is cameraplus working on SailfishX?
For me it is always crashing, when I try to open it.

In general: Anything other than Jolla 1 is not really supported.
I have a Jolla C and I can do the support for it. But I do not have a Sailfish X phone so I will have to rely on you guys testing it.

What's the error you get?

claustn 2018-04-09 20:20

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by MSameer (Post 1543157)
But Harmattan is the same as sailfish

My experience is different, in Harmattan you just press the button and then choose between Video, Timer and Sequence, here on Sailfish you need to swipe/scroll the button, otherwise it will just switch to video.

Zeta 2018-04-09 20:57

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by MSameer (Post 1543157)
Maybe this is needed then but I honestly prefer self explanatory UI (Which I apparently failed to produce). tutorials are really boring :(

One way to give a hint is to bump the menu a few pixels inside the screen each time the mode switch button is pressed (a smooth animation but not more than 1 second, only in and quickly out, to not disturb when pushing it was the real goal). That way, it becomes known that there is "something" in the vicinity. Knowing the menu moves to the left to appear, and that it happen while pressing the mode button, is shouldn't involve too much tries before getting to it !

Also, the video mode could be added to the list. That way, if someone gets in the menu, he can still go to video and is not blocked, if it was not clear for him that pushing it was the "correct" way to do.

My 0.02€...

PS: By the way your application looks good, I only discovered it now !

Fellfrosch 2018-04-10 08:21

Re: [WIP] cameraplus for Sailfish OS
 
Code:

[nemo@Sailfish ~]$ harbour-cameraplus
[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Defaulting to webview scaling factor of 1.0
[W] unknown:0 - Module 'QtCamera' does not contain a module ide
ntifier directive - it cannot be protected from external regist
rations.
[W] QtCamViewfinderRendererNemo::render:93 - renderer not start
ed yet
[W] QtCamImageModePrivate::applyFastCapture:52 - applyFastCaptu
re: not supported
harbour-cameraplus: symbol lookup error: /usr/share/harbour-cam
eraplus/lib/libqtcamera.so.1: undefined symbol: eglGetCurrentDi
splay
[nemo@Sailfish ~]$

That's what I get when I start it from console.

MSameer 2018-04-10 17:06

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by Fellfrosch (Post 1543173)
Code:

[nemo@Sailfish ~]$ harbour-cameraplus
[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Defaulting to webview scaling factor of 1.0
[W] unknown:0 - Module 'QtCamera' does not contain a module ide
ntifier directive - it cannot be protected from external regist
rations.
[W] QtCamViewfinderRendererNemo::render:93 - renderer not start
ed yet
[W] QtCamImageModePrivate::applyFastCapture:52 - applyFastCaptu
re: not supported
harbour-cameraplus: symbol lookup error: /usr/share/harbour-cam
eraplus/lib/libqtcamera.so.1: undefined symbol: eglGetCurrentDi
splay
[nemo@Sailfish ~]$

That's what I get when I start it from console.

Please check this post: https://talk.maemo.org/showpost.php?...&postcount=136

MSameer 2018-04-10 17:09

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by Zeta (Post 1543164)
One way to give a hint is to bump the menu a few pixels inside the screen each time the mode switch button is pressed (a smooth animation but not more than 1 second, only in and quickly out, to not disturb when pushing it was the real goal). That way, it becomes known that there is "something" in the vicinity. Knowing the menu moves to the left to appear, and that it happen while pressing the mode button, is shouldn't involve too much tries before getting to it !

Also, the video mode could be added to the list. That way, if someone gets in the menu, he can still go to video and is not blocked, if it was not clear for him that pushing it was the "correct" way to do.

My 0.02€...

PS: By the way your application looks good, I only discovered it now !

Welcome :)

Video mode is already down there :)

You have a nice idea but the more I think about the current mode switching (Sliding the dialog), the more I realize it does not blend with the overall UX.

I guess the best thing I can do is to add another button to show all the available modes. I do not like it but it might be the only option if I cannot figure out something else.

BluesLee 2018-04-10 17:24

Re: [WIP] cameraplus for Sailfish OS
 
Quote:

Originally Posted by MSameer (Post 1543195)

Many thanks, i missed that post:-)

Additional question to our camera / codec expert: Did you encountered in the past any issues regarding a delay between pressing the shutter button and the time when the photo is taken? We have this issue on a port with OP3 and all camera applications and no clue where to start analyzing. Thank you.

Fellfrosch 2018-04-10 17:59

Re: [WIP] cameraplus for Sailfish OS
 
Cool! Ialso missed that post. Thanx a lot for the hint, now i can use cameraplus again. For me it offers a better UI than the stock app. Great work!


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

vBulletin® Version 3.8.8