<div dir="ltr"><div><div>Hi can you try using avdec_aac instead of faad. and rtpmp4apay/rtpmp4adepay instead of rtpmp4gpay/rtpmp4gdepay wiz used for elementary streams.<br><br></div>Regards<br></div>Jyoti<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Aug 15, 2013 at 11:26 PM, cvinyas <span dir="ltr"><<a href="mailto:cvinyas@gmail.com" target="_blank">cvinyas@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 to everybody,<br>
<br>
I'm currently working with GStreamer to stream a mp4 720p video and play it<br>
with a Raspberry Pi. I archived that. I am able now to play the video and it<br>
looks fine. The problem appears with the audio. I'm trying to send both<br>
video and audio to the Raspberry but the Faad (Free AAC decoder) doesn't<br>
work properly.<br>
<br>
This error appears:<br>
<br>
ERROR: from element /GstPipeline:pipeline0/GstFaad:faad0: Could not decode<br>
stream.<br>
Additional debug info: gstfaad.c(820):gst_faad_handle_frame ():<br>
/GstPipeline:pipeline0/GstFaad:faad0: Failed to init decoder from stream.<br>
<br>
Using the tail  --gst-debug-level=2 in the receiver, it reveals warnings<br>
like " Invalid sample rate index 13" (from the aacparse) or Channel coupling<br>
not yet implemented (from audio decoder) or Bitstream value not allowed by<br>
specification.<br>
<br>
I attach you the pipelines I have used:<br>
<br>
Server:<br>
<br>
gst-launch-1.0 -v filesrc location=/home/carlos/Descargas/test.mp4 ! qtdemux<br>
name = dmux dmux.audio_0 ! aacparse ! rtpmp4gpay ! udpsink<br>
host=192.168.137.3 port=5004  dmux.video_0 ! queue ! h264parse ! avdec_h264<br>
! x264enc tune="zerolatency" threads=4 speed-preset=2 ! rtph264pay<br>
config-interval=2 mtu=4500 ! udpsink host=192.168.137.3 port=5002<br>
<br>
Client (Raspberry):<br>
<br>
gst-launch-1.0 -v udpsrc uri=udp://<a href="http://192.168.137.3:5004" target="_blank">192.168.137.3:5004</a><br>
caps="application/x-rtp,media=(string)audio" ! queue ! rtpmp4gdepay !<br>
aacparse ! faad ! alsasink udpsrc uri=udp://<a href="http://192.168.137.3:5002" target="_blank">192.168.137.3:5002</a> caps<br>
="application/x-rtp" ! rtpjitterbuffer ! queue ! rtph264depay ! h264parse !<br>
omxh264dec ! autovideosink<br>
<br>
I will appreciate your help to solve the problem.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Could-not-decode-stream-error-with-GStreamer-tp4661571.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Could-not-decode-stream-error-with-GStreamer-tp4661571.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>