Hi gang!
I see lots of examples that have CLI to gStreamer but surely people are building applications with C. It seems like an awesome framework but I'm just trying to get my head around it. I would like to see more C examples. In any case, I'm trying to a simple audio rtp sender/receiver working but am having a hard time translating the example from the gstrtpbin documentation to C. I'll then post a working copy on the mailing list for others running into the same issue. I really have no idea if the errors are related to the mad plugin or the pads not linked together properly. Attached is the error and the program. Any help would be greatly appreciated. Thanks! Jack ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi ,,
Acutally audioresample and rtpamrpay elements can not be linked since both have differenct caps . So better try some other combination.
On Wed, Dec 31, 2008 at 9:33 PM, Jack Foster <[hidden email]> wrote: Hi gang! -- Regards, Sudarshan Bisht ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
gst_element_link_many() will not automatically link the payloader to
the rtpbin, you need to manually request a sink pad first (like you did) and link it to the srcpad of the payloader. Wim On Fri, Jan 2, 2009 at 8:13 AM, sudarshan bisht <[hidden email]> wrote: > Hi ,, > Acutally audioresample and rtpamrpay elements can not be linked > since both have differenct caps . So better try some other combination. > > On Wed, Dec 31, 2008 at 9:33 PM, Jack Foster <[hidden email]> > wrote: >> >> Hi gang! >> >> I see lots of examples that have CLI to gStreamer but surely people are >> building applications with C. It seems like an awesome framework but I'm >> just trying to get my head around it. I would like to see more C examples. >> >> In any case, I'm trying to a simple audio rtp sender/receiver working but >> am having a hard time translating the example from the gstrtpbin >> documentation to C. I'll then post a working copy on the mailing list for >> others running into the same issue. >> >> I really have no idea if the errors are related to the mad plugin or the >> pads not linked together properly. >> >> Attached is the error and the program. Any help would be greatly >> appreciated. >> >> Thanks! >> Jack >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> > > > > -- > Regards, > > Sudarshan Bisht > > ------------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Also, you need an amr encoder before the amr payloader.
Wim On Fri, Jan 2, 2009 at 1:21 PM, Wim Taymans <[hidden email]> wrote: > gst_element_link_many() will not automatically link the payloader to > the rtpbin, you need to manually request > a sink pad first (like you did) and link it to the srcpad of the payloader. > > Wim > > On Fri, Jan 2, 2009 at 8:13 AM, sudarshan bisht > <[hidden email]> wrote: >> Hi ,, >> Acutally audioresample and rtpamrpay elements can not be linked >> since both have differenct caps . So better try some other combination. >> >> On Wed, Dec 31, 2008 at 9:33 PM, Jack Foster <[hidden email]> >> wrote: >>> >>> Hi gang! >>> >>> I see lots of examples that have CLI to gStreamer but surely people are >>> building applications with C. It seems like an awesome framework but I'm >>> just trying to get my head around it. I would like to see more C examples. >>> >>> In any case, I'm trying to a simple audio rtp sender/receiver working but >>> am having a hard time translating the example from the gstrtpbin >>> documentation to C. I'll then post a working copy on the mailing list for >>> others running into the same issue. >>> >>> I really have no idea if the errors are related to the mad plugin or the >>> pads not linked together properly. >>> >>> Attached is the error and the program. Any help would be greatly >>> appreciated. >>> >>> Thanks! >>> Jack >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>> >> >> >> >> -- >> Regards, >> >> Sudarshan Bisht >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> > ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Jack Foster-2
On Wed, 2008-12-31 at 11:03 -0500, Jack Foster wrote:
> Hi gang! > > I see lots of examples that have CLI to gStreamer but surely people > are building applications with C. It seems like an awesome framework > but I'm just trying to get my head around it. I would like to see > more C examples. > > In any case, I'm trying to a simple audio rtp sender/receiver working > but am having a hard time translating the example from the gstrtpbin > documentation to C. I'll then post a working copy on the mailing list > for others running into the same issue. > > I really have no idea if the errors are related to the mad plugin or > the pads not linked together properly. > > Attached is the error and the program. Any help would be greatly > appreciated. I added some C examples in CVS here: http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/ Look at client-PCMA.c and server-alsasrc-PCMA.c Wim > > Thanks! > Jack > ------------------------------------------------------------------------------ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
These are excellent! I'll try them out on Monday!
Thanks a bunch, Jevin On Fri, Jan 2, 2009 at 10:22 AM, Wim Taymans <[hidden email]> wrote:
------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Wim Taymans
I think the picture is worth a thousand words. That makes it all come clear. Could that be added to the doc?
Jack On Fri, Jan 2, 2009 at 10:22 AM, Wim Taymans <[hidden email]> wrote:
------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |