I am building source with two src pad....but gstBaseSrc allow me to have only one src pad...
Is to possible to have to two pad...can i build class similar to gstBasesrc which will allow mw to have two src pad....If any body having any corresponding idea...please guide me through .. Thank you very much for your time.... -- Thanks and warm Regards Rahul S. Nikose 09739949798 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
Rahul Nikose wrote: > I am building source with two src pad....but gstBaseSrc allow me to > have only one src pad... > Is to possible to have to two pad...can i build class similar to > gstBasesrc which will allow mw to have two > src pad....If any body having any corresponding idea...please guide me > through .. > the first question that comes to mind is: why do you need a source with multiple source pads ? maybe that can be done in a different way... could you elaborate a bit on what you're trying to achieve ? -- Benoit Fouet Purple Labs S.A. www.purplelabs.com ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
(please keep the list as CC) Rahul Nikose wrote: > Hi Benoit, > I am trying to develop mp4 parser for 3gp media player. mp4 > file can only be parse into audio and video file only when mp4 file > get completely open. > So it's convenient to us to make file opening and parsing done > at same place > So I trying to create Source where file opening and parsing will done > at same > place. > Following is my plan.. > 1. Creating Mp4parser.c by coping existing GstBaseSrc.c file > 2. Adding new pad and new functionalities for handling new pad > 3. Add new API for mp4 file parsing. > > My object hierarchy would be like this > Gobject > GstObject > GstElement > mp4parser (equivalent to GstBasesrc) > What do think about this plan..... I think you should stop it right now :) > Would like to suggest some more ideas. > yes: see qtdemux element. your source is one file, so your flow output is one flow. then you have to demultiplex this data flow, and the demuxer element will handle that for you, and create as many source pads as needed, and informing you when it does so. see the application examples on GStreamer web site. -- Benoit Fouet Purple Labs S.A. www.purplelabs.com ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |