demux/remux pipeline hangs when audio is added
Tim-Philipp Müller
t.i.m at zen.co.uk
Wed Oct 2 12:46:37 PDT 2013
On Wed, 2013-10-02 at 13:37 -0600, Carah Smith wrote:
> I do not have the plugin ffmpegcolorspace. I am assuming it is just
> not installed because I am missing a library or something. Can you
> tell me where it is located in the plugin structure? I am using
> gstreamer 1.0. I didn't see it listed on the plugin overview page in
> the documentation.
In 1.0 this is called "videoconvert" instead.
Cheers
-Tim
>
>
> On Wed, Oct 2, 2013 at 1:22 PM, Robert Krakora
> <rob.krakora at messagenetsystems.com> wrote:
> This works for me...
>
>
> gst-launch-1.0 uridecodebin
> uri=file:///home/silentm/MessageNet/bbb24p_00.ts name=bin !
> queue ! ffmpegcolorspace ! xvidenc ! mpegtsmux name=mux !
> hlssink bin. ! queue ! audioconvert ! faac ! mux.
>
>
>
> On Wed, Oct 2, 2013 at 2:30 PM, Carah Smith
> <carah29ingress at gmail.com> wrote:
> Sorry, put that on the wrong thread...
>
>
> On Wed, Oct 2, 2013 at 12:29 PM, Carah Smith
> <carah29ingress at gmail.com> wrote:
> Thanks! I will try adding queues etc. Robert,
> I tried your command line gst-launch and it
> still hangs... Here is the output:
>
>
> 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.
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Redistribute latency...
> Redistribute latency..
>
>
>
> Message: 3
> Date: Wed, 2 Oct 2013 13:46:50 -0400
> From: Robert Krakora
> <rob.krakora at messagenetsystems.com>
> To: Discussion of the development of
> and with GStreamer
>
> <gstreamer-devel at lists.freedesktop.org>
> Subject: Re: demux/remux pipeline
> hangs when audio is added
> Message-ID:
> <CA
> +Dpatg7NtwTBG_eCHGSPsgpgpk_wwVzz1su2f3_BLdGQhGtoA at mail.gmail.com>
> Content-Type: text/plain;
> charset="iso-8859-1"
>
>
> 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.html>
>
> ------------------------------
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> End of gstreamer-devel Digest, Vol 33,
> Issue 11
> ***********************************************
>
>
>
>
>
> _______________________________________________
> 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
> 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...
>
>
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list