<div dir="ltr">You are not transmitting RTP on the network, you are transmitting MP2T. You need rtpmp2tpay between the mpegtsmux and the udpsink on the RPi. I don't think that the receiver needs to specify the payload type. I don't think that the RPi needs the h264parse. I assume that the rpicamsrc is generating complete H264 frames.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 3:46 AM, cxphong <span dir="ltr"><<a href="mailto:caoxuanphong.khtn@gmail.com" target="_blank">caoxuanphong.khtn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I have ffdec_h264 error when streamed video + audio from rpi to Linux PC<br>
using the following commands:<br>
<br>
Rpi (Sender):<br>
<br>
*gst-launch-1.0  rpicamsrc bitrate=1000000 ! "video/x-h264, width=640,<br>
height=480" ! h264parse ! queue ! mux.  alsasrc device=hw:0 ! audioconvert !<br>
lamemp3enc ! "audio/mpeg"! queue !   mux. mpegtsmux name=mux ! queue !<br>
udpsink host=10.10.10.105 port=5000 -v*<br>
<br>
Linux PC (Receiver):<br>
<br>
*GST_DEBUG="*:1" gst-launch-0.10 udpsrc port=5000 ! "application/x-rtp,<br>
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T,<br>
payload=(int)33, ssrc=(uint)4251539348, timestamp-offset=(uint)2033210929,<br>
seqnum-offset=(uint)34671" ! rtpmp2tdepay ! tsparse ! tsdemux  !<br>
"video/x-h264" ! ffdec_h264 ! autovideosink*<br>
<br>
ERROR in receiver:<br>
*ffmpeg :0:: non-existing PPS referenced<br>
ffmpeg :0:: non-existing PPS 0 referenced<br>
ffmpeg :0:: decode_slice_header error<br>
ffmpeg :0:: no frame!*<br>
<br>
Anyone can help me?<br>
Thank you!<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/tsdemux-ffmpeg-0-non-existing-PPS-referenced-tp4665890.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/tsdemux-ffmpeg-0-non-existing-PPS-referenced-tp4665890.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>