Hello,
I am looking at implemeting a plugin for a multi inputs audio and frame grabber (eg 8 composite inputs and 8 audio analogue inputs). It would have to allow each input to have different pipelines connected to it. The hardware is a single device with 8 mmaped video buffer and 8 mmaped audio buffers which all share the same configuration setup when opening the device. Should i look at implementing a source plugin with 1 audio and 1 video source pad which will randomly return a buffer from each 8 channel, but then how do i redirect it to the appropriate pipeline ? Or instanciate 8 source elements for video and 8 source elements for audio, but only 1 element initialise the hardware which seems ugly ? Regards, Pierre |
Hi,
On Tue, Dec 7, 2010 at 7:39 PM, goussepi <[hidden email]> wrote: > > Hello, > > I am looking at implemeting a plugin for a multi inputs audio and frame > grabber (eg 8 composite inputs and 8 audio analogue inputs). > > It would have to allow each input to have different pipelines connected to > it. > > The hardware is a single device with 8 mmaped video buffer and 8 mmaped > audio buffers which all share the same configuration setup when opening the > device. > > Should i look at implementing a source plugin with 1 audio and 1 video > source pad which will randomly return a buffer from each 8 channel, but then > how do i redirect it to the appropriate pipeline ? > > Or instanciate 8 source elements for video and 8 source elements for audio, > but only 1 element initialise the hardware which seems ugly ? Just an idea: you may implement your own custom element which initialises the HW and with 8 source pads. If your HW has a driver with a standard interface (e.g. v4l) you may check whether a gstreamer source exists supporting it. See here for more details: http://www.gstreamer.net/data/doc/gstreamer/head/pwg/html/section-base-src.html Regards > > Regards, > > Pierre > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/What-plugin-elements-to-implement-for-a-multi-input-frame-audio-grabber-tp3076865p3076865.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks i ll experiment with that, and is it possible to connect/disconnect different pipelines to each source pads of such an element ? And doing it dynamically so a user can decide to change the pipeline connected to one of the source pad while the others pipelines keep running ? Regards, Pierre |
Hi,
On Thu, Dec 9, 2010 at 1:26 AM, goussepi <[hidden email]> wrote: ..snip.. >> >> > > Thanks i ll experiment with that, and is it possible to connect/disconnect > different pipelines to each source pads of such an element ? And doing it > dynamically so a user can decide to change the pipeline connected to one of > the source pad while the others pipelines keep running ? A few notes: - If it's about topologically separated pipelines there shouldn't be any problems. - If you need this because of dynamic changes in the pipeline during signalling phases, maybe the feature is already provided by Farsight. Check, for instance, at: http://git.collabora.co.uk/?p=farsight2.git;a=blob;f=gst-libs/gst/farsight/fs-stream.c;h=128122221e99f6c80c91583e2eb8cf9ed6d3b58f;hb=HEAD#l298 Telepathy Stream Engine (lightweight relative of Farsight) is the place where I got to know how the thing works for sink elements ("valve" approach). - If this still doesn't work, maybe using an input-selector may help you, but I've never tried it, so take it as "Just An Idea (R)". - Discussing it on the Farsight IRC (freenode) may clarify which features are supported (or not). Regards > > Regards, > > Pierre ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |