souphttpsrc to hlssink

Jerry Geis jerry.geis at gmail.com
Wed Jan 31 14:05:42 UTC 2018


Hi All,

I am playing with a camera:
gst-launch-1.0 -vvv souphttpsrc location="http://192.168.1.231/channel1" !
multipartdemux ! jpegdec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = image/jpeg
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = video/x-raw,
format=(string)I420, width=(int)1280, height=(int)1024,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
chroma-site=(string)mpeg2, colorimetry=(string)1:4:0:0,
framerate=(fraction)0/1
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0.GstPad:sink: caps =
video/x-raw, format=(string)I420, width=(int)1280, height=(int)1024,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
chroma-site=(string)mpeg2, colorimetry=(string)1:4:0:0,
framerate=(fraction)0/1

The above works.

But then I try to build a pipeline to hlssink the camera and I never get a
playlist file created.

gst-launch-1.0 souphttpsrc location=http://192.168.1.231/channel1
is-live=true do-timestamp=1 '!' jpegdec '!' openh264enc '!' queue '!'
mpegtsmux '!' hlssink playlist-root=https://192.168.1.8/~user/hlssink
location=/home/user/public_html/hlssink/hlssink.camera.0.%05d.ts
target-duration=1 max-files=3 playlist-length=2
playlist-location=/home/user/public_html/hlssink/playlist.camera.0.m3u8

I have played also removed the three options target-duration, max-files and
playlist-length (so defaults are used) and that made no difference. the
playlist file is never created.

What am I missing?

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180131/4d903489/attachment.html>


More information about the gstreamer-devel mailing list