Assume we have downloaded hls.sh and have a directory abcde that has a video file (.mp4 etc.)
Run script like:
bash hls.sh abcdef source
It has 3 main parts
-
Transcoding from mp4 to high, low and medium bitrates and appropriate resolutions mp4 files
-
Genrate segments (HLS transport segments) using mediafilesegmenter
-
Generate master m3u8 or playlist using variantplaylistcreator