The command:
fmpeg -i Apple-Test2.mp4 -c:v libx264 -c:a aac -strict -2 -f hls -hls_list_size 0 output.m3u8
The .m3u8 file:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:9
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:8.341667,
output0.ts
#EXTINF:8.341667,
output1.ts
#EXTINF:8.341667,
output2.ts
#EXTINF:4.938267,
output3.ts
#EXT-X-ENDLIST
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/DeployingHTTPLiveStreaming/DeployingHTTPLiveStreaming.html
https://trac.ffmpeg.org/wiki/StreamingGuide
Author: MichaelJ
I was born naked, and unable to care for myself. But I struggled, and people helped me along the way.
View all posts by MichaelJ