How can use mpegts APIs in external C/C++ program

Edward Hervey bilboed at bilboed.com
Tue May 6 09:15:13 PDT 2014


On Tue, 2014-05-06 at 07:41 -0700, Gstlili wrote:
> Thank you Edward for help,
> 
> I set the program-number property of tsdemux by adding " g_object_set
> (tsdemux, "program-number", 1, NULL); " to my code and that works very well.
> 
> Now I would like to filter all ts services simultaneousely: I have two
> programs, how can i pass their numbers to my tsdemux.

  Use a tee element, then queue ! tsdemux for each branch (with the
right program number for each).

    Edward

> 
> Thanks
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-can-use-mpegts-APIs-in-external-C-C-program-tp4666763p4666769.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Edward Hervey
bilboed at bilboed.com



More information about the gstreamer-devel mailing list