#!/bin/bash


ffmpeg -re -i $1 -codec copy -map 0:0 -map 0:1 -map_chapters -1 -movflags default_base_moof+frag_keyframe -f hls -hls_playlist_type event ./out.m3u8
