Skip to content

Add #timeout param for ffmpeg source#1956

Merged
AlexxIT merged 2 commits intoAlexxIT:masterfrom
felipecrs:ffmpeg-timeout
Dec 27, 2025
Merged

Add #timeout param for ffmpeg source#1956
AlexxIT merged 2 commits intoAlexxIT:masterfrom
felipecrs:ffmpeg-timeout

Conversation

@felipecrs
Copy link
Contributor

@felipecrs felipecrs commented Nov 25, 2025

This PR adds the #timeout parameter to the FFmpeg source, similar to the #timeout parameter of the RTSP source.

It allows users to easily modify the timeout value for RTSP inputs per stream without the need of copying all the other parameters using #input=.

Also, it makes the global default timeout configurable in a similar manner. It still defaults to 5 seconds.

Example:

ffmpeg:
  timeout: 10  # you can override it here for all streams

streams:
  # or you can override per-stream too
  mycam: ffmpeg:rtsp://192.168.1.33/0/av0#timeout=15#video=copy#audio=copy

@AlexxIT AlexxIT self-assigned this Nov 26, 2025
@AlexxIT AlexxIT merged commit 05fd0c5 into AlexxIT:master Dec 27, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 27, 2025

Thanks!

@AlexxIT AlexxIT added this to the master milestone Dec 27, 2025
@felipecrs felipecrs deleted the ffmpeg-timeout branch December 27, 2025 05:39
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 20, 2026

57Darling02 pushed a commit to 57Darling02/go2nvr that referenced this pull request Feb 17, 2026
57Darling02 pushed a commit to 57Darling02/go2nvr that referenced this pull request Feb 17, 2026
Add `#timeout` param for ffmpeg source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants