Hi All,
I am unable to play raw acc files...
./omxaudiodectest /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac
Options selected:
Decode file /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac to ALSA sink without tunneling
Format selected AAC
------------------------------------
GENERAL TEST test_OMX_ComponentNameEnum
component 0 is OMX.st.video_src
component 1 is OMX.st.video_src
component 2 is OMX.st.audio_decoder
component 3 is OMX.st.audio_decoder.mp3
component 4 is OMX.st.audio_decoder.ogg
component 5 is OMX.st.audio_decoder.aac
component 6 is OMX.st.audio_decoder.g726
component 7 is OMX.st.video_decoder
component 8 is OMX.st.video_decoder.mpeg4
component 9 is OMX.st.video_decoder.avc
component 10 is OMX.st.video_colorconv.ffmpeg
component 11 is OMX.st.video_colorconv.ffmpeg
component 12 is OMX.st.video_encoder
component 13 is OMX.st.video_encoder.mpeg4
component 14 is OMX.st.video.xvideo_sink
component 15 is OMX.st.video.xvideosink
component 16 is OMX.st.fbdev.fbdev_sink
component 17 is OMX.st.fbdev.fbdev_sink
component 18 is OMX.st.video.scheduler
component 19 is OMX.st.video.scheduler
component 20 is OMX.st.volume.component
component 21 is OMX.st.volume.component
component 22 is OMX.st.audio.mixer
component 23 is OMX.st.audio.mixer
component 24 is OMX.st.audio_decoder.ogg.single
component 25 is OMX.st.audio_decoder.ogg.single
component 26 is OMX.st.parser.3gp
component 27 is OMX.st.parser.3gp
component 28 is OMX.st.v4l.camera_source
component 29 is OMX.st.v4l.camera_source
component 30 is OMX.st.clocksrc
component 31 is OMX.st.clocksrc
component 32 is OMX.st.audio_decoder.mp3.mad
component 33 is OMX.st.audio_decoder.mp3.mad
component 34 is OMX.st.image_decoder.jpeg
component 35 is OMX.st.image_decoder.jpeg
component 36 is OMX.st.image_encoder.jpeg
component 37 is OMX.st.image_encoder.jpeg
component 38 is OMX.st.alsa.alsasink
component 39 is OMX.st.alsa.alsasink
component 40 is OMX.st.alsa.alsasrc
component 41 is OMX.st.alsa.alsasrc
component 42 is OMX.st.audio_filereader
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
Getting Handle for Component OMX.st.volume.component
File reader idle state
File reader executing state
File reader Port Settings Changed event
OMX-In omx_base_component_DoStateSet: Port 1 Disabled So no wait
OMX-Could not open codec
***********************************************************************************
mplayer is able to play it..
also I have installed faac and faad packaged and faad is able to decode it.
ffplay is also unable to play it.
[root@localhost Download]# ffplay /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac
FFplay version SVN-r15746, Copyright (c) 2003-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-swscale --enable-shared --enable-libfaac --enable-libfaad --enable-libfaadbin
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 1. 0 / 52. 1. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
built on Dec 2 2008 12:17:12, gcc: 4.1.2 20070502 (Red Hat 4.1.2-12)
/home/vinayak_bhat/Videos/ACC/Video005_NEW.aac: could not open codecs
thank you in advance...
thank you
vinayak
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Pankaj,
thank you for your response.
When try to play acc file using ./omxaudiodectest -t /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac
the output as follows
Options selected:
Decode file /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac to ALSA sink with tunneling
Format selected AAC
------------------------------------
GENERAL TEST test_OMX_ComponentNameEnum
component 0 is OMX.st.video_src
component 1 is OMX.st.video_src
component 2 is OMX.st.audio_decoder
component 3 is OMX.st.audio_decoder.mp3
component 4 is OMX.st.audio_decoder.ogg
component 5 is OMX.st.audio_decoder.aac
component 6 is OMX.st.audio_decoder.g726
component 7 is OMX.st.video_decoder
component 8 is OMX.st.video_decoder.mpeg4
component 9 is OMX.st.video_decoder.avc
component 10 is OMX.st.video_colorconv.ffmpeg
component 11 is OMX.st.video_colorconv.ffmpeg
component 12 is OMX.st.video_encoder
component 13 is OMX.st.video_encoder.mpeg4
component 14 is OMX.st.audio_encoder
component 15 is OMX.st.audio_encoder.mp3
component 16 is OMX.st.audio_encoder.aac
component 17 is OMX.st.audio_encoder.g726
component 18 is OMX.st.video.xvideo_sink
component 19 is OMX.st.video.xvideosink
component 20 is OMX.st.fbdev.fbdev_sink
component 21 is OMX.st.fbdev.fbdev_sink
component 22 is OMX.st.video.scheduler
component 23 is OMX.st.video.scheduler
component 24 is OMX.st.volume.component
component 25 is OMX.st.volume.component
component 26 is OMX.st.audio.mixer
component 27 is OMX.st.audio.mixer
component 28 is OMX.st.audio_decoder.ogg.single
component 29 is OMX.st.audio_decoder.ogg.single
component 30 is OMX.st.parser.3gp
component 31 is OMX.st.parser.3gp
component 32 is OMX.st.v4l.camera_source
component 33 is OMX.st.v4l.camera_source
component 34 is OMX.st.clocksrc
component 35 is OMX.st.clocksrc
component 36 is OMX.st.audio_decoder.mp3.mad
component 37 is OMX.st.audio_decoder.mp3.mad
component 38 is OMX.st.image_decoder.jpeg
component 39 is OMX.st.image_decoder.jpeg
component 40 is OMX.st.image_encoder.jpeg
component 41 is OMX.st.image_encoder.jpeg
component 42 is OMX.st.alsa.alsasink
component 43 is OMX.st.alsa.alsasink
component 44 is OMX.st.alsa.alsasrc
component 45 is OMX.st.alsa.alsasrc
component 46 is OMX.st.audio_filereader
component 47 is OMX.st.mux.3gp
component 48 is OMX.st.mux.3gp
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
Getting Handle for Component OMX.st.volume.component
File reader idle state
OMX-In omx_base_component_DoStateSet: Port 1 Disabled So no wait
File reader Port Setting Changed event
File reader executing state
OMX-Could not open codec
OMX-In omx_audiodec_component_BufferMgmtCallback omx_audiodec_component_ffmpegLibInit Failed
OMX-In omx_audiodec_component_BufferMgmtCallback avcodec Not Ready
please let me how do we configure ffmpeg.. or how to play raw acc file uisng omxaudiodectest
thank you
vinayak
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I am unable to play raw acc files...
./omxaudiodectest /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac
Options selected:
Decode file /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac to ALSA sink without tunneling
Format selected AAC
------------------------------------
GENERAL TEST test_OMX_ComponentNameEnum
component 0 is OMX.st.video_src
component 1 is OMX.st.video_src
component 2 is OMX.st.audio_decoder
component 3 is OMX.st.audio_decoder.mp3
component 4 is OMX.st.audio_decoder.ogg
component 5 is OMX.st.audio_decoder.aac
component 6 is OMX.st.audio_decoder.g726
component 7 is OMX.st.video_decoder
component 8 is OMX.st.video_decoder.mpeg4
component 9 is OMX.st.video_decoder.avc
component 10 is OMX.st.video_colorconv.ffmpeg
component 11 is OMX.st.video_colorconv.ffmpeg
component 12 is OMX.st.video_encoder
component 13 is OMX.st.video_encoder.mpeg4
component 14 is OMX.st.video.xvideo_sink
component 15 is OMX.st.video.xvideosink
component 16 is OMX.st.fbdev.fbdev_sink
component 17 is OMX.st.fbdev.fbdev_sink
component 18 is OMX.st.video.scheduler
component 19 is OMX.st.video.scheduler
component 20 is OMX.st.volume.component
component 21 is OMX.st.volume.component
component 22 is OMX.st.audio.mixer
component 23 is OMX.st.audio.mixer
component 24 is OMX.st.audio_decoder.ogg.single
component 25 is OMX.st.audio_decoder.ogg.single
component 26 is OMX.st.parser.3gp
component 27 is OMX.st.parser.3gp
component 28 is OMX.st.v4l.camera_source
component 29 is OMX.st.v4l.camera_source
component 30 is OMX.st.clocksrc
component 31 is OMX.st.clocksrc
component 32 is OMX.st.audio_decoder.mp3.mad
component 33 is OMX.st.audio_decoder.mp3.mad
component 34 is OMX.st.image_decoder.jpeg
component 35 is OMX.st.image_decoder.jpeg
component 36 is OMX.st.image_encoder.jpeg
component 37 is OMX.st.image_encoder.jpeg
component 38 is OMX.st.alsa.alsasink
component 39 is OMX.st.alsa.alsasink
component 40 is OMX.st.alsa.alsasrc
component 41 is OMX.st.alsa.alsasrc
component 42 is OMX.st.audio_filereader
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
Getting Handle for Component OMX.st.volume.component
File reader idle state
File reader executing state
File reader Port Settings Changed event
OMX-In omx_base_component_DoStateSet: Port 1 Disabled So no wait
OMX-Could not open codec
***********************************************************************************
mplayer is able to play it..
also I have installed faac and faad packaged and faad is able to decode it.
ffplay is also unable to play it.
[root@localhost Download]# ffplay /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac
FFplay version SVN-r15746, Copyright (c) 2003-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-swscale --enable-shared --enable-libfaac --enable-libfaad --enable-libfaadbin
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 1. 0 / 52. 1. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
built on Dec 2 2008 12:17:12, gcc: 4.1.2 20070502 (Red Hat 4.1.2-12)
/home/vinayak_bhat/Videos/ACC/Video005_NEW.aac: could not open codecs
thank you in advance...
thank you
vinayak
Hi,
FFmpeg support only "ADTS AAC" no other format is supported.
Regards,
Pankaj
Hi Pankaj,
thank you for your response.
When try to play acc file using ./omxaudiodectest -t /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac
the output as follows
Options selected:
Decode file /home/vinayak_bhat/Videos/ACC/Video005_NEW.aac to ALSA sink with tunneling
Format selected AAC
------------------------------------
GENERAL TEST test_OMX_ComponentNameEnum
component 0 is OMX.st.video_src
component 1 is OMX.st.video_src
component 2 is OMX.st.audio_decoder
component 3 is OMX.st.audio_decoder.mp3
component 4 is OMX.st.audio_decoder.ogg
component 5 is OMX.st.audio_decoder.aac
component 6 is OMX.st.audio_decoder.g726
component 7 is OMX.st.video_decoder
component 8 is OMX.st.video_decoder.mpeg4
component 9 is OMX.st.video_decoder.avc
component 10 is OMX.st.video_colorconv.ffmpeg
component 11 is OMX.st.video_colorconv.ffmpeg
component 12 is OMX.st.video_encoder
component 13 is OMX.st.video_encoder.mpeg4
component 14 is OMX.st.audio_encoder
component 15 is OMX.st.audio_encoder.mp3
component 16 is OMX.st.audio_encoder.aac
component 17 is OMX.st.audio_encoder.g726
component 18 is OMX.st.video.xvideo_sink
component 19 is OMX.st.video.xvideosink
component 20 is OMX.st.fbdev.fbdev_sink
component 21 is OMX.st.fbdev.fbdev_sink
component 22 is OMX.st.video.scheduler
component 23 is OMX.st.video.scheduler
component 24 is OMX.st.volume.component
component 25 is OMX.st.volume.component
component 26 is OMX.st.audio.mixer
component 27 is OMX.st.audio.mixer
component 28 is OMX.st.audio_decoder.ogg.single
component 29 is OMX.st.audio_decoder.ogg.single
component 30 is OMX.st.parser.3gp
component 31 is OMX.st.parser.3gp
component 32 is OMX.st.v4l.camera_source
component 33 is OMX.st.v4l.camera_source
component 34 is OMX.st.clocksrc
component 35 is OMX.st.clocksrc
component 36 is OMX.st.audio_decoder.mp3.mad
component 37 is OMX.st.audio_decoder.mp3.mad
component 38 is OMX.st.image_decoder.jpeg
component 39 is OMX.st.image_decoder.jpeg
component 40 is OMX.st.image_encoder.jpeg
component 41 is OMX.st.image_encoder.jpeg
component 42 is OMX.st.alsa.alsasink
component 43 is OMX.st.alsa.alsasink
component 44 is OMX.st.alsa.alsasrc
component 45 is OMX.st.alsa.alsasrc
component 46 is OMX.st.audio_filereader
component 47 is OMX.st.mux.3gp
component 48 is OMX.st.mux.3gp
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
Getting Handle for Component OMX.st.volume.component
File reader idle state
OMX-In omx_base_component_DoStateSet: Port 1 Disabled So no wait
File reader Port Setting Changed event
File reader executing state
OMX-Could not open codec
OMX-In omx_audiodec_component_BufferMgmtCallback omx_audiodec_component_ffmpegLibInit Failed
OMX-In omx_audiodec_component_BufferMgmtCallback avcodec Not Ready
please let me how do we configure ffmpeg.. or how to play raw acc file uisng omxaudiodectest
thank you
vinayak
Hi Pankaj,
with rev 703 we are able to play raw aac file.
Thank you
vinayak