"Could not decode stream" error with GStreamer

jyoti kulkarni jyotimk029 at gmail.com
Thu Aug 15 22:22:34 PDT 2013


Hi can you try using avdec_aac instead of faad. and rtpmp4apay/rtpmp4adepay
instead of rtpmp4gpay/rtpmp4gdepay wiz used for elementary streams.

Regards
Jyoti


On Thu, Aug 15, 2013 at 11:26 PM, cvinyas <cvinyas at gmail.com> wrote:

> Hello to everybody,
>
> I'm currently working with GStreamer to stream a mp4 720p video and play it
> with a Raspberry Pi. I archived that. I am able now to play the video and
> it
> looks fine. The problem appears with the audio. I'm trying to send both
> video and audio to the Raspberry but the Faad (Free AAC decoder) doesn't
> work properly.
>
> This error appears:
>
> ERROR: from element /GstPipeline:pipeline0/GstFaad:faad0: Could not decode
> stream.
> Additional debug info: gstfaad.c(820):gst_faad_handle_frame ():
> /GstPipeline:pipeline0/GstFaad:faad0: Failed to init decoder from stream.
>
> Using the tail  --gst-debug-level=2 in the receiver, it reveals warnings
> like " Invalid sample rate index 13" (from the aacparse) or Channel
> coupling
> not yet implemented (from audio decoder) or Bitstream value not allowed by
> specification.
>
> I attach you the pipelines I have used:
>
> Server:
>
> gst-launch-1.0 -v filesrc location=/home/carlos/Descargas/test.mp4 !
> qtdemux
> name = dmux dmux.audio_0 ! aacparse ! rtpmp4gpay ! udpsink
> host=192.168.137.3 port=5004  dmux.video_0 ! queue ! h264parse ! avdec_h264
> ! x264enc tune="zerolatency" threads=4 speed-preset=2 ! rtph264pay
> config-interval=2 mtu=4500 ! udpsink host=192.168.137.3 port=5002
>
> Client (Raspberry):
>
> gst-launch-1.0 -v udpsrc uri=udp://192.168.137.3:5004
> caps="application/x-rtp,media=(string)audio" ! queue ! rtpmp4gdepay !
> aacparse ! faad ! alsasink udpsrc uri=udp://192.168.137.3:5002 caps
> ="application/x-rtp" ! rtpjitterbuffer ! queue ! rtph264depay ! h264parse !
> omxh264dec ! autovideosink
>
> I will appreciate your help to solve the problem.
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Could-not-decode-stream-error-with-GStreamer-tp4661571.html
> Sent from the GStreamer-devel mailing list archive at Nabble.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/20130816/e618483e/attachment.html>


More information about the gstreamer-devel mailing list