update readme

This commit is contained in:
2025-09-20 14:28:45 -07:00
parent a08d8c9153
commit 3432e8ac9f
15 changed files with 457 additions and 257 deletions

View File

@ -0,0 +1,17 @@
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- ./config:/config
- {{ recording_capture_folder }}:/data/recordings:ro
ports:
- {{ jellyfin_port }}:8096
restart: always
network_mode: bridge
...

View File

@ -4,11 +4,12 @@ After=network.target
[Service]
Type=simple
KillSignal=SIGINT
WorkingDirectory={{ streaming_working_folder }}
ExecStart={{ streaming_working_folder }}/stream_service.sh
Restart=always
User=root
Group=root
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +1,11 @@
#!/bin/bash
ffmpeg -hwaccel cuda -hwaccel_output_format cuda \
-f alsa -ac 2 -i {{ audio_device }} -thread_queue_size 64 \
DATE=$(date +'%Y%m%d-%H%M%S')
ffmpeg \
-f alsa -i {{ audio_device }} -thread_queue_size 64 \
-f v4l2 -framerate 30 -video_size 640x480 -input_format yuyv422 -i {{ video_device }} \
-c:v libx264 -preset ultrafast -tune zerolatency \
-vf "format=yuv420p" -g 60 -c:a aac -b:a 128k -ar 44100 \
-f flv rtmp://0.0.0.0:1935/stream
-c:v libx264 -preset fast -crf 23 -c:a aac -b:a 192k -tune zerolatency \
-f rtsp rtsp://localhost:8554/stream \
-f mp4 {{ recording_capture_folder }}/$DATE.mp4

10
templates/vcr_rip.conf Normal file
View File

@ -0,0 +1,10 @@
[vcr_rip]
path = {{ working_storage }}
writable = yes
read only = no
only guest = yes
public = yes
guest ok = yes
guest only = yes
guest account = nobody
browsable = yes