[FFmpeg-user] For HLS, playlist.m3u8 file skips last segment entry

Geek.Song ffmpeg at gmail.com
Tue Sep 30 14:23:14 CEST 2014


2014年9月30日 下午1:15于 "ajay parashar" <ajay_382000-at-yahoo.co.in at ffmpeg.org
>写道:
>
> Hi,
>
> I am creating HLS segments and playlist file by using below command.
> it creates total 6 segment files (out000.ts to out005.ts) but playlist
contain entry only for first 4 , it always skips out0005.ts
> I do not know why it does not deal with last segment file ?
>
> here is my playlist.m3u8 file contents
>
>
==============================================================================
> #EXTM3U
> #EXT-X-VERSION:3
> #EXT-X-MEDIA-SEQUENCE:0
> #EXT-X-ALLOW-CACHE:YES
> #EXT-X-TARGETDURATION:17
> #EXTINF:15.015000,
> out000.ts
> #EXTINF:8.341667,
> out001.ts
> #EXTINF:8.341667,
> out002.ts
> #EXTINF:8.341667,
> out003.ts
> #EXTINF:16.683333,
> out004.ts
>
>

You should add "#EXT-X-ENDLIST" for a VOD hls.


More information about the ffmpeg-user mailing list