It is working to use command line, gst-launch, for rtp
server and client. I want to convert the command line to application. I must
get the send_rtp_sink_%d pad of rtpbin for linking to rtppcmapay. I use Newpad = gst_element_get_request_pad(rtpbin, “send_rtp_sink_%d”).
It returns null. If I change the pad name to
send_rtp_sink_0. It will give an error “comparing send_rtp_sink_0 to src%d. Any help will be greatly appreciated. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi, Zheng Shude:
send_rtp_sink_%d -- %d should be replaced with your RTSP session id. :) Eric Zhang Zheng, Shude wrote: > > It is working to use command line, gst-launch, for rtp server and > client. I want to convert the command line to application. I must get > the send_rtp_sink_%d pad of rtpbin for linking to rtppcmapay. I use > > Newpad = gst_element_get_request_pad(rtpbin, “send_rtp_sink_%d”). > > It returns null. If I change the pad name to send_rtp_sink_0. It will > give an error “comparing send_rtp_sink_0 to src%d. > > Any help will be greatly appreciated. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Zheng, Shude
Hi, Eric,
Can you give me more detail how to get session id and replace it. I directly replaced it with 0(send_rtp_sink_0) as the command line did, but it gives the error. Need I set session first or call some function to get the session ID? Thanks, Shude -----Original Message----- From: Eric Zhang [mailto:[hidden email]] Sent: Thursday, July 24, 2008 5:38 PM To: Discussion of the development of GStreamer Cc: Zheng, Shude Subject: Re: [gst-devel] It is fail to request pad in rtpbin Hi, Zheng Shude: send_rtp_sink_%d -- %d should be replaced with your RTSP session id. :) Eric Zhang Zheng, Shude wrote: > > It is working to use command line, gst-launch, for rtp server and > client. I want to convert the command line to application. I must get > the send_rtp_sink_%d pad of rtpbin for linking to rtppcmapay. I use > > Newpad = gst_element_get_request_pad(rtpbin, "send_rtp_sink_%d"). > > It returns null. If I change the pad name to send_rtp_sink_0. It will > give an error "comparing send_rtp_sink_0 to src%d. > > Any help will be greatly appreciated. > > > > ------------------------------------------------------------------------ - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi
This has to work. You said you had a proper command line. Start it with this modification: GST_DEBUG_DUMP_DOT_DIR=$PWD gst-launch + "rest of the pipeline" The you will have some *.dot files in your current working directory. Then use this command in the shell: dot -Tpng xxx.dot -opipeline.png This will create a pipeline.png image, which reveals the connection between the elements and other details, for example session ID-s. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |