iOS rtp problem

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

iOS rtp problem

hkoyato
Hi,

I am trying to use iOS SDK to receive RTP stream. The code is like

pipeline = gst_parse_launch("udpsrc port=10002 caps=\"application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96\" ! rtph264depay ! decodebin ! videoconvert ! autovideosink", &error);

But it displayed "Error received from element decodebin0: YOUR GStreamer installation is missing a plug-in". I am using iOS sdk 1.0 and define plugins like this
#define GST_IOS_PLUGINS_CORE
#define GST_IOS_PLUGINS_CAPTURE
//#define GST_IOS_PLUGINS_CODECS_RESTRICTED
#define GST_IOS_PLUGINS_ENCODING
//#define GST_IOS_PLUGINS_CODECS_GPL
#define GST_IOS_PLUGINS_NET_RESTRICTED
#define GST_IOS_PLUGINS_SYS
#define GST_IOS_PLUGINS_VIS
#define GST_IOS_PLUGINS_PLAYBACK
#define GST_IOS_PLUGINS_EFFECTS
#define GST_IOS_PLUGINS_CODECS
#define GST_IOS_PLUGINS_NET

Please help me solve this problem. Thank you very much.
Reply | Threaded
Open this post in threaded view
|

Re: iOS rtp problem

Sebastian Dröge-3
On Do, 2014-06-12 at 11:13 -0700, hkoyato wrote:

> Hi,
>
> I am trying to use iOS SDK to receive RTP stream. The code is like
>
> pipeline = gst_parse_launch("udpsrc port=10002 caps=\"application/x-rtp,
> media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264,
> payload=(int)96\" ! rtph264depay ! decodebin ! videoconvert !
> autovideosink", &error);
>
> But it displayed "Error received from element decodebin0: YOUR GStreamer
> installation is missing a plug-in". I am using iOS sdk 1.0 and define
> plugins like this
> #define GST_IOS_PLUGINS_CORE
> #define GST_IOS_PLUGINS_CAPTURE
> //#define GST_IOS_PLUGINS_CODECS_RESTRICTED
> #define GST_IOS_PLUGINS_ENCODING
> //#define GST_IOS_PLUGINS_CODECS_GPL
> #define GST_IOS_PLUGINS_NET_RESTRICTED
> #define GST_IOS_PLUGINS_SYS
> #define GST_IOS_PLUGINS_VIS
> #define GST_IOS_PLUGINS_PLAYBACK
> #define GST_IOS_PLUGINS_EFFECTS
> #define GST_IOS_PLUGINS_CODECS
> #define GST_IOS_PLUGINS_NET
>
> Please help me solve this problem. Thank you very much.
You need at least CODECS_RESTRICTED to decode h264. Or another h264
decoder plugin from elsewhere.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

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

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: iOS rtp problem

dhruv-jindal
In Xcode 10.1, I am getting the below error. I am using Gstreamer 1.14 for
iOS
"Unable to build pipeline: no element \"udpsrc\""

My Pipeline : "udpsrc port=5000 caps = \"application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW,
width=(string)640, height=(string)480, payload=(int)96,
sampling=(string)RGBA, depth=(string)8, a-framerate=30/1\" ! rtpvrawdepay !
videoconvert ! queue ! xvimagesink sync=false"

How do I solve the above issue???



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel