Files
vcr_capture/defaults/main.yaml
2025-10-12 16:50:32 -07:00

115 lines
3.0 KiB
YAML

---
# package list
streamer_packages:
- gdisk
- ffmpeg
- alsa-utils
- alsa-firmware-loaders
- apulse
- libasound2-plugins
- v4l-utils
- usbutils
- python3-venv
- python3-setuptools
# jenkinsfile vars
refresh_special: false
GUI_deploy: false
extra_storage: false
kiosk_refresh: false
remote_deploy: false
server_deploy: false
luna_offload: false
# jellfin vars
jellyfin_working_folder: "/opt/cosmos/jellyfin"
jellyfin_port: "8096"
jellyfin_deploy: false
# mediamtx vars
mediamtx_working_folder: "/opt/cosmos/mediamtx"
mediamtx_architecture: "amd64"
mediamtx_local_version: "deadbeef_test"
# config.yaml variables
mediamtx_configs:
- search_string: 'record:'
line: ' record: no'
- search_string: 'recordPath'
line: ' recordPath: {{ recording_capture_folder }}/%path/%Y-%m-%d_%H-%M/%H-%M-%S-%f'
- search_string: 'recordSegmentDuration'
line: ' recordSegmentDuration: 21600s'
- search_string: 'recordDeleteAfter'
line: ' recordDeleteAfter: 0s'
- search_string: 'recordMaxPartSize'
line: ' recordMaxPartSize: 500M'
# luna offload vars
mediamtx_remote_ffmpeg: ""
mediamtx_local_ffmpeg: ""
# kiosk vars
stream_preview_host: "localhost"
stream_control_host: "localhost"
#kiosk_service_templates:
# - chrome_website: "http://localhost:8081"
# service_name: user_stream_control
# service_description: "VCR Capture User Stream Control"
# extra_service_configs: ""
# user_data_dir: "/opt/chrome/one"
# extra_chrome_configs: |
# --window-size="560,1080" \
# --user-data-dir=/opt/chrome/one \
# --device-scale-factor="200" \
# - chrome_website: "http://{{ stream_preview_host }}:8888/stream"
# service_name: stream_preview
# service_description: "VCR Capture Preview Stream"
# extra_service_configs: ""
# user_data_dir: "/opt/chrome/two"
# extra_chrome_configs: |
# --window-size="1350,1080" \
# --user-data-dir=/opt/chrome/two \
# --window-position="570,0" \
# --device-scale-factor="200" \
# rtsp site vars
rtsp_site_working_folder: "/opt/cosmos/rtsp_site"
# service control vars
service_control_folder: "/opt/cosmos/streamer/service_control"
service_control_name: "stream_service.service"
service_name: "VCR Streamer"
container_name: "service_control"
# streamer service vars
streaming_working_folder: "/opt/cosmos/streamer"
video_device: "/dev/video0"
v4l2_id_string:
- "AV TO USB2.0"
- "USB Video"
audio_device: "hw:0,0"
lsusb_device_ID: "534d:0021"
capture_device_ID_string: "MS210"
# preview service vars
stream_preview_folder: "/opt/cosmos/preview"
# working folder vars
working_storage: "/media/sd_card"
recording_capture_folder: "{{ working_storage }}/recordings"
storage_unmounted: true
mount_storge: true
format_storage: false
sd_unmounted: true
# other vars
arm_arch: false
kiosk_models:
- "Surface Pro 2"
- "11G5S0C900"
arm_gui_list:
- "RK3588"
local_username: "cosmos"
armcpu_check: false
MediaMTX_only: false
arm_device_found: false
...