AAC audio decoding error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AAC audio decoding error

Paulo Paiva
Hi all,

I am using the streaming examples given for RTP streaming, changed the
video source to my webcamera and the audio source to the microphone.
(http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh)

The video works great but the audio when I change it from alawenc /
alawdec to faac/faad (or ffenc_aac/ffdec_aac) it doesn't work anymore
(and I changed the audio pay and depay to rtpmp4apay/rtpmp4adepay). The
code is annexed and the error is listed bellow.

ERROR ( Output from the client):
$ ./v4l2client.sh >clientoutput
ERROR: from element /GstPipeline:pipeline0/GstFaad:faad0: Could not
decode stream.
Additional debug info:
gstfaad.c(1312): gst_faad_chain (): /GstPipeline:pipeline0/GstFaad:faad0:
faacDecInit2() failed

Thanks all for the help!

--
Paulo Paiva


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

v4l2server.sh (4K) Download Attachment
v4l2client.sh (3K) Download Attachment
clientoutput (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: AAC audio decoding error

Wim Taymans
On 04/18/2011 02:18 AM, Paulo Paiva wrote:
> Hi all,
hi,

It looks like you are missing the config parameter on the rtp caps. You
can get the value of
this parameter by copying it from the caps on the sender side.

Wim

>
> I am using the streaming examples given for RTP streaming, changed the
> video source to my webcamera and the audio source to the microphone.
> (http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh)
>
> The video works great but the audio when I change it from alawenc /
> alawdec to faac/faad (or ffenc_aac/ffdec_aac) it doesn't work anymore
> (and I changed the audio pay and depay to rtpmp4apay/rtpmp4adepay).
> The code is annexed and the error is listed bellow.
>
> ERROR ( Output from the client):
> $ ./v4l2client.sh >clientoutput
> ERROR: from element /GstPipeline:pipeline0/GstFaad:faad0: Could not
> decode stream.
> Additional debug info:
> gstfaad.c(1312): gst_faad_chain (): /GstPipeline:pipeline0/GstFaad:faad0:
> faacDecInit2() failed
>
> Thanks all for the help!
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel