Controlling the frame rate from source plugin
Haiming Wang
whm_buaa at hotmail.com
Thu Jul 17 03:54:11 PDT 2014
Hi amistry,
as I remeber, if you use appsrc as the video source element, it should be as below:
/* This signal callback triggers when appsrc needs data. Here, we add an idle handler
* to the mainloop to start pushing data into the appsrc */
static void start_feed (GstElement *source, guint size, GstAppSrcUdpSinkPipelineData *data) {
__android_log_print (ANDROID_LOG_INFO,"gst-appsrc-udpsink-pipeline-native","start_feed() called!\n");
push_data(data);
}
Date: Tue, 15 Jul 2014 12:04:12 -0400
Subject: Controlling the frame rate from source plugin
From: amistry at objectvideo.com
To: gstreamer-devel at lists.freedesktop.org
All,
I have a gstreamer source plugin, which reads a video frame from an avi file. It's connected to gstreamer's core tee and two queue elements to push the video frame to two video processing elements.These two video processing elements' output gets muxed by my mux plugin.
With tee and queue, currently my gstreamer source plugin keeps pushing almost 6-10 video frames to both queue - till the queues limit is filled I believe. What I want is to push only one video frame from my source plugin and wait for signal from my mux plugin for next frame.
Can someone guide how this can be achieved in gstreamer framework?
Thanks!Amit
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140717/a76420c6/attachment.html>
More information about the gstreamer-devel
mailing list