Good morning, I created I am testing HLS streaming and I created a simple playlist and segment of a video using the command
ffmpeg -i C:\Users\funny\Desktop\uscita\out.mp4 -vcodec libx264 -g 24 -hls_time 10 -hls_playlist_type vod -vsync 1 index1.m3u8.
The source video opens with no problems and ffmpeg encodes it with no problems into index1, that is the playlist file, and index10 index11 index12 being the 3 .ts (video is only 26 secs long). I installed VLC cause I know it opens playlist files, so I could test my .m3u8, but when I open it with VLC, program starts running but it doesn't play anything. For reference here it is the playlist too :
#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:12 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:11.500000, index10.ts #EXTINF:12.000000, index11.ts #EXTINF:2.500000, index12.ts #EXT-X-ENDLIST