Files
gitlab-instance-0a899031_do…/config/hardware.env.example
2026-03-28 17:16:38 -05:00

15 lines
749 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 config/hardware.env 或安装后由 scripts/hardware_probe.py --write 生成
# 抖音→YouTube 推流(douyin_youtube_ffplay.py)在 Linux 上会读取本文件中的 LIVE_VIDEO_ENCODER。
#
# —— ARM(RK3588 等)常见:h264_rkmpp(需 /dev/mpp_service 与 ffmpeg 含 rkmpp)
# —— ARM 通用 V4L2:h264_v4l2m2m
# —— x86_64 Intel/AMD 核显(VA-API):h264_vaapi(需 /dev/dri render 节点)
# —— x86_64 Intel Quick Sync:h264_qsv(需 ffmpeg 编译带 libmfx/oneVPL)
# —— NVIDIA:一般无需写此处,推流脚本会自行检测 nvidia-smi + h264_nvenc
#
# LIVE_VIDEO_ENCODER=h264_v4l2m2m
# LIVE_HW_DECODER=cpu
# LIVE_HDMI_PLAYER=mpv-drm
# LIVE_BROWSER_HWACCEL=auto
# LIVE_STABILITY_MODE=safe