mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Use fragmented mp4 in stream recorder (#77822)
This commit is contained in:
parent
5c30b33ee2
commit
bb77af71ff
@ -104,7 +104,11 @@ class RecorderOutput(StreamOutput):
|
|||||||
"w",
|
"w",
|
||||||
format=RECORDER_CONTAINER_FORMAT,
|
format=RECORDER_CONTAINER_FORMAT,
|
||||||
container_options={
|
container_options={
|
||||||
"video_track_timescale": str(int(1 / source_v.time_base))
|
"video_track_timescale": str(int(1 / source_v.time_base)),
|
||||||
|
"movflags": "frag_keyframe",
|
||||||
|
"min_frag_duration": str(
|
||||||
|
self.stream_settings.min_segment_duration
|
||||||
|
),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user