[GH-ISSUE #29] [Bug]: no CAM stream for A1 #5

Closed
opened 2026-05-06 12:24:38 +02:00 by BreizhHardware · 12 comments

Originally created by @VID-PRO on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/29

Originally assigned to: @maziggy on GitHub.

Bug Description

when i open the cam stream no video is streamed

Expected Behavior

see the actual video stream

Steps to Reproduce

click on the camera icon for the printer

Printer Model

A1

Bambuddy Version

0.1.5final

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs

2025-12-24 05:28:01,766 INFO [backend.app.api.routes.camera] Starting camera stream for 192.168.88.134 (stream_id=1-f1b59483)
2025-12-24 05:28:01,929 INFO [backend.app.api.routes.websocket] WebSocket client connecting...
2025-12-24 05:28:01,929 INFO [backend.app.api.routes.websocket] WebSocket client connected
2025-12-24 05:28:01,930 INFO [backend.app.api.routes.websocket] Sent initial status for 1 printers
2025-12-24 05:28:03,660 INFO [backend.app.api.routes.camera] Terminated ffmpeg process for stream 1-f1b59483
2025-12-24 05:28:03,660 INFO [backend.app.api.routes.camera] Stopped 1 camera stream(s) for printer 1, active streams remaining: []
2025-12-24 05:28:03,665 WARNING [backend.app.api.routes.camera] Camera stream ended (no more data)
2025-12-24 05:28:03,665 INFO [backend.app.api.routes.camera] Terminating ffmpeg process for stream 1-f1b59483
2025-12-24 05:28:03,665 INFO [backend.app.api.routes.camera] Camera stream stopped for 192.168.88.134 (stream_id=1-f1b59483)

Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
Originally created by @VID-PRO on GitHub (Dec 24, 2025). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/29 Originally assigned to: @maziggy on GitHub. ### Bug Description when i open the cam stream no video is streamed ### Expected Behavior see the actual video stream ### Steps to Reproduce click on the camera icon for the printer ### Printer Model A1 ### Bambuddy Version 0.1.5final ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs ```shell 2025-12-24 05:28:01,766 INFO [backend.app.api.routes.camera] Starting camera stream for 192.168.88.134 (stream_id=1-f1b59483) 2025-12-24 05:28:01,929 INFO [backend.app.api.routes.websocket] WebSocket client connecting... 2025-12-24 05:28:01,929 INFO [backend.app.api.routes.websocket] WebSocket client connected 2025-12-24 05:28:01,930 INFO [backend.app.api.routes.websocket] Sent initial status for 1 printers 2025-12-24 05:28:03,660 INFO [backend.app.api.routes.camera] Terminated ffmpeg process for stream 1-f1b59483 2025-12-24 05:28:03,660 INFO [backend.app.api.routes.camera] Stopped 1 camera stream(s) for printer 1, active streams remaining: [] 2025-12-24 05:28:03,665 WARNING [backend.app.api.routes.camera] Camera stream ended (no more data) 2025-12-24 05:28:03,665 INFO [backend.app.api.routes.camera] Terminating ffmpeg process for stream 1-f1b59483 2025-12-24 05:28:03,665 INFO [backend.app.api.routes.camera] Camera stream stopped for 192.168.88.134 (stream_id=1-f1b59483) ``` ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy
BreizhHardware 2026-05-06 12:24:38 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@maziggy commented on GitHub (Dec 24, 2025):

I don't have a A1 to test. Please use branch 0.1.6b and let me know if it works.

https://github.com/maziggy/bambuddy/tree/0.1.6b

<!-- gh-comment-id:3688973954 --> @maziggy commented on GitHub (Dec 24, 2025): I don't have a A1 to test. Please use branch 0.1.6b and let me know if it works. https://github.com/maziggy/bambuddy/tree/0.1.6b
Author
Owner

@VID-PRO commented on GitHub (Dec 24, 2025):

i am using docker-compose.
how can i switch the branch?

<!-- gh-comment-id:3689253367 --> @VID-PRO commented on GitHub (Dec 24, 2025): i am using docker-compose. how can i switch the branch?
Author
Owner

@maziggy commented on GitHub (Dec 24, 2025):

git pull git checkout 0.1.6b

and than follow the standard docker installation.

<!-- gh-comment-id:3689260829 --> @maziggy commented on GitHub (Dec 24, 2025): ` git pull git checkout 0.1.6b ` and than follow the standard docker installation.
Author
Owner

@VID-PRO commented on GitHub (Dec 24, 2025):

now i get a error message in the camera window:

Camera unavailable
Make sure the printer is powered on and connected.

bambuddy    | INFO:     127.0.0.1:57586 - "GET /health HTTP/1.1" 200 OK
bambuddy    | 2025-12-24 11:02:26,259 INFO [backend.app.services.bambu_mqtt] [03919D551803559] wifi_signal received: -54dBm
bambuddy    | INFO:     192.168.88.120:53360 - "GET /api/v1/printers/1 HTTP/1.1" 200 OK
bambuddy    | 2025-12-24 11:02:29,386 INFO [backend.app.api.routes.camera] Stopped 0 camera stream(s) for printer 1, active streams remaining: []
bambuddy    | INFO:     192.168.88.120:53366 - "GET /api/v1/printers/1/camera/stop HTTP/1.1" 200 OK
bambuddy    | INFO:     192.168.88.120:53376 - "GET /api/v1/printers/1/camera/stream?fps=10&t=1766570549472 HTTP/1.1" 200 OK
bambuddy    | 2025-12-24 11:02:29,488 INFO [backend.app.api.routes.camera] Starting camera stream for 192.168.88.134 (stream_id=1-5d223250, model=A1, fps=5)
bambuddy    | 2025-12-24 11:02:29,488 INFO [backend.app.api.routes.camera] Using extended timeouts for A1 camera
bambuddy    | 2025-12-24 11:02:31,496 ERROR [backend.app.api.routes.camera] ffmpeg failed immediately: ffmpeg version 7.1.3-0+deb13u1 Copyright (c) 2000-2025 the FFmpeg developers
bambuddy    |   built with gcc 14 (Debian 14.2.0-19)
bambuddy    |   configuration: --prefix=/usr --extra-version=0+deb13u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
bambuddy    |   libavutil      59. 39.100 / 59. 39.100
bambuddy    |   libavcodec     61. 19.101 / 61. 19.101
bambuddy    |   libavformat    61.  7.100 / 61.  7.100
bambuddy    |   libavdevice    61.  3.100 / 61.  3.100
bambuddy    |   libavfilter    10.  4.100 / 10.  4.100
bambuddy    |   libswscale      8.  3.100 /  8.  3.100
bambuddy    |   libswresample   5.  3.100 /  5.  3.100
bambuddy    |   libpostproc    58.  3.100 / 58.  3.100
bambuddy    | Unrecognized option 'stimeout'.
bambuddy    | Error splitting the argument list: Option not found
bambuddy    | 
bambuddy    | 2025-12-24 11:02:32,087 INFO [backend.app.api.routes.camera] Stopped 0 camera stream(s) for printer 1, active streams remaining: []

found this:

The -stimeout option for rtsp has been renamed to -timeout in ffmpeg 5.0.

<!-- gh-comment-id:3689310988 --> @VID-PRO commented on GitHub (Dec 24, 2025): now i get a error message in the camera window: Camera unavailable Make sure the printer is powered on and connected. ``` bambuddy | INFO: 127.0.0.1:57586 - "GET /health HTTP/1.1" 200 OK bambuddy | 2025-12-24 11:02:26,259 INFO [backend.app.services.bambu_mqtt] [03919D551803559] wifi_signal received: -54dBm bambuddy | INFO: 192.168.88.120:53360 - "GET /api/v1/printers/1 HTTP/1.1" 200 OK bambuddy | 2025-12-24 11:02:29,386 INFO [backend.app.api.routes.camera] Stopped 0 camera stream(s) for printer 1, active streams remaining: [] bambuddy | INFO: 192.168.88.120:53366 - "GET /api/v1/printers/1/camera/stop HTTP/1.1" 200 OK bambuddy | INFO: 192.168.88.120:53376 - "GET /api/v1/printers/1/camera/stream?fps=10&t=1766570549472 HTTP/1.1" 200 OK bambuddy | 2025-12-24 11:02:29,488 INFO [backend.app.api.routes.camera] Starting camera stream for 192.168.88.134 (stream_id=1-5d223250, model=A1, fps=5) bambuddy | 2025-12-24 11:02:29,488 INFO [backend.app.api.routes.camera] Using extended timeouts for A1 camera bambuddy | 2025-12-24 11:02:31,496 ERROR [backend.app.api.routes.camera] ffmpeg failed immediately: ffmpeg version 7.1.3-0+deb13u1 Copyright (c) 2000-2025 the FFmpeg developers bambuddy | built with gcc 14 (Debian 14.2.0-19) bambuddy | configuration: --prefix=/usr --extra-version=0+deb13u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared bambuddy | libavutil 59. 39.100 / 59. 39.100 bambuddy | libavcodec 61. 19.101 / 61. 19.101 bambuddy | libavformat 61. 7.100 / 61. 7.100 bambuddy | libavdevice 61. 3.100 / 61. 3.100 bambuddy | libavfilter 10. 4.100 / 10. 4.100 bambuddy | libswscale 8. 3.100 / 8. 3.100 bambuddy | libswresample 5. 3.100 / 5. 3.100 bambuddy | libpostproc 58. 3.100 / 58. 3.100 bambuddy | Unrecognized option 'stimeout'. bambuddy | Error splitting the argument list: Option not found bambuddy | bambuddy | 2025-12-24 11:02:32,087 INFO [backend.app.api.routes.camera] Stopped 0 camera stream(s) for printer 1, active streams remaining: [] ``` found this: The -stimeout option for rtsp has been renamed to -timeout in ffmpeg 5.0.
Author
Owner

@maziggy commented on GitHub (Dec 24, 2025):

Do you have Lan-Only mode AND LIve-View enabled?

Ahh wait....there is an option error. Let me check that if I'm @home again. Will come back to you.

<!-- gh-comment-id:3689331534 --> @maziggy commented on GitHub (Dec 24, 2025): Do you have Lan-Only mode AND LIve-View enabled? Ahh wait....there is an option error. Let me check that if I'm @home again. Will come back to you.
Author
Owner

@VID-PRO commented on GitHub (Dec 24, 2025):

yes lan only and developer mode is on.

thanks for your help.

thats the last open point before i switch from simplyprint to your great bambuddy

<!-- gh-comment-id:3689338471 --> @VID-PRO commented on GitHub (Dec 24, 2025): yes lan only and developer mode is on. thanks for your help. thats the last open point before i switch from simplyprint to your great bambuddy
Author
Owner

@maziggy commented on GitHub (Dec 24, 2025):

Also Live-View? It's below the Lan-Only option.

<!-- gh-comment-id:3689342396 --> @maziggy commented on GitHub (Dec 24, 2025): Also Live-View? It's below the Lan-Only option.
Author
Owner

@VID-PRO commented on GitHub (Dec 24, 2025):

There is no such option on the a1.
But camera is working with bambu studio and simplyprint

<!-- gh-comment-id:3689419142 --> @VID-PRO commented on GitHub (Dec 24, 2025): There is no such option on the a1. But camera is working with bambu studio and simplyprint
Author
Owner

@maziggy commented on GitHub (Dec 24, 2025):

ffmpeg renamed an option. This is now fixed.

If you are still in branch 0.1.6b, just do a "git pull" and try again.

It's hard to debug when you have no A1 to test.

<!-- gh-comment-id:3689708101 --> @maziggy commented on GitHub (Dec 24, 2025): ffmpeg renamed an option. This is now fixed. If you are still in branch 0.1.6b, just do a "git pull" and try again. It's hard to debug when you have no A1 to test.
Author
Owner

@VID-PRO commented on GitHub (Dec 24, 2025):

not better

bambuddy    | INFO:     192.168.88.120:43282 - "GET /camera/1 HTTP/1.1" 200 OK
bambuddy    | INFO:     192.168.88.120:43310 - "GET /api/v1/printers/1 HTTP/1.1" 200 OK
bambuddy    | INFO:     192.168.88.120:43298 - "GET /api/v1/printers/1/camera/stream?fps=10&t=1766605675626 HTTP/1.1" 200 OK
bambuddy    | 2025-12-24 20:47:55,653 INFO [backend.app.services.camera] Found ffmpeg at: /usr/bin/ffmpeg
bambuddy    | 2025-12-24 20:47:55,653 INFO [backend.app.api.routes.camera] Starting camera stream for 192.168.88.134 (stream_id=1-a2056596, model=A1, fps=5)
bambuddy    | 2025-12-24 20:47:55,653 INFO [backend.app.api.routes.camera] Using extended timeouts for A1 camera
bambuddy    | 2025-12-24 20:47:55,810 INFO [backend.app.api.routes.websocket] WebSocket client connecting...
bambuddy    | INFO:     192.168.88.120:43320 - "WebSocket /api/v1/ws" [accepted]
bambuddy    | 2025-12-24 20:47:55,810 INFO [backend.app.api.routes.websocket] WebSocket client connected
bambuddy    | INFO:     connection open
bambuddy    | 2025-12-24 20:47:55,811 INFO [backend.app.api.routes.websocket] Sent initial status for 1 printers
bambuddy    | INFO:     192.168.88.120:43334 - "GET /sw.js HTTP/1.1" 200 OK
bambuddy    | 2025-12-24 20:48:02,951 INFO [backend.app.api.routes.camera] Terminated ffmpeg process for stream 1-a2056596
bambuddy    | 2025-12-24 20:48:02,951 INFO [backend.app.api.routes.camera] Stopped 1 camera stream(s) for printer 1, active streams remaining: []
bambuddy    | INFO:     192.168.88.120:43346 - "GET /api/v1/printers/1/camera/stop HTTP/1.1" 200 OK
bambuddy    | 2025-12-24 20:48:02,956 WARNING [backend.app.api.routes.camera] Camera stream ended (no more data)
bambuddy    | 2025-12-24 20:48:02,956 INFO [backend.app.api.routes.camera] Terminating ffmpeg process for stream 1-a2056596
bambuddy    | 2025-12-24 20:48:02,956 INFO [backend.app.api.routes.camera] Camera stream stopped for 192.168.88.134 (stream_id=1-a2056596)
<!-- gh-comment-id:3690431651 --> @VID-PRO commented on GitHub (Dec 24, 2025): not better ``` bambuddy | INFO: 192.168.88.120:43282 - "GET /camera/1 HTTP/1.1" 200 OK bambuddy | INFO: 192.168.88.120:43310 - "GET /api/v1/printers/1 HTTP/1.1" 200 OK bambuddy | INFO: 192.168.88.120:43298 - "GET /api/v1/printers/1/camera/stream?fps=10&t=1766605675626 HTTP/1.1" 200 OK bambuddy | 2025-12-24 20:47:55,653 INFO [backend.app.services.camera] Found ffmpeg at: /usr/bin/ffmpeg bambuddy | 2025-12-24 20:47:55,653 INFO [backend.app.api.routes.camera] Starting camera stream for 192.168.88.134 (stream_id=1-a2056596, model=A1, fps=5) bambuddy | 2025-12-24 20:47:55,653 INFO [backend.app.api.routes.camera] Using extended timeouts for A1 camera bambuddy | 2025-12-24 20:47:55,810 INFO [backend.app.api.routes.websocket] WebSocket client connecting... bambuddy | INFO: 192.168.88.120:43320 - "WebSocket /api/v1/ws" [accepted] bambuddy | 2025-12-24 20:47:55,810 INFO [backend.app.api.routes.websocket] WebSocket client connected bambuddy | INFO: connection open bambuddy | 2025-12-24 20:47:55,811 INFO [backend.app.api.routes.websocket] Sent initial status for 1 printers bambuddy | INFO: 192.168.88.120:43334 - "GET /sw.js HTTP/1.1" 200 OK bambuddy | 2025-12-24 20:48:02,951 INFO [backend.app.api.routes.camera] Terminated ffmpeg process for stream 1-a2056596 bambuddy | 2025-12-24 20:48:02,951 INFO [backend.app.api.routes.camera] Stopped 1 camera stream(s) for printer 1, active streams remaining: [] bambuddy | INFO: 192.168.88.120:43346 - "GET /api/v1/printers/1/camera/stop HTTP/1.1" 200 OK bambuddy | 2025-12-24 20:48:02,956 WARNING [backend.app.api.routes.camera] Camera stream ended (no more data) bambuddy | 2025-12-24 20:48:02,956 INFO [backend.app.api.routes.camera] Terminating ffmpeg process for stream 1-a2056596 bambuddy | 2025-12-24 20:48:02,956 INFO [backend.app.api.routes.camera] Camera stream stopped for 192.168.88.134 (stream_id=1-a2056596) ```
Author
Owner

@maziggy commented on GitHub (Dec 25, 2025):

Found the problem: the A1 video stream is different: X1, X1C, X1E, H2C, H2D, P2S are using RTSPS on port 322, A1, A1MINI, P1P, P1S are using port 6000.

Please try again. Don't forget to "git pull" first.

<!-- gh-comment-id:3691021076 --> @maziggy commented on GitHub (Dec 25, 2025): Found the problem: the A1 video stream is different: X1, X1C, X1E, H2C, H2D, P2S are using RTSPS on port 322, A1, A1MINI, P1P, P1S are using port 6000. Please try again. Don't forget to "git pull" first.
Author
Owner

@VID-PRO commented on GitHub (Dec 25, 2025):

its working but there is only one little thing left.
the cam window is a little to small so i get a scroll mark.

Image

i think it has an other aspect ratio.

Image

THANK YOU for your great and fast help.
now i can switch from simplyprint to bambuddy

<!-- gh-comment-id:3691631442 --> @VID-PRO commented on GitHub (Dec 25, 2025): its working but there is only one little thing left. the cam window is a little to small so i get a scroll mark. <img width="652" height="471" alt="Image" src="https://github.com/user-attachments/assets/ac56a8be-e43b-481d-8813-a2910c350099" /> i think it has an other aspect ratio. <img width="648" height="572" alt="Image" src="https://github.com/user-attachments/assets/c8f3093b-830c-4bbc-bd7f-6510d48f1677" /> THANK YOU for your great and fast help. now i can switch from simplyprint to bambuddy
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#5
No description provided.