After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747319 - hlssink: Doesn't write ENDLIST marker on EOS
hlssink: Doesn't write ENDLIST marker on EOS
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2015-04-04 00:02 UTC by Ben
Modified: 2015-04-04 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Ben 2015-04-04 00:02:20 UTC
A video gives me 811 keyframes but after converting it to hls segments, I'm getting only 807 keyframes.

# generate keyframes from the original video:
gst-launch-1.0 uridecodebin uri= ! "video/x-raw" ! jpegenc ! multifilesink

# conver to hls:
gst-launch-1.0 -v uridecodebin uri= name=decbin ! video/x-raw ! x264enc ! mpegtsmux name=muxer ! hlssink target-duration=10 decbin. ! audioconvert ! audio/x-raw ! voaacenc ! aacparse ! muxer.

# generate keyframes from 
gst-launch-1.0 uridecodebin uri=playlist.m3u8 ! "video/x-raw" ! jpegenc ! multifilesink
Comment 1 Thiago Sousa Santos 2015-04-04 14:23:48 UTC
The problem was actually on the playback side because hlssink doesn't write the ENDLIST marker. This fixes it.

commit 75c9a5f129b76458a24e188f39b201dcd3de0159
Author: Thiago Santos <>
Date:   Sat Apr 4 10:56:56 2015 -0300

    hlssink: write the playlist end marker on EOS
    Catch EOS from the multifilesink and add the endlist marker to
    the playlist when it happens