demux/remux pipeline hangs when audio is added

Robert Krakora rob.krakora at messagenetsystems.com
Wed Oct 2 10:46:50 PDT 2013


Something like this Tim?

gst-launch filesrc location=<path> ! tsdemux name=demux ! queue
! mpegvideoparse ! mpeg2dec ! x264enc ! mpegtsmux name=mux ! hlssink demux.
! queue ! a52dec ! audioconvert ! faac ! mux.


On Wed, Oct 2, 2013 at 1:38 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Wed, 2013-10-02 at 11:19 -0600, Carah Smith wrote:
>
> Hi,
>
> > I am trying to make a pipeline that takes a transport stream in,
> > demuxes it, does some transcoding, remuxes, and sends it to a sink.
> > I can make it work if I only have video in the pipeline or if I only
> > have audio but once I add both, the application hangs. Here is my
> > source code (I removed all the error checking for emailing to reduce
> > line length):
>
> You need a queue in each branch right after the demuxer. This is needed
> for the "preroll" mechanism to work properly, which blocks the pushing
> thread in the sink waiting for the 'Go!', but the pipeline won't start
> unless all sinks have data, which they won't get if you don't use
> queues.
>
> You might also want/need a parser in front of each decoder.
>
> Cheers
>  -Tim
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 

Rob Krakora,
Senior Software Engineer

MessageNet Systems
101 E Carmel Dr, Suite 105
Carmel, IN 46032

MessageNetSystems.com<http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage>
Rob.Krakora at MessageNetSystems.com <rob.krakora at messagenetsystems.com>
P: 317.566.1677, 212
F: 317.663.0808

For the latest news, information, and blogs, please be sure to visit,
follow, and like us...

<http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog>
   <http://www.youtube.com/user/MessageNetConnection/feed>
<http://www.linkedin.com/company/messagenet-systems>
   <http://twitter.com/MessageNet>  <http://www.facebook.com/MessageNetsystems>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131002/d865d46b/attachment-0001.html>


More information about the gstreamer-devel mailing list