Forked from nulltask/gist:04eaa5509e3d3263028eb3c6bf6707b5
Created
April 8, 2017 09:08
-
-
Save aemon/c043161c55963b2c0b00c708e6e1770d to your computer and use it in GitHub Desktop.
Convert MP4 to HLS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i full.m4v -vcodec copy -map 0 -bsf h264_mp4toannexb -f segment -segment_format mpegts -segment_time 10 -segment_list index.m3u8 fragment_%03d.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment