Advanced saving in live stack is bugged

A place to report problems and bugs in SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
jsadoulet
Posts: 12
Joined: Fri Jul 26, 2019 12:34 pm
Location: LYON FRANCE

Advanced saving in live stack is bugged

#1

Post by jsadoulet »

Hi Robin
Inside Live Stack, I am used to save and reset frames every x minutes
I wanted to change the time in minutes between two "save and reset" operations

Live stack becomes crazy and start saving each frame....

If I unclick the advanced save and reset, the Live stack comes back to normal behavior.
If I click again, craziness comes back.

It seems to occur when I have quited SharpCap with this "advanced saving" ticked. When I re-enter SC and re-enter Live Stack, "advance saving" number is red. If I want to activate it, then the bug occurs.

I have reproduced the bug with test camera 1 (deep sky)
Here attached is the log with my actions written at the proper moment

Jean-Paul

NB: by the way, is it normal Live Stack to save BOTH 16 and 32-bits files ?
Attachments
bug in saving live stack.docx
(36.84 KiB) Downloaded 110 times
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Advanced saving in live stack is bugged

#2

Post by admin »

Hi,

What number do you end up putting in the box to make it turn red? I can make it turn red by deleting all the numbers in the box but then if I close SharpCap and reopen it the last number that was previously selected appears in the box and it isn't red.

Cheers, Robin
jsadoulet
Posts: 12
Joined: Fri Jul 26, 2019 12:34 pm
Location: LYON FRANCE

Re: Advanced saving in live stack is bugged

#3

Post by jsadoulet »

Hi Robin
I usually stay between 5 and 7.
In my case the number is always red when I re enter SC LS
And the square stay ticked
Jean-Paul
jsadoulet
Posts: 12
Joined: Fri Jul 26, 2019 12:34 pm
Location: LYON FRANCE

Re: Advanced saving in live stack is bugged

#4

Post by jsadoulet »

when I open SharpCap it is as shown
JPS
Attachments
Capture.JPG
Capture.JPG (16.22 KiB) Viewed 2610 times
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Advanced saving in live stack is bugged

#5

Post by admin »

Hi,

I suspect that somehow the time between resets is internally being set to 0 minutes in spite of the UI showing a different value. I can't quite work out how that could happen at the moment but I'm going to add some logging to the next version that will help confirm if that is the problem.

Cheers, Robin
jsadoulet
Posts: 12
Joined: Fri Jul 26, 2019 12:34 pm
Location: LYON FRANCE

Re: Advanced saving in live stack is bugged

#6

Post by jsadoulet »

Thank you Robin
Is it normal that LS saves both 16 and 32 bits files ?
I only use 32 bits now.
JP
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Advanced saving in live stack is bugged

#7

Post by admin »

Hi,

Yes, both bit depth of saved in the autosave as it's difficult to know for sure which one the user will want. Easier to save both and let the user delete the one they don't want them to have some possibly complicated way to set which one to save by default.

Cheers, Robin
Chuckwagon
Posts: 30
Joined: Thu Oct 17, 2019 1:29 am

Re: Advanced saving in live stack is bugged

#8

Post by Chuckwagon »

Hi,

I saw this post and thought I'd add that I noticed an odd behavior when using the Advanced Save. Using 3.2.6117.0, I had it set to auto save every 6 minutes, and I was using 15 second exposures, which I would expect to save 24 frames. Instead it saves 25. Not a big deal, but thought I'd mention it. With 15 sec exposures it doesn't impact much, but if someone was doing longer exposures it might be an issue.

Also, might it be possible to get a "Save as displayed" option for the Advanced Save? Part of what I really like about live stacking is the reduction of post-processing I have to put in to get nice results. Using "Auto colour balance" and "Auto-Stretch" make it easy to see how things are going, and then I save the image as displayed and call it good. It would be awesome if that were possible with the Advanced Save. :)

Cheers,
Chuck
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Advanced saving in live stack is bugged

#9

Post by admin »

Hi Chuck,

The extra frame was because the code was waiting until the total exposure had exceeded the threshold rather than being happy when the exposure had met or exceeded the threshold. I will change that but there may still be cases where rounding errors might mean that you get an extra frame before the autosave.

I will also add code to automatically save the image in the 'with adjustments' mode which includes the colour and stretch adjustments made in the live stacking panel. SharpCap is already saving the stack as both 16 and 32-bit fits files so saving an extra PNG version is hardly going to be a problem.

Cheers, Robin
Chuckwagon
Posts: 30
Joined: Thu Oct 17, 2019 1:29 am

Re: Advanced saving in live stack is bugged

#10

Post by Chuckwagon »

Good to know. Like I noted, not really a big deal, more just a housekeeping thing persnickety folks (who, me?) might notice.

The save with adjustments will be a nice extra.

You rock! :)
Post Reply