×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

V4L2 CCD PHD2 stacking not working

  • Posts: 26
  • Thank you received: 1
I have also tried with EKOS (like sombody in other topic here) and there even if I turn stream on nothing is captured and guiding does not work.
6 years 2 months ago #23313

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
Now the webcam can basically work phd2 if you compile today last git.
See:
www.indilib.org/forum/ccds-dslrs/3078-v4...-property.html#23384

If this work for you we can continue with the implementation of stacking.
6 years 2 months ago #23386

Please Log in or Create an account to join the conversation.

Unfortunately, there is no way to remove it since it is based on INDI::CCD now. Maybe you can add a checkbox in PHD2 to use streaming over standard capture when available? A user preference.
6 years 2 months ago #23391

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
I am a bit reluctant to add a checkbox because many user like to check the options they not need, and the risk is they use a less performant guiding by forcing to streaming a camera that also support long exposure.
At least all the users of ZWO and QHY are at risk. On the other side the users of webcam or video acquisition card are probably very few because this is not working with phd2 for nearly two years before we get a report.
6 years 2 months ago #23393

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 1
Thank you.
It works with my webcam, it falls to streaming after trying exposure. I don't need to turn on streaming in indi driver control panel.
How could we make stacking work?
Last edit: 6 years 2 months ago by Tomasz Pszon.
6 years 2 months ago #23395

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
I implemented stacking now:
github.com/OpenPHDGuiding/phd2/commit/18...570b88a5dbc2b1201c13

Can you compile the last git and try it?
6 years 2 months ago #23405

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 1
It works very nice. Thank you very much.
I have just noticed that it starts streaming and works for the time set in PHD's exposure control and then stops and starts again (This behaviour started in the version without stacking (github.com/OpenPHDGuiding/phd2/commit/8e...c203243953f11290b6f5))
It only lowers number of frames available for stacking if exposure time is set to 1, or 2 seconds (15 instead of 20 for 1s).
Last edit: 6 years 2 months ago by Tomasz Pszon.
6 years 2 months ago #23407

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
Thank you for testing!

Yes, I can probably change that to start the streaming the first time and never stop it until we disconnect the camera or maybe if the stop button is pushed.
Frames received outside of pseudo exposure time will just be ignored.
I look to make that tomorrow.
6 years 2 months ago #23413

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
This was more easy than I expected, I already commit the change:
github.com/OpenPHDGuiding/phd2/commit/59...f7d16b2bb455b03d04fe

Just pull and compile again, you must see more stacked frames as streaming is not always stopped.
6 years 2 months ago #23414

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 1
Great, it is brilliant. It works as expected.
Thank you again for your effort.
6 years 1 month ago #23424

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
Finally I also add an option in the phd2 INDI camera setup to force the use of streaming over exposure time.
I label the checkbox a bit negatively "Camera do not support exposure time" to avoid unwanted use. But you can use it force the use of stream stacking if the camera support both method.

This is in :
github.com/OpenPHDGuiding/phd2/commit/3a...db35b1d97d5e23ba3086
6 years 1 month ago #23434

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 1
Very good, now I don't need to wait 5s to start streaming.
I've compiled it and it works.
6 years 1 month ago #23435

Please Log in or Create an account to join the conversation.

Time to create page: 0.664 seconds