Problem with gstreamer using the tsdemux

Tim Müller tim at centricular.com
Tue Oct 6 13:09:44 UTC 2020


On Tue, 2020-10-06 at 06:02 -0500, Torben wrote:

Hi Torben,

>     g_signal_connect(m_data.tsDemux, "pad-added",
>                      G_CALLBACK(linkElements),
>                      nullptr); //nullptr //&m_data

I think you want to pass m_data.h264parse here.


> static void linkElements(GstElement* element,GstPad* sourcePad,
> gpointer sinkElement){
>     // It will never get here!

The most likely cause would be that it's not receiving data for some
reason.

Does it show packets being received if you run it with GST_DEBUG=*src:6
?

Does it work if you create the pipeline with gst_parse_launch()
instead?

Cheers
 Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list