-
-
Save khlam/146a72d3fc4d549f6f767cf826c32445 to your computer and use it in GitHub Desktop.
| { | |
| "name": "Camera FFmpeg", | |
| "cameras": [ | |
| { | |
| "name": "bambu", | |
| "videoConfig": { | |
| "source": "-rtsp_transport tcp -i rtsps://bblp:<LAN mode access code>@<X1C IP address>:322/streaming/live/1" | |
| } | |
| } | |
| ] | |
| } |
Hi thanks for reaching out. Yes occasionally I need to power-cycle the X1C but overall my stream is stable and works for weeks.
Hard to say what could be the issue, maybe verify the printer has a static IP, can send data over UDP, router firewall rules, update x1c firmware (I'm on 1.08), etc. Incase this helps debugging, the following ffmpeg command streams the camera to a file which can be viewed with VLC.
ffmpeg -i rtsps://bblp:<LAN mode access code>@<X1C IP address>/streaming/live/1 -c copy output.ts
Thanks so much! I'll give it a shot.
I think I found a solution. Someone on Reddit suggested that since the Handy app has a timeout on the video feed, perhaps we need to make ffmpeg timeout.
I added this parameter to the URL and it seems to have resolved the issue:
-timelimit 300
So my config is:
-timelimit 300 -rtsp_transport tcp -i rtsps://bblp:<LAN mode access code>@<X1C IP address>:322/streaming/live/1
Hey there. Have you gotten this to work reliably? I find that I can get a working stream from my X1C for about an hour and then it breaks until I restart my printer. Thanks!