Add local M3U8 file support with validation

This commit is contained in:
Mathieu Moran
2026-01-11 23:31:45 -05:00
parent edfe004c69
commit 5a2f560f82
2 changed files with 23 additions and 4 deletions
+6 -1
View File
@@ -40,11 +40,16 @@ python stream_m3u_to_rtmp.py \
"https://example.com/live/stream.m3u8" \
"rtmp://live.twitch.tv/app/your_stream_key"
# Stream from local M3U8 file
# Stream from local M3U8 file (relative or absolute path)
python stream_m3u_to_rtmp.py \
"playlist.m3u8" \
"rtmp://server.com/live/stream_key"
# Stream from local M3U8 file with absolute path
python stream_m3u_to_rtmp.py \
"C:/path/to/playlist.m3u8" \
"rtmp://server.com/live/stream_key"
# Specify custom ffmpeg path
python stream_m3u_to_rtmp.py \
"https://example.com/stream.m3u8" \