Help regarding playing network stream and using SDP file.

Subodh Chiwate subodh.austin at gmail.com
Thu Jan 17 07:34:43 PST 2013


Hi All,


I am new to the gstreamer world. I am facing issues while using gstreamer
to receive

a udp steam from a device.

Following are the commands and the errors I got.

Could some please help me with some guidance regarding the commands.


*ATTEMPT 1: Pasting the caps on transmitter side into receiver*



C:\Users\karti_000>*gst-launch udpsrc port=2000 caps=\"application/x-rtp,
media=(*

*string)video, clock-rate=(int)90000, encoding-name=(string)H264,
sprop-parameter*

*-sets=(string)\"Z0IAHqaAoD2QAA\\=\\=\\,aM44gAA\\=\", payload=(int)96,
ssrc=(uint*

*)3636518815, clock-base=(uint)2800492737, seqnum-base=(uint)18406\"  !
rtph264de*

*pay ! ffdec_h264 ! autovideosink*

0:00:00.052035000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:50

8:gst_parse_element_set:[Invalid UTF-8]  could not set property "caps" in
elemen

t "udpsrc0" to "\x94application/x-rtp,"

0:00:00.054035000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "media" in element "udpsrc0"

0:00:00.054035000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "clock-rate" in element "udpsrc0"

0:00:00.054035000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "encoding-name" in element "udpsrc0"

0:00:00.055034000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "sprop-parameter-sets" in element
"udpsrc0"



0:00:00.056037000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "payload" in element "udpsrc0"

0:00:00.056037000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "ssrc" in element "udpsrc0"

0:00:00.057037000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "clock-base" in element "udpsrc0"

0:00:00.057037000  6828   00302F70 ERROR           GST_PIPELINE
grammar.tab.c:49

3:gst_parse_element_set: no property "seqnum-base" in element "udpsrc0"

[Invalid UTF-8] WARNING: erroneous pipeline: could not set property "caps"
in el

ement "udpsrc0" to "\x94application/x-rtp,"





**************************************************//******************************************************

*ATTEMPT 2:  directly playing the sdp file*



C:\Users\karti_000>*gst-launch playbin2
uri=file:///C:/Users/karti_000/s2.sdp*

Setting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...



** (gst-launch-0.10:5808): CRITICAL **: file
..\..\..\..\..\Source\gst-plugins-b

ad\gst\sdp\gstsdpdemux.c: line 382: assertion `host_name' failed

New clock: GstSystemClock

0:00:00.542362000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.543363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.544362000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.544362000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.545363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.545363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.545363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.546363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.546363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.547363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.547363000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.548366000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.549365000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.549365000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.549365000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.550368000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.550368000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.551367000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.551367000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.552368000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:00.553368000  5808   0221F948 ERROR                 ffmpeg .:0:: P
sub_mb_t

ype 27 out of range at 21 5

0:00:00.553368000  5808   0221F948 ERROR                 ffmpeg .:0:: error
whil

e decoding MB 21 5

0:00:00.582388000  5808   0221F948 ERROR                 ffmpeg .:0::
corrupted

macroblock 41 0 (total_coeff=-1)

0:00:00.582388000  5808   0221F948 ERROR                 ffmpeg .:0:: error
whil

e decoding MB 41 0

0:00:00.584388000  5808   0221F948 ERROR                 ffmpeg .:0::
mb_type 73

 in P slice too large at 20 1

0:00:00.585389000  5808   0221F948 ERROR                 ffmpeg .:0:: error
whil

e decoding MB 20 1

0:00:00.632421000  5808   0221F948 ERROR                 ffmpeg .:0:: top
block

unavailable for requested intra mode at 41 0

0:00:00.632421000  5808   0221F948 ERROR                 ffmpeg .:0:: error
whil

e decoding MB 41 0

0:00:00.753506000  5808   0221F948 ERROR                 ffmpeg .:0::
mb_type 46

 in P slice too large at 16 1

0:00:00.754506000  5808   0221F948 ERROR                 ffmpeg .:0:: error
whil

e decoding MB 16 1

0:00:00.873583000  5808   0221F948 ERROR                 ffmpeg .:0:: out
of ran

ge intra chroma pred mode at 11 2

0:00:00.875583000  5808   0221F948 ERROR                 ffmpeg .:0:: error
whil

e decoding MB 11 2

0:00:00.998666000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.000673000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.001668000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.003669000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.004673000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.006671000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.008672000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.009673000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.011676000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.014683000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.016695000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.018683000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.019683000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.021681000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.022689000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.024684000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.027685000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.028691000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.030687000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.031687000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.032689000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.033691000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.034689000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.035690000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.036694000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

0:00:01.037691000  5808   0221F948 ERROR                 ffmpeg .:0::
number of

reference frames exceeds max (probably corrupt input), discarding one

ERROR: from element
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDeco

deBin2:decodebin20/GstSDPDemux:sdpdemux0/GstUDPSrc:udpsrc0: Internal data
flow e

rror.

Additional debug info:

..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2507):
gst_base_src_loop ()

:
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20

/GstSDPDemux:sdpdemux0/GstUDPSrc:udpsrc0:

streaming task paused, reason not-negotiated (-4)

Execution ended after 1158778000 ns.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

-- 
Regards
Subodh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130117/c2861f39/attachment-0001.html>


More information about the gstreamer-devel mailing list