Skip to content

Instantly share code, notes, and snippets.

@cjcolvar
Created February 1, 2013 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjcolvar/4692624 to your computer and use it in GitHub Desktop.
Save cjcolvar/4692624 to your computer and use it in GitHub Desktop.
MH HLS encoding profile
profile.hls.http.name = hls
profile.hls.http.input = visual
profile.hls.http.output = visual
profile.hls.http.suffix = -hls.m3u8
profile.hls.http.mimetype = application/x-mpegURL
profile.hls.http.ffmpeg.command = -i #{in.video.path} -codec copy -map 0 -bsf h264_mp4toannexb -f segment -segment_list #{out.dir}/#{out.name}#{out.suffix} -segment_time 10 #{out.dir}/${out.name}-%03d.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment