AnsweredAssumed Answered

Play some video failed

Question asked by xiang duanx on Mar 23, 2017
Latest reply on Mar 28, 2017 by xiang duanx

Hi IMX Community,

  I'm building some multimedia app with android 4.4.2 on i.MX 6Quad/DualLite platform.

  But when I play some video file,  OMXPlayer print some failed message then stopped.

 

  Did It failed in OMXPlayer?

  OMXPlayer library was in /external/fsl_imx_omx, Could I download some patch to repair?

 

  Thanks

 

Play some wmv file failed:

I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: SetupVideoPipeline LINE: 2522
I/OMXPlayer( 2114): Can't load component with role: video_decoder.wmv9
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: SetupPipeline LINE: 2390
I/OMXPlayer( 2114): SetupVideoPipeline() faint
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: Load LINE: 796
I/OMXPlayer( 2114): SetupPipeline faint
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: Load LINE: 818
I/OMXPlayer( 2114): Load faint and stop
I/OMXPlayer( 2114): GMPlayer Stop
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: StateTransDownWard LINE: 336
I/OMXPlayer( 2114): OMX.Freescale.std.audio_render.android.sw-based Invalid state transitioin: 1 -> 4.
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: StateTransDownWard LINE: 336
I/OMXPlayer( 2114): OMX.Freescale.std.audio_decoder.wma.sw-based Invalid state transitioin: 1 -> 2.
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: StateTransDownWard LINE: 336
I/OMXPlayer( 2114): OMX.Freescale.std.audio_render.android.sw-based Invalid state transitioin: 1 -> 2.
I/OMXPlayer( 2114): GMPlayer Stop
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: Stop LINE: 907
I/OMXPlayer( 2114): GMPlayer Stop from wrong state 6
E/MediaPlayer( 2884): error (-2147483648, 0)
W/System.err( 2884): java.io.IOException: Prepare failed.: status=0x80000000
W/System.err( 2884):    at android.media.MediaPlayer.prepare(Native Method)

 

 

 

Play some mp4 file failed:

I/OMXPlayer( 2114): Loading content: sharedfd://22:0:122304333:0
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: MediaTypeInspect LINE: 1797
I/OMXPlayer( 2114): Can't inspect media content type by subfix.
I/OMXPlayer( 2114): MediaTypeInspectByContent, role: parser.mp4

I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: InitCoreParser LINE: 978
I/OMXPlayer( 2114): fail to create the parser: -11
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: SysEventHandler LINE: 1673
I/OMXPlayer( 2114): OMX.Freescale.std.parser.fsl.sw-based report Error 8000100b.
I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: SysEventHandler LINE: 1673
I/OMXPlayer( 2114): OMX.Freescale.std.parser.fsl.sw-based report Error 8000100b.

I/OMXPlayer( 2114): LEVEL: 1 FUNCTION: PreLoad LINE: 705
I/OMXPlayer( 2114): Can't load content sharedfd://22:0:122304333:0
I/OMXPlayer( 2114): GMPlayer Stop
E/MediaPlayerService( 2114):   error: -2147483648
E/MediaPlayer( 2884): Unable to create media player
W/System.err( 2884): java.io.IOException: setDataSourceFD failed.: status=0x80000000
W/System.err( 2884):    at android.media.MediaPlayer._setDataSource(Native Method)
W/System.err( 2884):    at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1028)

Outcomes