Hi,

Having the following  result.  Is it  OK?
 
./omxaudiodectest wind_adif_lc_mono_12kbps_8000hz.aac
Options selected:
Decode file wind_adif_lc_mono_12kbps_8000hz.aac to  ALSA sink without tunneling
Format selected AAC
------------------------------------
GENERAL TEST test_OMX_ComponentNameEnum
component 0 is OMX.st.clocksrc
component 1 is OMX.st.audio_decoder.mp3.mad
component 2 is OMX.st.audio_filereader
component 3 is OMX.st.alsa.alsasink
component 4 is OMX.st.alsa.alsasrc
component 5 is OMX.st.parser.3gp
component 6 is OMX.st.volume.component
component 7 is OMX.st.audio.mixer
component 8 is OMX.st.audio_decoder
component 9 is OMX.st.audio_decoder.mp3
component 10 is OMX.st.audio_decoder.ogg
component 11 is OMX.st.audio_decoder.aac
component 12 is OMX.st.audio_decoder.g726
component 13 is OMX.st.video_decoder
component 14 is OMX.st.video_decoder.mpeg4
component 15 is OMX.st.video_decoder.avc
component 16 is OMX.st.video_colorconv.ffmpeg
component 17 is OMX.st.video_encoder
component 18 is OMX.st.audio_decoder.ogg.single
GENERAL TEST test_OMX_ComponentNameEnum result -2147479538
------------------------------------
GENERAL TEST test_OMX_RoleEnum
The number of roles for the component OMX.st.audio_decoder is: 4
The role 1 for the component:  audio_decoder.mp3
The role 2 for the component:  audio_decoder.ogg
The role 3 for the component:  audio_decoder.aac
The role 4 for the component:  audio_decoder.g726
GENERAL TEST test_OMX_RoleEnum result 0
------------------------------------
GENERAL TEST test_OMX_ComponentEnumByRole
Getting number of components per role for audio_decoder.ogg
Number of components per role for audio_decoder.ogg is 2
 The components are:
OMX.st.audio_decoder
OMX.st.audio_decoder.ogg.single
GENERAL TEST test_OMX_ComponentEnumByRole result OMX_ErrorNone
------------------------------------
GENERAL TEST test_OpenClose
GENERAL TEST test_OpenClose result 0
------------------------------------
Component OMX.st.audio_decoder.aac opened
lt-omxaudiodectest: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
Aborted


Giulio URLINI <giulio.urlini@st.com> д
Hi,
to compile the test you should execute 'make check'.
For any further details please check the README file in the root
directory of Bellagio package.


Giulio Urlini

xuefeng wang wrote:
> Hi,
>
> ffmpeg version:
> libavutil version: 49.7.0
> libavcodec version: 51.62.0
> libavformat version: 52.18.0
> libavdevice version: 52.0.0
> faac-1.26
> faad2-2.6.1
>
> I want to run openmax stand alone demo, could you test how to make it?
> I tried to make, but the test program couldn't be created, please see
> the log below:
>
> make[2]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/common'
> Making all in audio
> make[2]: Entering directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/audio'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/audio'
> Making all in video
> make[2]: Entering directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/video'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/video'
> Making all in audio_effects
> make[2]: Entering directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/audio_effects'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/audio_effects'
> Making all in parser
> make[2]: Entering directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/parser'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/parser'
> Making all in camera
> make[2]: Entering directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/camera'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components/camera'
> make[2]: Entering directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components'
> make[1]: Leaving directory
> `/home/w20711/oss/libomxil-bellagio-0.9.0/test/components'
> make[1]: Entering directory `/home/w20711/oss/libomxil-bellagio-0.9.0/test'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/w20711/oss/libomxil-bellagio-0.9.0/test'
>
>
>
>
> */Giulio URLINI /* д
>
> Hi,
> I'm Giulio Urlini and I'm responsible for the Bellagio development. In
> my opinion this is not a problem of the relation between gstreamer and
> openmax but a decoding error inside the openmax audio decoder.
> The error in this case seems to be related to faac version that does not
> match. Which version of ffmpeg are you using?
> Did you try to run the openmax stand alone demo, in
> tests/components/audio/omxaudiodectest?
>
> --
> Giulio Urlini
>
>
> xuefeng wang wrote:
> > Hi Felipe Contreras,
> >
> > Thank you very much.
> >
> > It works with "./gst-launch-0.10 filesrc
> > location=./music/matrix_128_96_MPEG-4_15fps_64kbps.mp4 ! qtdemux
> > ! omx_mpeg4dec ! ffmpegcolorspace ! videoscale ! ximagesink" while
> > turning off the TI workarounds.
> >
> > Another issue is found by "gst-openmax-0.10.0.4 +
> > libomxil-bellagio-0.9.0" (cannot reproduce by
> "gst-openmax-0.10.0.4 +
> > libomxil-B-0.3.3"):
> >
> > ./gst-launch-0.10 filesrc
> >
> location=./music/matrix_mp4sp_176x144_15fps_aaclc_44100hz_s_164kbps.mp4
> > ! qtdemux name=demux demux. ! queue ! omx_aacdec ! audioconvert !
> > audioresample ! volume ! osssink demux. ! queue ! omx_mpeg4dec !
> > ffmpegcolorspace ! videoscale ! ximagesink
> >
> > [libfaad @ 0x8606a50]faac: frame decoding failed: Bitstream value
> not
> > allowed by specification
> > OMX-error in packet decoding in audio dcoder
> > [libfaad @ 0x8606a50]faac: frame decoding failed: Bitstream value
> not
> > allowed by specification
> > OMX-error in packet decoding in audio dcoder
> >
> >
> >
> >
> > */Felipe Contreras /* д
> >
> > On Thu, 2008-10-09 at 15:08 +0800, ext xuefeng wang wrote:
> > > I have the following issue:
> > >
> > > ./gst-launch-0.10 filesrc
> > > location=./music/matrix_128_96_MPEG-4_15fps_64kbps.mp4 ! qtdemux !
> > > omx_mpeg4dec ! ffmpegcolorspace ! videoscale ! ximagesink
> > > Setting pipeline to PAUSED ...
> > > Pipeline is PREROLLING ...
> > > ** (gst-launch-0.10:17245): WARNING **: ffmpegcsp0: size 18432
> is not
> > > a multiple of unit size 24576
> > > ERROR: from element /pipeline0/ffmpegcsp0: subclass did not specify
> > > output size
> > > Additional debug info:
> > > gstbasetransform.c(1537): gst_base_transform_handle_buffer
> > > (): /pipeline0/ffmpegcsp0:
> > > subclass did not specify output size
> > > ERROR: pipeline doesn't want to preroll.
> > > Setting pipeline to NULL ...
> > > Caught SIGSEGV accessing address 0x3c
> > > #0 0x00110402 in _start () from /lib/ld-linux.so.2
> > > #1 0x008c0119 in ?? ()
> > > #2 0x00000000 in ?? ()
> > > Spinning. Please run 'gdb gst-launch 17245' to continue debugging,
> > > Ctrl-C to quit, or Ctrl-\ to dump core.
> >
> > Can you try turning off the TI workarounds?
> > omx/gstomx_base_videodec.c:omx_setup
> >
> > --
> > Felipe Contreras
> >
> >
> >
> ------------------------------------------------------------------------
> > Ż䣬䣡
> >
> >
> >
> ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Gstreamer-openmax mailing list
> > Gstreamer-openmax@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-openmax
>
>
> ------------------------------------------------------------------------
> Ż䣬䣡


Ż䣬䣡