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

ajay parashar ajay_382000 at yahoo.co.in
Tue Sep 30 15:11:26 CEST 2014






------------------------------
On Tue 30 Sep, 2014 5:53 PM IST Geek.Song wrote:

>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.
***********************************
Should I add ENDLIST tag manually or ffmpeg should do this for user while generating playlist.m3u8 file.
________________________
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list