ffmpeghttp-live-streamingfmp4

Generate fmp4 chunks for HLS with ffmpeg


I am trying to generate fragmented MP4 as the chunks for HLS as introduced by apple last year.

See link -> https://bitmovin.com/hls-news-wwdc-2016/

Does ffmpeg supports this?

Thanks!


Solution

  • As of May 2018 with ffmpeg v4, this appears to be fixed (works for me at least):

    ffmpeg -y -i udp://@:50000 -c copy -hls_segment_type fmp4 -hls_time 6 -hls_list_size 10 -hls_flags delete_segments+append_list+split_by_time -hls_playlist_type event ~/Sites/foo/index_4000.m3u8