Created
November 23, 2024 02:21
-
-
Save khlam/146a72d3fc4d549f6f767cf826c32445 to your computer and use it in GitHub Desktop.
Config: Homebridge Camera FFmpeg for bambu lab x1c lan mode camera
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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" | |
| } | |
| } | |
| ] | |
| } |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks so much! I'll give it a shot.