bentasker / HLS-Stream-Creator

Simple Bash Script to take a media file, segment it and create an M3U8 playlist for serving using HLS
BSD 3-Clause "New" or "Revised" License
273 stars 101 forks source link

Added -u, -k and -K flags #20

Closed JapSeyz closed 6 years ago

JapSeyz commented 6 years ago
-u  Path Prefix
-k  Key Prefix
-K  Key Name

I had some time to do the PR before leaving for vacation tonight.

I've tested it, and this command now works as expected: ./HLS-Stream-Creator.sh -i video.mp4 -s 4 -o tmp -b 512 -K keyfile -e -k https://google.com -u https://example.com

I haven't tried to display a video with this, but I haven't changed anything in the processing.

bentasker commented 6 years ago

Sorry I missed the notification of the original pull!

Looks good to me, merging