Issues with rtpmp2tpay

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

Issues with rtpmp2tpay

Peter Witkowski
Hello,

I am currently having issues with some gstreamer code that I inherited from a colleague who has moved onto greener pastures.  Specifically, I am having issues with implementing RTP.

The following pipeline works and sends the required packets over UDP multicast.  Note that my syntax may or may not be exact since I do not have the code in front of me at the moment.

appsrc ! video/x-mpegts ! udpsink host=<MULTICAST ADDRESS> port=<port>

Here is the RTP pipeline that is causing the issue.  Namely, I get the not-linked (-1) error for the appsrc.

appsrc ! video/x-mpegts ! rtpmp2tpay ! udpsink host=<MULTICAST ADDRESS> port=<port>

Note that the only difference is the addition of the rtmp2tpay element.  Any thoughts as to why this does not work?

Thanks in advance for the help.

--
Peter Witkowski
[hidden email]

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

Re: Issues with rtpmp2tpay

Emile Semmes
The caps are incorrect. It should be video/mpegts not video/x-mpegts. You'll need to change your src pad caps from your appsrc. udpsink accepts any caps which is why that worked but not rtpmp2tpay.

Emile
-- 
Emile Semmes
Software Consultant
e6 Group, LLC
www.e6group.com 

On 8/8/2012 6:20 PM, Peter Witkowski wrote:
Hello,

I am currently having issues with some gstreamer code that I inherited from a colleague who has moved onto greener pastures.  Specifically, I am having issues with implementing RTP.

The following pipeline works and sends the required packets over UDP multicast.  Note that my syntax may or may not be exact since I do not have the code in front of me at the moment.

appsrc ! video/x-mpegts ! udpsink host=<MULTICAST ADDRESS> port=<port>

Here is the RTP pipeline that is causing the issue.  Namely, I get the not-linked (-1) error for the appsrc.

appsrc ! video/x-mpegts ! rtpmp2tpay ! udpsink host=<MULTICAST ADDRESS> port=<port>

Note that the only difference is the addition of the rtmp2tpay element.  Any thoughts as to why this does not work?

Thanks in advance for the help.

--
Peter Witkowski
[hidden email]


_______________________________________________
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