[libav-bugs] [Bug 551] New: HLS playlist creation misses the last segment

bugzilla at libav.org bugzilla at libav.org
Wed Aug 14 11:34:16 CEST 2013


https://bugzilla.libav.org/show_bug.cgi?id=551

           Summary: HLS playlist creation misses the last segment
           Product: Libav
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: vasil at mobileinno.com


/usr/bin/avconv -i SAMPLEFILE -async 1 -threads 2 -vcodec libx264 -s 640x480
-b:v 640k -preset superfast -strict experimental -acodec aac -b:a 40k -ac 1 -f
hls -hls_time 10 -hls_list_size 999999999 /tmp/test/chunk.m3u8

The sample file is about 15s long. When converting files smaller than hls_time,
we get an empty playlist:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:0
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ENDLIST

and in the directory I have chunk0.ts.

When using hls_time 1, what I get is
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:8,
chunk0.ts
#EXT-X-ENDLIST

and in the directory I have chunk0.ts and chunk1.ts.

I will upload my test file in a minute.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list