<div dir="ltr"><div>Thanks! I will try adding queues etc. Robert, I tried your command line gst-launch and it still hangs... Here is the output:</div><div><br></div><div><div>gst-launch-1.0 filesrc location=stream_1.ts ! tsdemux name=demux ! queue ! mpegvideoparse ! mpeg2dec ! x264enc ! mpegtsmux name=mux ! hlssink demux. ! queue ! a52dec ! audioconvert ! faac ! mux.</div>
<div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>Redistribute latency...</div><div>Redistribute latency..</div></div><div><br></div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Message: 3<br>
Date: Wed, 2 Oct 2013 13:46:50 -0400<br>
From: Robert Krakora <<a href="mailto:rob.krakora@messagenetsystems.com">rob.krakora@messagenetsystems.com</a>><br>
To: Discussion of the development of and with GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>><br>
Subject: Re: demux/remux pipeline hangs when audio is added<br>
Message-ID:<br>
<<a href="mailto:CA%2BDpatg7NtwTBG_eCHGSPsgpgpk_wwVzz1su2f3_BLdGQhGtoA@mail.gmail.com">CA+Dpatg7NtwTBG_eCHGSPsgpgpk_wwVzz1su2f3_BLdGQhGtoA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Something like this Tim?<br>
<br>
gst-launch filesrc location=<path> ! tsdemux name=demux ! queue<br>
! mpegvideoparse ! mpeg2dec ! x264enc ! mpegtsmux name=mux ! hlssink demux.<br>
! queue ! a52dec ! audioconvert ! faac ! mux.<br>
<br>
<br>
On Wed, Oct 2, 2013 at 1:38 PM, Tim-Philipp M?ller <<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>> wrote:<br>
<br>
> On Wed, 2013-10-02 at 11:19 -0600, Carah Smith wrote:<br>
><br>
> Hi,<br>
><br>
> > I am trying to make a pipeline that takes a transport stream in,<br>
> > demuxes it, does some transcoding, remuxes, and sends it to a sink.<br>
> > I can make it work if I only have video in the pipeline or if I only<br>
> > have audio but once I add both, the application hangs. Here is my<br>
> > source code (I removed all the error checking for emailing to reduce<br>
> > line length):<br>
><br>
> You need a queue in each branch right after the demuxer. This is needed<br>
> for the "preroll" mechanism to work properly, which blocks the pushing<br>
> thread in the sink waiting for the 'Go!', but the pipeline won't start<br>
> unless all sinks have data, which they won't get if you don't use<br>
> queues.<br>
><br>
> You might also want/need a parser in front of each decoder.<br>
><br>
> Cheers<br>
> -Tim<br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
<br>
<br>
<br>
--<br>
<br>
Rob Krakora,<br>
Senior Software Engineer<br>
<br>
MessageNet Systems<br>
101 E Carmel Dr, Suite 105<br>
Carmel, IN 46032<br>
<br>
MessageNetSystems.com<<a href="http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage" target="_blank">http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage</a>><br>
Rob.Krakora@MessageNetSystems.com <<a href="mailto:rob.krakora@messagenetsystems.com">rob.krakora@messagenetsystems.com</a>><br>
P: <a href="tel:317.566.1677" value="+13175661677">317.566.1677</a>, 212<br>
F: <a href="tel:317.663.0808" value="+13176630808">317.663.0808</a><br>
<br>
For the latest news, information, and blogs, please be sure to visit,<br>
follow, and like us...<br>
<br>
<<a href="http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog" target="_blank">http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog</a>><br>
<<a href="http://www.youtube.com/user/MessageNetConnection/feed" target="_blank">http://www.youtube.com/user/MessageNetConnection/feed</a>><br>
<<a href="http://www.linkedin.com/company/messagenet-systems" target="_blank">http://www.linkedin.com/company/messagenet-systems</a>><br>
<<a href="http://twitter.com/MessageNet" target="_blank">http://twitter.com/MessageNet</a>> <<a href="http://www.facebook.com/MessageNetsystems" target="_blank">http://www.facebook.com/MessageNetsystems</a>><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131002/d865d46b/attachment.html" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131002/d865d46b/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
End of gstreamer-devel Digest, Vol 33, Issue 11<br>
***********************************************<br>
</blockquote></div><br></div></div>