initial commit

This commit is contained in:
2025-08-19 11:40:26 -07:00
commit c34b325cf0
18 changed files with 1803 additions and 0 deletions

63
defaults/main.yaml Normal file
View File

@ -0,0 +1,63 @@
---
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_version: "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"
mount_sd: true
format_sd: false
sd_unmounted: true
arm_arch: false
streamer_packages:
- 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'
...