running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
|- 360p_001.ts
|- 360p_002.ts
|- 480p.m3u8
|- 480p_001.ts
|- 480p_002.ts
|- 720p.m3u8
|- 720p_001.ts
|- 720p_002.ts
|- 1080p.m3u8
|- 1080p_001.ts
|- 1080p_002.ts
origin: http://docs.peer5.com/guides/production-ready-hls-vod/
If you use other language than english you get problem with printf in the bash script
../hls.sh ../output-video.mp4 l2r 0 0
../hls.sh: Zeile 36: printf: 5.00000000000000000000: Ungültige Zahl.
(standard_in) 1: syntax error
Executing command:
..
so try this and you get rid of it.
LC_ALL=C ../hls.sh ../output-video.mp4 l2r 0 0