RTP streaming

jyoti kulkarni jyotimk029 at gmail.com
Thu Jun 6 01:47:46 PDT 2013


@Marc I am able to see only video after executing your sugested commands,
Iam trying to get both audio and and video so using following commands:

 At Server side:gst-launch-0.10 -v filesrc location=test.mp4 ! qtdemux
name=dmux dmux.audio_00 ! aacparse ! faad ! udpsink host=10.99.26.73
port=5000 dmux.video_00 ! queue ! h264parse ! rtph264pay
config-interval=1 ! udpsink port=5002 host=10.99.26.73

After executing this command i get caps which iam copy pasting at client side.

At Client side:

gst-launch-0.10 -v udpsrc uri=udp://10.99.26.73:5000 caps =
'application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264,sprop-parameter-sets=(string)\"Z2QAH6y0AoAt0IAAAAMAgAAAGQeMGVA\\=\\,aO48sA\\=\\=\",
payload=(int)96, ssrc=(uint)831370249, clock-base=(uint)1189482342,
seqnum-base=(uint)34069' ! queue ! rtph264depay ! h264parse !
ffdec_h264 ! xvimagesink udpsrc uri=udp://10.99.26.73:5002
caps='audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
stream-format=(string)raw, level=(string)2, base-profile=(string)lc,
profile=(string)lc,
codec_data=(buffer)12100000000000000000000000000000, rate=(int)44100,
channels=(int)2' ! queue ! aacparse ! faad ! alsasink

After executing this on client side, i see following kind of errors
and warning messages:

[each time i execute i get one of the error message and same warning messae]


Pipeline is set to playing..
error from element faad,decoding error:channel cuppling not yet
implemented, could not decode the stream
error from element faad,decoding error:invalid number of channels,
could not decode the stream
error from element faad,decoding error:bit stream value is not as per
specification, could not decode the stream
error from element faad,decoding error:PCE shall be first frame, could
not decode the stream

 Warning:from element rtph264depay:could not decode the stream,got
invalid  rtp payload value

Anybody please can help me..

Thanks

Jyoti







On Thu, Jun 6, 2013 at 2:18 AM, Olivier Crête
<olivier.crete at collabora.com>wrote:

> On Wed, 2013-06-05 at 16:34 +0200, Marc Leeman wrote:
> > $ gst-launch-0.10 -v udpsrc uri=udp://10.99.26.73:5002
> > caps="application/x-rtp,clock-rate=90000,encoding-name=H264" ! queue !
> > rtph264depay ! h264parse ! ffdec_h264 ! autovideosink
>
> h264parse should never be required after rtph264depay.
>
> --
> Olivier Crête
> olivier.crete at collabora.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130606/63bb85d3/attachment.html>


More information about the gstreamer-devel mailing list