68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
---
|
|
|
|
working_storage: "/media/sd_card"
|
|
|
|
owncast_capture_folder: "{{ working_storage }}/owncast"
|
|
|
|
recording_capture_folder: "{{ working_storage }}/recordings"
|
|
|
|
streaming_working_folder: "/opt/cosmos/streamer"
|
|
|
|
mediamtx_working_folder: "/opt/cosmos/mediamtx"
|
|
|
|
service_control_folder: "/opt/cosmos/streamer/service_control"
|
|
|
|
video_device: "/dev/video0"
|
|
|
|
audio_device: "hw:0,0"
|
|
|
|
mediamtx_architecture: "amd64"
|
|
|
|
lsusb_device_ID: "534d:0021"
|
|
|
|
capture_device_ID_string: "MS210"
|
|
|
|
service_control_name: "stream_service.service"
|
|
|
|
service_name: "VCR Streamer"
|
|
|
|
container_name: "service_control"
|
|
|
|
mediamtx_local_version: "deadbeef_test"
|
|
|
|
mount_sd: true
|
|
|
|
format_sd: false
|
|
|
|
sd_unmounted: true
|
|
|
|
arm_arch: false
|
|
|
|
refresh_special: true
|
|
|
|
streamer_packages:
|
|
- gdisk
|
|
- ffmpeg
|
|
- alsa-utils
|
|
- alsa-oss
|
|
- alsa-firmware-loaders
|
|
- apulse
|
|
- libasound2-plugins
|
|
- v4l-utils
|
|
- usbutils
|
|
- python3-venv
|
|
|
|
# media_mtx variables
|
|
mediamtx_configs:
|
|
- search_string: 'record:'
|
|
line: ' record: yes'
|
|
- search_string: 'recordPath'
|
|
line: ' recordPath: {{ recording_capture_folder }}/%path/%Y-%m-%d_%H-%M/%H-%M-%S-%f'
|
|
- search_string: 'recordSegmentDuration'
|
|
line: ' recordSegmentDuration: 3600s'
|
|
- search_string: 'recordDeleteAfter'
|
|
line: ' recordDeleteAfter: 0s'
|
|
- search_string: 'recordMaxPartSize'
|
|
line: ' recordMaxPartSize: 500M'
|
|
|
|
... |