bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
1.89k stars 265 forks source link

[Question] X1C Camera #329

Open prawnz opened 1 year ago

prawnz commented 1 year ago

Is there any way to link the X1C camera to homeassistant?

bambu123 commented 1 year ago

We have planned a virtual camera feature, to stream the printer video to localhost UDP/RTP/SDP for softwares such as OBS to broadcast the video. But we are not going to support HomeAssitant directly.

prawnz commented 1 year ago

If you can stream thru RTSP that should be sufficient.

bambu123 commented 1 year ago

We think RTSP is too complicated and a .sdp file is enough. You can then use VLC or OBS to get the RTSP stream.

prawnz commented 1 year ago

Won't you be preferring HLS as it will make it easier to be incorporated/change to modern devices?

bambu123 commented 1 year ago

Perhaps you need an FFmpeg server to get all the things. We are just a camera device, not a streaming service.

vilicvane commented 1 year ago

Any ETA available?

bambu123 commented 1 year ago

We plan to complete this feature in November.

RobinWhitfield commented 1 year ago

Documentation for this has started to appear:

https://wiki.bambulab.com/en/software/bambu-studio/virtual-camera

bambu123 commented 1 year ago

Yes, it is not completed.

ImagineerNL commented 1 year ago

Will you consider making this streaming app work on linux too, so we can have it running on a server (without needing to keep the pc open for streaming purposes)

bambu123 commented 1 year ago

it seems possible, but there is no easy way to config printer URLs across computers. The streaming tool needs a URL that can only be fetched from Bambu Studio. Also, it needs to be built from the source code in Linux and we supply only x86_64 binary for the ubuntu like system.

ImagineerNL commented 1 year ago

I'm quite sure people using linux are able to find the ip address of their printer, if thats what you mean

bambu123 commented 1 year ago

However, the URL is dynamic for security.