Skip to content

Commit 2001df4

Browse files
committed
Add h264_v4l2m2m codec and profiles to HomeKit cameras
1 parent 8921f18 commit 2001df4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

source/_integrations/homekit.markdown

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,16 @@ homekit:
253253
type: integer
254254
default: 1316
255255
video_codec:
256-
description: Only for `camera` entities. FFmpeg video codec for transcoding. `copy` option reduces CPU load when video source already encoded with `H264` (MPEG4). `h264_omx` option is only available with custom FFmpeg builds and enables GPU Hardware acceleration on Raspberry Pi.
256+
description: Only for `camera` entities. FFmpeg video codec for transcoding. `copy` option reduces CPU load when video source already encoded with `H264` (MPEG4). `h264_omx` option is only available with custom FFmpeg builds and enables GPU Hardware acceleration on Raspberry Pi. `h264_v4l2m2m` is also available for supported hardware, e.g., the Raspberry Pi, but does not require a custom build.
257257
required: false
258258
type: string
259259
default: libx264
260-
available options: copy, libx264, h264_omx
260+
available options: copy, libx264, h264_omx, h264_v4l2m2m
261+
video_profile_names:
262+
description: Only for `camera` entities. FFmpeg video profile names for transcoding, only relevant if `video_codec` isn't `copy`. Some encoders, e.g., the Raspberry Pi's `h264_v4l2m2m`, don't use the standard `["baseline", "main", "high"]` profile names but expects `["0", "2", "4"]` instead. Use this option to override the default names, if needed.
263+
required: false
264+
type: list
265+
default: ["baseline", "main", "high"]
261266
audio_codec:
262267
description: Only for `camera` entities. FFmpeg audio codec for transcoding. `copy` option reduces CPU load when audio source already encoded with `libopus`.
263268
required: false

0 commit comments

Comments
 (0)