Unable to link rtpbin and rtpamrdepay

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to link rtpbin and rtpamrdepay

deepth pk


Hi,
  I am trying to play amr-wb stream on the client with the following commands
  
gst-launch -v gstrtpbin name=rtpbin                                    \
           udpsrc caps=$AUDIO_CAPS port=5002 ! rtpbin.recv_rtp_sink_1  \
           rtpbin. ! rtpamrdepay ! amrnbdec ! alsasink                 \
           udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                  \
           rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false


But I am getting the error "Internal data Flow error" because rtpbin and rtpamrdepay cannot link their pads. This is the code from the sample RTP receiver.Even then I am getting the error. Please let me know what could be issue. I am new to gstreamer framework


   Cheers!
   Deepth

 
     
 



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Unable to link rtpbin and rtpamrdepay

deepth pk



 
Hi,
  I am trying to play amr-wb stream on the client with the following commands
  

gst-launch -v gstrtpbin name=rtpbin                                    \
           udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)16000,encoding-name=(string)AMR-WB,encoding-params=(string)1,octet-align=(string)1" port=5002 ! tpbin.recv_rtp_sink_1 \
           rtpbin. ! rtpamrdepay ! amrnbdec ! alsasink                 \
           udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                  \
           rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false


But I am getting the error "Internal data Flow error" because rtpbin and rtpamrdepay cannot link their pads. This is the code from the sample RTP receiver.Even then I am getting the error. Please let me know what could be issue. I am new to gstreamer framework


   Cheers!
   Deepth

 
     
 




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to link rtpbin and rtpamrdepay

Wim Taymans
On 04/18/2012 08:01 AM, deepth pk wrote:

>
>
>
> Hi,
>   I am trying to play amr-wb stream on the client with the following
> commands
>
> gst-launch -v gstrtpbin name=rtpbin                                    \
>             udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)16000,encoding-name=(string)AMR-WB,encoding-params=(string)1,octet-align=(string)1" port=5002 ! tpbin.recv_rtp_sink_1 \
>             rtpbin. ! rtpamrdepay ! amrnbdec ! alsasink                 \
>             udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                  \
>             rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false
>
>
> But I am getting the error "*Internal data Flow error*" because rtpbin
> and rtpamrdepay cannot link their pads. This is the code from the
> sample RTP receiver.Even then I am getting the error. Please let me
> know what could be issue. I am new to gstreamer framework

Where did you see that code? It has errors, unknown element tpbin and
missing converters before alsasink.

Wim

>
>
>    Cheers!
>    Deepth
>
>
>
>
>
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to link rtpbin and rtpamrdepay

deepth pk
Hi Wim,
  I took the code from   ~/gst-plugins-good-0.10.27/tests/examples/rtp/client-H263p-AMR _bkup.sh.
 More over I cannot add the amrwbenc plugin as well.So i am using a windows amr stream server.




   Cheers!
   Deepth

 
     
 



On Wed, Apr 18, 2012 at 1:41 PM, Wim Taymans <[hidden email]> wrote:
On 04/18/2012 08:01 AM, deepth pk wrote:



Hi,
 I am trying to play amr-wb stream on the client with the following commands

gst-launch -v gstrtpbin name=rtpbin                                    \
           udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)16000,encoding-name=(string)AMR-WB,encoding-params=(string)1,octet-align=(string)1" port=5002 ! tpbin.recv_rtp_sink_1 \
           rtpbin. ! rtpamrdepay ! amrnbdec ! alsasink                 \
           udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                  \
           rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false


But I am getting the error "*Internal data Flow error*" because rtpbin and rtpamrdepay cannot link their pads. This is the code from the sample RTP receiver.Even then I am getting the error. Please let me know what could be issue. I am new to gstreamer framework

Where did you see that code? It has errors, unknown element tpbin and missing converters before alsasink.

Wim



  Cheers!
  Deepth









_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to link rtpbin and rtpamrdepay

deepth pk
Hi,
  I could see that clock rate is obtained as -1 once the negotiation i s done while receiving the packets. I have set the caps with clockrate 16000.
What could be the possible incompatile pad issues? Is it mandatory that we need a gstreamer based payloader on server side?




   Cheers!
   Deepth

 
     
 



On Wed, Apr 18, 2012 at 2:48 PM, deepth pk <[hidden email]> wrote:
Hi Wim,
  I took the code from   ~/gst-plugins-good-0.10.27/tests/examples/rtp/client-H263p-AMR _bkup.sh.
 More over I cannot add the amrwbenc plugin as well.So i am using a windows amr stream server.




   Cheers!
   Deepth


 
     
 



On Wed, Apr 18, 2012 at 1:41 PM, Wim Taymans <[hidden email]> wrote:
On 04/18/2012 08:01 AM, deepth pk wrote:



Hi,
 I am trying to play amr-wb stream on the client with the following commands

gst-launch -v gstrtpbin name=rtpbin                                    \
           udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)16000,encoding-name=(string)AMR-WB,encoding-params=(string)1,octet-align=(string)1" port=5002 ! tpbin.recv_rtp_sink_1 \
           rtpbin. ! rtpamrdepay ! amrnbdec ! alsasink                 \
           udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                  \
           rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false


But I am getting the error "*Internal data Flow error*" because rtpbin and rtpamrdepay cannot link their pads. This is the code from the sample RTP receiver.Even then I am getting the error. Please let me know what could be issue. I am new to gstreamer framework

Where did you see that code? It has errors, unknown element tpbin and missing converters before alsasink.

Wim



  Cheers!
  Deepth









_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to link rtpbin and rtpamrdepay

deepth pk
THis was a problem with my rtp transport lib.Thanks anyways!




   Cheers!
   Deepth

 
     
 



On Thu, Apr 19, 2012 at 3:30 PM, deepth pk <[hidden email]> wrote:
Hi,
  I could see that clock rate is obtained as -1 once the negotiation i s done while receiving the packets. I have set the caps with clockrate 16000.
What could be the possible incompatile pad issues? Is it mandatory that we need a gstreamer based payloader on server side?




   Cheers!
   Deepth


 
     
 



On Wed, Apr 18, 2012 at 2:48 PM, deepth pk <[hidden email]> wrote:
Hi Wim,
  I took the code from   ~/gst-plugins-good-0.10.27/tests/examples/rtp/client-H263p-AMR _bkup.sh.
 More over I cannot add the amrwbenc plugin as well.So i am using a windows amr stream server.




   Cheers!
   Deepth


 
     
 



On Wed, Apr 18, 2012 at 1:41 PM, Wim Taymans <[hidden email]> wrote:
On 04/18/2012 08:01 AM, deepth pk wrote:



Hi,
 I am trying to play amr-wb stream on the client with the following commands

gst-launch -v gstrtpbin name=rtpbin                                    \
           udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)16000,encoding-name=(string)AMR-WB,encoding-params=(string)1,octet-align=(string)1" port=5002 ! tpbin.recv_rtp_sink_1 \
           rtpbin. ! rtpamrdepay ! amrnbdec ! alsasink                 \
           udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                  \
           rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false


But I am getting the error "*Internal data Flow error*" because rtpbin and rtpamrdepay cannot link their pads. This is the code from the sample RTP receiver.Even then I am getting the error. Please let me know what could be issue. I am new to gstreamer framework

Where did you see that code? It has errors, unknown element tpbin and missing converters before alsasink.

Wim



  Cheers!
  Deepth









_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel