Skip to content

Instantly share code, notes, and snippets.

Convert MP4 to HLS
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