MJPG camera to hlssink

Dayle Hogg dayle at cygnusconnect.com
Sun Nov 19 23:10:38 UTC 2017

Hi Jerry,


Just some thoughts that might help.  Go with these numbers to get it up and running:


max-files=10                      Default is 10 and Wowza recommends you have a total of 50 seconds of video or # of files x duration.  

target-duration=3            Default is 15. I use 3 seconds and Wowza claims you can go as low as 0.5

playlist-length=3              Default is 5 and must be >=3 and I suspect this is your problem


check out https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-6.3.3 







From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Jerry Geis
Sent: Sunday, November 19, 2017 1:39 PM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: MJPG camera to hlssink


Hi Nicolas.


Thanks!  So I changed everything to this:

gst-launch-1.0 souphttpsrc location= is-live=true '!' multipartdemux '!' jpegdec '!' openh264enc '!' mpegtsmux '!' hlssink playlist-root= location=/home/silentm/public_html/hlssink/hlssink.camera.0.%05d.ts target-duration=1 max-files=3 playlist-length=2 playlist-location=/home/silentm/public_html/hlssink/playlist.camera.0.m3u8


I see the ts file but only 1. It just keeps growing. It never changes to a next file.

Do I have something wrong? it should quickly rotate between three files.







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171119/a9e3d84a/attachment.html>

More information about the gstreamer-devel mailing list