Android M Codecs with Imx6qp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android M Codecs with Imx6qp

1,200 Views
1217012183
Contributor I

When I tried to play. f4v video, I made the following mistakes:


01-02 00:03:08.408   237 13708 I MediaCodec: [OMX.Freescale.std.video_decoder.sorenson.sw-based] setting surface generation to 242698
01-02 00:03:08.409   237 13711 I OMXPlayer: Can't open library: lib_aacplusd_wrap_arm12_elinux_android.so
01-02 00:03:08.409   237 13711 I OMXPlayer: dlopen failed: library "lib_aacplusd_wrap_arm12_elinux_android.so" not found
01-02 00:03:08.413   237 13709 E OMXNodeInstance: setParameter(42:Freescale.std._decoder.sorenson.sw-based, ??(0x7f000039)) ERROR: UnsupportedIndex(0x8000101a)
01-02 00:03:08.413   237 13709 W OMXNodeInstance: [42:Freescale.std._decoder.sorenson.sw-based] component does not support metadata mode; using fallback
01-02 00:03:08.414   237 13709 E ACodec  : [OMX.Freescale.std.video_decoder.sorenson.sw-based] storeMetaDataInBuffers failed w/ err -1010
01-02 00:03:08.414   237 13709 E OMXNodeInstance: setConfig(42:Freescale.std._decoder.sorenson.sw-based, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)
01-02 00:03:08.414   237 13709 E OMXNodeInstance: setConfig(42:Freescale.std._decoder.sorenson.sw-based, ConfigOperatingRate(0x6f800003)) ERROR: UnsupportedIndex(0x8000101a)
01-02 00:03:08.415   237 13711 E OMXNodeInstance: setParameter(43:Freescale.std._decoder.aac.sw-based, ParamAudioAndroidAacPresentation(0x6f400003)) ERROR: UnsupportedIndex(0x8000101a)

The video format is as follows:

  Metadata:
    encoder         : Lavf54.6.100
  Duration: 00:01:00.02, start: 0.000000, bitrate: 15385 kb/s
    Stream #0:0: Video: flv1, yuv420p, 1920x1080, 17046 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 320 kb/s

The decoder library uses Android kk. Is this the reason for the problem?

If so, where can I download the corresponding decoding library of imx6qp adapted to AndroidM?

Tags (1)
0 Kudos
3 Replies

845 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to your error message, your f4v file includes accplus audio, and your android bsp doesn't intall aacplus codec, for this special codec, you need to get NDA, you can contact local DFAE to get more detailed information about this.

0 Kudos

845 Views
1217012183
Contributor I

Thank you for your reply. But I see that the code for audio in this file is ACC_LC rather than accplus.

When I play this video, the sound will play for a while and then disappear, and the picture will never appear.

0 Kudos

845 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use?

0 Kudos