MPEG4Extractor: MP3 track in MP4/3GPP file is not supported

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPEG4Extractor: MP3 track in MP4/3GPP file is not supported

跳至解决方案
3,832 次查看
xingruizhu
Contributor III

Dear supporter

 

On our project  plans to upgrade android4.2.2 to android 5.0.2.

Some video can play on android 4.2.2 ,but those video cannot play on android 5.0.2.

And the fail log as below .

 

Please ref the attach files for more info.

 

And this

 

- Platform info -

  • IMX6DL
  • Android 5.0.2

 

01-03 16:40:12.881   151  1426 E BufferQueueProducer: [com.android.gallery3d/com.android.gallery3d.app.MovieActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count

01-03 16:40:13.162   444   468 I ActivityManager: Displayed com.android.gallery3d/.app.MovieActivity: +730ms

01-03 16:40:13.393   444   458 I MediaFocusControl:  AudioFocus  requestAudioFocus() from android.media.AudioManager@16f863ba

01-03 16:40:13.466   166   629 E MPEG4Extractor: MP3 track in MP4/3GPP file is not supported

01-03 16:40:13.466   166   629 E MediaPlayerService:   error: -2147483648

01-03 16:40:13.466  1379  1379 E MediaPlayer: Unable to create media player

01-03 16:40:13.472  1379  1379 D MediaPlayer: Couldn't open file on client side, trying server side

01-03 16:40:13.480   444   883 D ActivityManager: checkComponentPermission() adjusting {pid,uid} to {166,1013}

01-03 16:40:13.498   554  1403 E DatabaseUtils: Writing exception to parcel

01-03 16:40:13.498   554  1403 E DatabaseUtils: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/video/media/1178 from pid=444, uid=1000 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

01-03 16:40:13.498   554  1403 E DatabaseUtils:         at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:526)

01-03 16:40:13.498   554  1403 E DatabaseUtils:         at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:446)

01-03 16:40:13.498   554  1403 E DatabaseUtils:         at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:439)

01-03 16:40:13.498   554  1403 E DatabaseUtils:         at android.content.ContentProvider$Transport.openFile(ContentProvider.java:337)

01-03 16:40:13.498   554  1403 E DatabaseUtils:         at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:239)

01-03 16:40:13.498   554  1403 E DatabaseUtils:         at android.os.Binder.execTransact(Binder.java:446)

01-03 16:40:13.500   166   630 D         : openContentUri(content://media/external/video/media/1178) caught exception -1

01-03 16:40:13.500   166   630 E MediaPlayerService: Couldn't open fd for content://media/external/video/media/1178

01-03 16:40:13.500  1379  1379 E MediaPlayer: Unable to create media player

01-03 16:40:13.516  1379  1379 W VideoView: Unable to open content: content://media/external/video/media/1178

01-03 16:40:13.516  1379  1379 W VideoView: java.io.IOException: setDataSource failed.: status=0x80000000

01-03 16:40:13.516  1379  1379 W VideoView:     at android.media.MediaPlayer.nativeSetDataSource(Native Method)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1064)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1053)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1007)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.widget.VideoView.openVideo(VideoView.java:352)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.widget.VideoView.access$2100(VideoView.java:72)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.widget.VideoView$7.surfaceCreated(VideoView.java:628)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.view.SurfaceView.updateWindow(SurfaceView.java:579)

01-03 16:40:13.516  1379  1379 W VideoView:     at android.view.SurfaceView.setVisibility(SurfaceView.java:256)

Original Attachment has been moved to: play.log.txt.zip

0 项奖励
回复
1 解答
2,399 次查看
xingruizhu
Contributor III

update:

After patch the omx player, those bugs is fixed.

- android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz

To apply android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz patches, carry out the following commands:
$ cp android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz ~/myandroid
$ cd ~/myandroid
$ tar xzvf android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz
After unpacking this package, the current build mode is “full”, which means omxplayer feature will be built into the Android
platform.
Use switch_build_to.sh to switch between “core” mode and “full” mode.
$ ./switch_build_to.sh (display current mode)
$ ./switch_build_to.sh mode (mode shall be "core" or "full")
$ ./clean_obj_before_building.sh (clean related binary in the out directory of previous
Android build)

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,399 次查看
xingruizhu
Contributor III

Dear supporter

Is this config should set true ?

HAVE_FSL_IMX_CODEC

0 项奖励
回复
2,400 次查看
xingruizhu
Contributor III

update:

After patch the omx player, those bugs is fixed.

- android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz

To apply android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz patches, carry out the following commands:
$ cp android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz ~/myandroid
$ cd ~/myandroid
$ tar xzvf android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz
After unpacking this package, the current build mode is “full”, which means omxplayer feature will be built into the Android
platform.
Use switch_build_to.sh to switch between “core” mode and “full” mode.
$ ./switch_build_to.sh (display current mode)
$ ./switch_build_to.sh mode (mode shall be "core" or "full")
$ ./clean_obj_before_building.sh (clean related binary in the out directory of previous
Android build)

0 项奖励
回复