Skip to content

Instantly share code, notes, and snippets.

@khlam
Created November 23, 2024 02:21
Show Gist options
  • Select an option

  • Save khlam/146a72d3fc4d549f6f767cf826c32445 to your computer and use it in GitHub Desktop.

Select an option

Save khlam/146a72d3fc4d549f6f767cf826c32445 to your computer and use it in GitHub Desktop.
Config: Homebridge Camera FFmpeg for bambu lab x1c lan mode camera
{
"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"
}
}
]
}
@toddwchapin
Copy link

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