Caps negotiation problem with gstrtpbin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Caps negotiation problem with gstrtpbin

Irfan Shaikh-2
Caps negotiation problem with gstrtpbin

Hi All,

      I have element "rtpasfpay" i.e asfpay in following pipeline. I want to link it with "gstrtpbin"

[root@blr0227 rtp]# gst-launch-0.10 -vvv gstrtpbin name=rtpbin filesrc blocksize=1048576 location=/root/mpeg4new.dat ! vbuffer video-codec=1 ! mpeg4videoparse ! ffmux_asf ! asfparse ! asfpay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink port=5000 host=10.60.3.104 name=vrtpsink rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=10.60.3.104 sync=false async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_2
vbuffer->Video_codec = 1

** (gst-launch-0.10:21780): CRITICAL **: gst_ffmpeg_mux_simple_caps_set_int_list: assertion `GST_CAPS_IS_SIMPLE (caps)' failed
_init function ended
WARNING: erroneous pipeline: could not link asfpay0 to rtpbin

llly i cannot use gstrtpbin even with "videotestsrc ! ffenc_mpeg4 !" instead of "filesrc blocksize=1048576 location=/root/mpeg4new.dat ! vbuffer video-codec=1 ! mpeg4videoparse !"
 

I have set the caps in asfpay as follows {I have also tried with caps "ANY"}:

#define SRC_CAPS \
  "application/x-rtp, "                                          \
  "media = (string) { \"application\", \"video\", \"audio\" }, " \
  "clock-rate = (int) [1, MAX ], "                               \
  "encoding-name = (string) \"x-asf-pf\""

static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
    GST_PAD_SRC,
    GST_PAD_ALWAYS,
    GST_STATIC_CAPS ("SRC_CAPS")
    );


    My friend has created a element "rtpmjpegpay" with similar caps and similar template only difference was in _chain(). But his element links with above pipeline.

Regards,
Irfan



This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.


-------------------------------------------------------------------------
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