hlssink

HTTP Live Streaming sink/server

Example launch line

 gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux ! hlssink max-files=5

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──hlssink

Implemented interfaces

Factory details

Authors: – Alessandro Decina

Classification:Sink

Rank – none

Plugin – hls

Package – GStreamer Bad Plug-ins

Pad Templates

sink

ANY

Presencealways

Directionsink

Object typeGstPad


Properties

location

“location” gchararray

Location of the file to write

Flags : Read / Write

Default value : segment%%05d.ts


max-files

“max-files” guint

Maximum number of files to keep on disk. Once the maximum is reached,old files start to be deleted to make room for new ones.

Flags : Read / Write

Default value : 10


playlist-length

“playlist-length” guint

Length of HLS playlist. To allow players to conform to section 6.3.3 of the HLS specification, this should be at least 3. If set to 0, the playlist will be infinite.

Flags : Read / Write

Default value : 5


playlist-location

“playlist-location” gchararray

Location of the playlist to write

Flags : Read / Write

Default value : playlist.m3u8


playlist-root

“playlist-root” gchararray

Location of the playlist to write

Flags : Read / Write

Default value : NULL


target-duration

“target-duration” guint

The target duration in seconds of a segment/file. (0 - disabled, useful for management of segment duration by the streaming server)

Flags : Read / Write

Default value : 15


The results of the search are