mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Fix I-frame interval in stream test video (#47638)
This commit is contained in:
parent
67effbc8c4
commit
d9bf63103f
@ -40,6 +40,7 @@ def generate_h264_video(container_format="mp4", audio_codec=None):
|
|||||||
stream.width = 480
|
stream.width = 480
|
||||||
stream.height = 320
|
stream.height = 320
|
||||||
stream.pix_fmt = "yuv420p"
|
stream.pix_fmt = "yuv420p"
|
||||||
|
stream.options.update({"g": str(fps), "keyint_min": str(fps)})
|
||||||
|
|
||||||
a_packet = None
|
a_packet = None
|
||||||
last_a_dts = -1
|
last_a_dts = -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user