Actualiser stream.sh
Some checks failed
Docker Build and Push for Main Branch / docker (push) Has been cancelled

This commit is contained in:
2026-04-19 21:40:22 +00:00
parent fc910b5fdf
commit 3a727762b2

View File

@@ -1,7 +1,7 @@
#!/bin/sh
echo "🎬 Démarrage du stream HLS optimisé (segments 2s)..."
ffmpeg -re -stream_loop -1 -i /video.mp4 \
ffmpeg -re -stream_loop -1 -i /app/video.mp4 \
-c:v libx264 -preset veryfast -b:v 1500k -maxrate 1500k -bufsize 3000k \
-c:a aac -b:a 128k -ar 44100 \
-force_key_frames "expr:gte(t,n_forced*2)" \