Use fragmented mp4 in stream recorder (#77822)
This commit is contained in:
parent
5c30b33ee2
commit
bb77af71ff
1 changed files with 5 additions and 1 deletions
|
@ -104,7 +104,11 @@ class RecorderOutput(StreamOutput):
|
|||
"w",
|
||||
format=RECORDER_CONTAINER_FORMAT,
|
||||
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…
Add table
Add a link
Reference in a new issue