souphttpsrc to hlssink

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

souphttpsrc to hlssink

Jerry Geis-2
Hello - I am using this pipeline:

gst-launch-1.0 souphttpsrc location=http://192.168.1.104/mjpg/video.mjpg '!' multipartdemux '!' video/x-h264 '!' h264parse '!' mpegtsmux '!' hlssink playlist-root=https://192.168.1.8/~silentm/hlssink 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

and getting this error.

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(2939): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
streaming stopped, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

What do I  not have right to make this work ? I want to take an http source mjpeg and make that hlssink.

Thanks,

Jerry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: souphttpsrc to hlssink

Jerry Geis-2
Hi All - I changed to this with decodebin:

gst-launch-1.0 -v souphttpsrc location=http://192.168.1.104/mjpg/video.mjpg is-live=true '!' decodebin '!' videoconvert '!' openh264enc '!' video/x-h264 '!' h264parse '!' mpegtsmux '!' hlssink playlist-root=https://192.168.1.8/~silentm/hlssink 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

Which "starts" to work - but I never get a playlist file.   My first TS file just keeps growing and growing.
The TS file (using totem) actually has video - but it just keeps growing - and a playlist file is never created.

I'm stuck?

Jerry 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel