[gst-embedded] Need help in aac decoder error

Mayank Kapoor er.mayankkapoor at gmail.com
Mon Feb 22 22:29:26 PST 2010


Hi,
I am trying to run the following pipeline on target board:

*gst-launch-0.10 filesrc location= AAC_stereo.aac ! aacparse ! myaac_decoder
! alsasink -v*

here myaac_decoder is the basic aac decoder element that i have written.But
when I run this pipeline I get following error.
My understanding from this error is that from aacparse I am getting event
NEW_SEGMENT with format as NULL(highlighted this error)and hence decoder is
not going ahead but i dont know how to fix this kind of issue.

Kindly suggest some method to fix it.


0:00:01.068206190  1989    0xaf5c8 INFO          savs_aacparser
savs_aac_parser.c:998:fal_aac_parser_check_and_replenish_cache: Attempting
to read 12288 bytes from postion 3022810 on handle=0x000aefe8

0:00:01.069960912  1989    0xaf5c8 INFO          savs_aacparser
savs_aac_parser.c:998:fal_aac_parser_check_and_replenish_cache: Attempting
to read 12288 bytes from postion 3033405 on handle=0x000aefe8

0:00:01.071024121  1989    0xaf5c8 WARN          GST_SCHEDULING
gstpad.c:4772:gst_pad_get_range:<filesrc0:src> getrange failed unexpected

0:00:01.071961047  1989    0xaf5c8 WARN          GST_SCHEDULING
gstpad.c:4884:gst_pad_pull_range:<savsaacparser0:sink> pullrange failed
unexpected

0:00:01.073741873  1989    0xaf5c8 INFO          savs_aacparser
savs_aac_parser.c:1162:savs_aac_parser_init_engine: AAC Stream is of format
: 2 (ADTS)

0:00:01.074590418  1989    0xaf5c8 INFO          savs_aacparser
savs_aac_parser.c:1168:savs_aac_parser_init_engine: ADTS Parameters:
Version=1, Profile=1, Sampling Frequency=24000, Channels=2, Frame size=1322,
Samples per frame=1024, Stream duration=0:01:36.767998488 .

0:00:01.076339864  1989    0xaf5c8 INFO          savs_aacparser
savs_aac_parser.c:420:savs_aac_parser_loop: Set total stream duration to
0:01:36.767998488

0:00:01.077222307  1989    0xaf5c8 INFO               GST_EVENT
gstevent.c:591:gst_event_new_new_segment_full: creating newsegment update 0,
rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop
99:99:99.999999999, position 0:00:00.000000000

*0:00:01.078684857  1989    0xaf5c8 ERROR            savsdec_aac
gstsavsdecaac.c:345:gst_savsdecaac_sink_event: dropping newsegment event in
format (null)*

0:00:01.078852278  1989    0xaf5c8 INFO          savs_aacparser
savs_aac_parser.c:998:fal_aac_parser_check_and_replenish_cache: Attempting
to read 12288 bytes from postion 0 on handle=0x000aefe8
0:00:01.079197646  1989    0xaf5c8 WARN          savs_aacparser
savs_aac_parser.c:1305:savs_aac_parser_push_frame: failed to push buffer.
reason: not-negotiated
0:00:01.079316536  1989    0xaf5c8 ERROR         savs_aacparser
savs_aac_parser.c:449:savs_aac_parser_loop: Failed to send next aac frame to
peer; reason: not-negotiated
0:00:01.079437646  1989    0xaf5c8 WARN          savs_aacparser
savs_aac_parser.c:490:savs_aac_parser_loop:<savsaacparser0> error: Internal
data stream error.
0:00:01.079540584  1989    0xaf5c8 WARN          savs_aacparser
savs_aac_parser.c:490:savs_aac_parser_loop:<savsaacparser0> error: Streaming
stopped, reason not-negotiated
0:00:01.079726911  1989    0xaf5c8 INFO        GST_ERROR_SYSTEM
gstelement.c:1767:gst_element_message_full:<savsaacparser0> posting message:
Internal data stream error.
*ERROR: from element /GstPipeline:pipeline0/SavsAacParser:savsaacparser0:
Internal data stream error.
*
Additional debug info:
savs_aac_parser.c(490): savs_aac_parser_loop ():
/GstPipeline:pipeline0/SavsAacParser:savsaacparser0:
Streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
thanks in advance!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20100223/2e65a016/attachment.htm>


More information about the Gstreamer-embedded mailing list