[gst-devel] Creating 1 or N src pads
gneuez at hotmail.com
Wed Sep 12 17:17:44 CEST 2007
I have been working on my soccer video tracking application lately (see my
previous posts), but I know have some concerns about 1 (among many) thing:
I have my plugin receiving football video frames, and analysing them to find
players. So my sink pad is a video type. But as output, I want to send the
name and position of all players found in the frames. This information shall
be used later in the pipeline to load the player image and name, and display
that over the video (using filesrc, jpegdec, textoverlay and videomixer
elements for ex).
My worry is how to send these information out of my plugin:
-either I create one src pad, and I create and push to it the data I need
for each frame.
-either I create a new src pad for each player I find, and push the data for
I would rather take the first solution, and would be greatfull if someone
would have done something similar to advice me.
Découvrez le Blog heroic Fantaisy d'Eragon!
More information about the gstreamer-devel