Skip to content

Instantly share code, notes, and snippets.

@yalov
yalov / Record_HLS.sh
Last active January 25, 2022 04:32 — forked from John07/HLS_dvr.sh
A small bash script to make ffmpeg recording HLS streams (m3u8).
#!/bin/bash
for i in {1..168} # week
do
echo "ITERATION $i"
seconds=3600 #hour
# Date format for the recording file name