hlssink behavior

i.nixman at autistici.org i.nixman at autistici.org
Sun Jan 23 11:59:53 UTC 2022


hi,

I get an mpeg-ts stream and in the first case hlssink works as it 
should.

but in the second case it doesn't split the stream into files, but just 
saves everything into one file.

my question is why?

1)
    +---------+   +---------+   +----------+   +-----------+   
+---------------------------+
    |         |   |         |   |          |   |           |   |          
                  |
-->| udpsrc  |-->| tsparse |-->| tsdemux  |-->| mpegtsmux |-->|         
hlssink           |
    |         |   |         |   |          |   |           |   |          
                  |
    +---------+   +---------+   +----------+   +-----------+   | 
target-duration=1         |
                                                               | 
playlist-length=5         |
                                                               | 
max-files=6               |
                                                               | 
playlist-location=pl.m3u8 |
                                                               | 
location=seg%06d.ts       |
                                                               
+---------------------------+

2)
    +---------+   +---------------------------+
    |         |   |                           |
-->| udpsrc  |-->|         hlssink           |
    |         |   |                           |
    +---------+   | target-duration=1         |
                  | playlist-length=5         |
                  | max-files=6               |
                  | playlist-location=pl.m3u8 |
                  | location=seg%06d.ts       |
                  +---------------------------+

best!


More information about the gstreamer-devel mailing list