<div dir="ltr"><div>Hi Andres,</div><div><br></div><div>I believe hlssink takes an mpeg transport stream, so you don't need to have the tsdemux element in there unless you need to do something else to the streams before remuxing them and sending them to hlssink. So maybe just "udpsrc ! hlssink" (with properties of course) will give you want you're looking for.<br></div><div><br></div><div>For making sure the caps are correct, you should just be able to set the "caps" property on udpsrc:</div><div>udpsrc caps="video/mpegts,systemstream=true"</div><div><br></div><div>If you already have separate audio and video streams, I'd use hlssink2 which does the mpegts muxing internally.</div><div><br></div><div>--Chris<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 20, 2021 at 4:00 PM Andres Gonzalez via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Just some additional info.  I am using gst-launch just to figure out what the appropriate elements should be. I have a C++ app that I develop where I code up the pipeline for my application. But since I am not even sure which elements should be in the pipeline, I am experimenting around with creating the pipeline with gst-launch.<div>Thanks,</div><div>-Andres</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 20, 2021 at 1:49 PM Andres Gonzalez <<a href="mailto:andres.agoralabs@gmail.com" target="_blank">andres.agoralabs@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>I have a question about creating an HLS pipeline.  I am receiving a MPEG-TS UDP stream and I want to create a pipeline that will receive the UDP TS stream, and then create/publish  a corresponding HLS stream. For example, something like this:</div><div><br></div><div>gst-launch-1.0 udpsrc port=50000 ! tsdemux ! hlssink playlist-root=<a href="http://192.168.0.100:8080" target="_blank">http://192.168.0.100:8080</a> location=segment.%03d.ts<br></div><div><br></div><div>This actually works and receives the UDP/TS stream and starts to generate the segment_000.ts file.  But it never creates the playlist file and keeps adding to the segment_000.ts file.</div><div><br></div><div>I am assuming that I need to provide some caps information about the video coming in on the UDP/TS stream but I am not sure how to do that.  So could someone tell me what the pipeline should consist of to get this working?</div><div><br></div><div>Thanks,</div><div>-Andres</div></div>
</blockquote></div>
</blockquote></div>