<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>No Ideas!? I cant believe.</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Von meinem Samsung Galaxy Smartphone gesendet.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Ursprüngliche Nachricht --------</div><div>Von: Franz Löseke <franz@inparty-fm.de> </div><div>Datum: 21.10.18 15:06 (GMT+01:00) </div><div>An: Discussion of the development of and with GStreamer <gstreamer-devel@lists.freedesktop.org> </div><div>Betreff: Re: Create HLS Stream from external HW H264 Encoder </div><div><br></div></div>PS: here is a test of the stream. Just black with audio:<br><br><br>http://89.245.108.130:8000/ext<br><br>This is a dynamic ip so after the reconnect on monday (21.10.2018) <br>morning it will not work anymore.<br><br><br><br><br>Zitat von Franz Löseke <franz@inparty-fm.de>:<br><br>> Hello. I have tried many things but now i have no idea what happen.<br>> I want to stream a HLS from an external H264 Encoder. This encoder <br>> creates a HTTP TS and a rtsp stream. As i know for HLS a TS is <br>> needed. If i use the videotestsrc everything works fine but if i <br>> take the source from the http stream then gstreamer creates one <br>> single hlsfile and no playlist.<br>> This is my line for the videotest:<br>><br>> gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux ! <br>> hlssink max-files=3 playlist-root=http://192.168.178.60 <br>> location=/var/www/html/hlsstream%01d.ts target-duration=5 <br>> playlist-location=/var/www/html/playlist.m3u8<br>><br>><br>> This for the external encoder:<br>><br>> gst-launch-1.0 souphttpsrc location=http://192.168.178.100:8000/ext <br>> is-live=true ! h264parse ! mpegtsmux ! hlssink max-files=5 <br>> target-duration=8 playlist-root=http://192.168.178.60 <br>> location=/var/www/html/hlsstream%01d.ts <br>> playlist-location=/var/www/html/playlist.m3u8<br>><br>> I tried also without mpegtsmux (because i think it is TS as the <br>> description of the encoder says). Here just one .ts file will be <br>> created and not splitted as the first test command.<br>><br>><br>> In verbose mode i get these messages:<br>><br>><br>><br>> Setting pipeline to PAUSED ...<br>> Pipeline is live and does not need PREROLL ...<br>> Setting pipeline to PLAYING ...<br>> New clock: GstSystemClock<br>> /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = <br>> video/x-h264, width=(int)1280, height=(int)720, <br>> framerate=(fraction)0/1, parsed=(boolean)true, <br>> stream-format=(string)byte-stream, alignment=(string)au, profi <br>> le=(string)main, level=(string)3.1<br>> /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0.GstPad:sink_65: caps = <br>> video/x-h264, width=(int)1280, height=(int)720, <br>> framerate=(fraction)0/1, parsed=(boolean)true, <br>> stream-format=(string)byte-stream, alignment=(string)au, prof <br>> ile=(string)main, level=(string)3.1<br>> /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0.GstPad:src: caps = <br>> video/mpegts, systemstream=(boolean)true, packetsize=(int)188<br>> /GstPipeline:pipeline0/GstHlsSink:hlssink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/mpegts, systemstream=(boolean)true, <br>> packetsize=(int)188<br>> /GstPipeline:pipeline0/GstHlsSink:hlssink0/GstMultiFileSink:multifilesink0.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, <br>> packetsize=(int)188<br>> /GstPipeline:pipeline0/GstHlsSink:hlssink0.GstGhostPad:sink: caps = <br>> video/mpegts, systemstream=(boolean)true, packetsize=(int)188<br>> /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0.GstPad:src: caps = <br>> video/mpegts, systemstream=(boolean)true, packetsize=(int)188, <br>> streamheader=(buffer)< <br>> 47400030a600ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff <br>> <br>> fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941, 474020308b00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e041f00c050448444d5688040ffffcfc1be041f00a050848444d56ff1b4 43f5a3175c0 <br>> ><br>> /GstPipeline:pipeline0/GstHlsSink:hlssink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188, streamheader=(buffer)< 47400030a600fffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941, 474020308b00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e041f00c050448444d5688040ffffcfc 1be041f00a050848444d56ff1b443f5a3175c0 <br>> ><br>> /GstPipeline:pipeline0/GstHlsSink:hlssink0/GstMultiFileSink:multifilesink0.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188, streamheader=(buffer)< 47400030a600ffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941, 474020308b00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e041f00c050448444d5688040ff ffcfc1be041f00a050848444d56ff1b443f5a3175c0 <br>> ><br>> /GstPipeline:pipeline0/GstHlsSink:hlssink0.GstGhostPad:sink: caps = <br>> video/mpegts, systemstream=(boolean)true, packetsize=(int)188, <br>> streamheader=(buffer)< <br>> 47400030a600fffffffffffffffffffffffffffffffffffffffffffffffffffffffff <br>> <br>> fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941, 474020308b00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e041f00c050448444d5688040ffffcfc1be041f00a050848444d56 ff1b443f5a3175c0 <br>> ><br>><br>><br>><br>><br>> Is there anybody who have a sollution for that? Other question. What <br>> happen if the encoder is temporaly not available?<br>><br>> Regards<br>><br>> Franz<br>><br>><br>><br>><br>><br>><br>><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> gstreamer-devel@lists.freedesktop.org<br>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br><br><br><br>_______________________________________________<br>gstreamer-devel mailing list<br>gstreamer-devel@lists.freedesktop.org<br>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></body></html>