mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
added documentation for camera-specific hwaccel export
This commit is contained in:
parent
9c1083776c
commit
759f595d00
@ -169,7 +169,7 @@ record:
|
|||||||
|
|
||||||
:::tip
|
:::tip
|
||||||
|
|
||||||
When using `hwaccel_args` globally hardware encoding is used for time lapse generation. The encoder determines its own behavior so the resulting file size may be undesirably large.
|
When using `hwaccel_args`, hardware encoding is used for time lapse generation, using the relevant camera's hwaccel configuration. The encoder determines its own behavior so the resulting file size may be undesirably large.
|
||||||
To reduce the output file size the ffmpeg parameter `-qp n` can be utilized (where `n` stands for the value of the quantisation parameter). The value can be adjusted to get an acceptable tradeoff between quality and file size for the given scenario.
|
To reduce the output file size the ffmpeg parameter `-qp n` can be utilized (where `n` stands for the value of the quantisation parameter). The value can be adjusted to get an acceptable tradeoff between quality and file size for the given scenario.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|||||||
@ -462,6 +462,8 @@ record:
|
|||||||
# The -r (framerate) dictates how smooth the output video is.
|
# The -r (framerate) dictates how smooth the output video is.
|
||||||
# So the args would be -vf setpts=0.02*PTS -r 30 in that case.
|
# So the args would be -vf setpts=0.02*PTS -r 30 in that case.
|
||||||
timelapse_args: "-vf setpts=0.04*PTS -r 30"
|
timelapse_args: "-vf setpts=0.04*PTS -r 30"
|
||||||
|
# Optional: Global override for hwaccel_args in an export context (default: camera-specific args)
|
||||||
|
hwaccel_args: auto
|
||||||
# Optional: Recording Preview Settings
|
# Optional: Recording Preview Settings
|
||||||
preview:
|
preview:
|
||||||
# Optional: Quality of recording preview (default: shown below).
|
# Optional: Quality of recording preview (default: shown below).
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user