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

15 lines
749 B
Plaintext
Raw 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。
#
# —— ARMRK3588 等常见h264_rkmpp需 /dev/mpp_service 与 ffmpeg 含 rkmpp
# —— ARM 通用 V4L2h264_v4l2m2m
# —— x86_64 Intel/AMD 核显VA-APIh264_vaapi需 /dev/dri render 节点)
# —— x86_64 Intel Quick Synch264_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