souphttpsrc to hlssink

Jerry Geis jerry.geis at gmail.com
Thu Feb 1 20:12:17 UTC 2018


On Wed, Jan 31, 2018 at 9:05 AM, Jerry Geis <jerry.geis at gmail.com> wrote:

> 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
>

 Hi All,

Some additional news. I added multipartdemux before jpegdec and now I get a
playlist file but when I goto view the video I only get 1 picture. I do see
the content being updated now in the playlist file I see the ts files being
created - but I still just got the one image.
So close...

Any thoughts on that ?

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


More information about the gstreamer-devel mailing list