×

INDI Library v1.9.5 Released (08 Mar 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Poor FPS when streaming

  • Posts: 33
  • Thank you received: 0

Replied by Kari Brown on topic Poor FPS when streaming

Ah. That explains it! Thanks for looking into it.
3 years 9 months ago #28068

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

  • Posts: 33
  • Thank you received: 0

Replied by Kari Brown on topic Poor FPS when streaming

I'm somewhat tempted to have a closer look at the oaCapture source code and see if it would be easy to write an indi ccd driver based on it. I believe it does not depend on the QHY SDK. Does that make any sense? Obviously it would make it less generic...
3 years 9 months ago #28110

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

  • Posts: 18
  • Thank you received: 1
Hi Jasem,

I'm also getting low FPS with the INDI GPhoto driver, with my Canon T5i/700D.

As a basis of comparison, I can get get 8.2fps max at full resolution with EOS Camera Movie Record (that also uses GPhoto2), but the INDI GPhoto driver gets only 1.5fps max.

Also, it would be nice if we could have a 5x zoom/crop option, like EOS Camera Movie Record does, to be able to get 2x higher FPS (17.7fps max with my setup).

Thanks,
Andre
3 years 3 months ago #33772

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

and how can this be done in libgphoto2? that's the question :-)
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 3 months ago #33791

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

  • Posts: 81
  • Thank you received: 26
Try this INDI compatible INDIGO driver: github.com/indigo-astronomy/indigo/tree/..._drivers/ccd_gphoto2
It supports 5x Zoom and many more features. It was developed and tested with a 700D, so basically everything works even automatic mirror lockup etc...
3 years 3 months ago #33792

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

Ok I just asked Thomas if he can add this feature to the INDI driver as well. Regarding the speed, I'm working on a new websocket based solution that should help with the frame rates. Now if I can finish the new Synscan driver...
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 3 months ago #33793

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


Ok I feel stupid now since you are Thomas and the the developer behind this driver. Can something like this be done on the INDI driver side as well? Right now, JPEG frames are sent. Is this software zoom or a camera control feature?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
Last edit: 3 years 3 months ago by Jasem Mutlaq.
3 years 3 months ago #33856

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

  • Posts: 18
  • Thank you received: 1
Copello, thanks for the suggestion.
Unfortunately, I'm looking for a way of capturing a video stream of raw cropped/5x zoomed frames (like eos-movrec app does), and the INDIGO ccd gphoto2 driver provide only a feature for capturing cropped/5x zoomed preview stills, since it doesn't have the Streaming tab/feature.
3 years 3 months ago #33908

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

  • Posts: 18
  • Thank you received: 1
Jasem,
I was checking the code from eos-movrec and I found some interesting things:
1- They also used gp_camera_capture_preview(...) for capturing from the Live View stream, but they employed a Mutex to control the update (memcpy() of the pointer data from gp_file_get_data_and_size() into the buffer frame) of the live stream buffer, and a file write control to try to stabilize the fps. Looks like this must be implemented at both INDI::StreamManager and driver side;
2- Instead of doing software cropping, like INDI Photo does, they used _gp_set_config_value_string(camera, "eoszoom", str_param, camera_context) and _gp_set_config_value_string(camera, "eoszoomposition", str_param, camera_context) to enable zoom and set the zoom/crop position features of the camera's Live View itself. According to this thread , only 1x and 5x zoom factors work, and, unfortunately, 10x zoom doesn't work. The equivalent command line call would be something like: gphoto2 --set-config eoszoom=5 eoszoomposition=640,320 --capture-preview
The following user(s) said Thank You: Alfred
3 years 3 months ago #33911

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

Andreok,

Thank you for your feedback. I will be done with implementing this feature today. Already started on it yesterday and found it to be straightforward actually to implement. Also, with the new websocket powered INDI drivers, I am getting around ~9-10 FPS.. before it was 5-6 FPS max. KStars nightly should have the updated interface and I'll post a video here later on what to expect.

The INDI GPhoto driver also uses now a dedicated thread for this which substantially improved the performance. These changes will boost the performance of all INDI CCD drivers. For V4L2 drivers, now I can get 30+ FPS in KStars :-)
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 3 months ago #33919

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

So what do you guys think of this? I think the interface is pretty simple to use?

It's actually a lot faster now.. sometimes I get 25fps from Canon live view. It's vast improvement over older driver!
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 3 months ago #33932
Attachments:

    dslr.mp4

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

  • Posts: 18
  • Thank you received: 1
Jasem,
This is great! Really handy for manual focusing!
The Preview from Ekos use the Streaming feature/tab from the Photo driver?
I'm asking this because I want to use the driver to capture planetary SER files for Lucky Imaging of the Live View frames of my DSLR.
Thanks,
Andre
3 years 3 months ago #33936

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

Time to create page: 0.855 seconds