ts文件未在android平板电脑中播放

ts文件未在android平板电脑中播放,android,Android,我正在播放我录制的文件。该文件在vlc(linux pc)和Moboplayer(android平板电脑)中运行良好。在android平板电脑中使用默认播放器时,它会在logcat中显示这一点 I/ActivityManager( 201): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.example.mymediaplayer/.MyVi

我正在播放我录制的文件。该文件在vlc(linux pc)和Moboplayer(android平板电脑)中运行良好。在android平板电脑中使用默认播放器时,它会在logcat中显示这一点

I/ActivityManager(  201): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.example.mymediaplayer/.MyVideoView bnds=[656,246][752,342]} from pid 417
I/System.out(20286): MyVideoView.onCreate()
I/System.out(20286): MyVideoView.onResume()
V/TabletStatusBar(  281): setLightsOn(true)
I/AwesomePlayer(  141): setDataSource_l('/sdcard/video/TunerOut.ts')
I/avc_utils(  141): found AVC codec config (720 x 480, Baseline-profile level 3.1)
I/MPEG2TSExtractor(  141): haveAudio=1, haveVideo=1
E/OMXCodec(  141): Attempting to allocate OMX node 'OMX.TI.DUCATI1.VIDEO.DECODER'
E/OMXCodec(  141): Attempting to allocate OMX node 'OMX.Nvidia.h264.decode'
E/OMXCodec(  141): Attempting to allocate OMX node 'OMX.qcom.7x30.video.decoder.avc'
E/OMXCodec(  141): Attempting to allocate OMX node 'OMX.qcom.video.decoder.avc'
E/OMXCodec(  141): Attempting to allocate OMX node 'OMX.TI.Video.Decoder'
E/OMXCodec(  141): Attempting to allocate OMX node 'OMX.SEC.AVC.Decoder'
E/OMXCodec(  141): Successfully allocated OMX node 'OMX.SEC.AVC.Decoder'
I/OMXCodec(  141): [OMX.SEC.AVC.Decoder] AVC profile = 66 (Baseline), level = 31
E/OMXCodec(  141): [OMX.SEC.AVC.Decoder] Video O/P format.eColorFormat 0x40b452b1
I/OMXCodec(  141): [OMX.SEC.AVC.Decoder] video dimensions are 720 x 480
D/OpenGLRenderer(  417): Flushing caches (mode 1)
I/ActivityManager(  201): Displayed com.example.mymediaplayer/.MyVideoView: +323ms
W/InputManagerService(  201): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@4106dc38 (uid=10036 pid=20503)
W/IInputConnectionWrapper(20503): showStatusIcon on inactive InputConnection
E/OMXCodec(  141): Attempting to allocate OMX node 'OMX.Nvidia.mp2.decoder'
**E/MediaPlayer(20286): error (1, -2147483648)
E/MediaPlayer(20286): Error (1,-2147483648)
D/VideoView(20286): Error: 1,-2147483648**
D/OpenGLRenderer(  417): Flushing caches (mode 0)
W/InputManagerService(  201): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41033300
D/AudioHardware(  141): AudioHardware pcm playback is going to standby.

什么是错误1,-2147483648

我刚才也有这个错误。原因(在我的例子中)是mp3格式错误,即

MPEG ADTS, layer II, v1, 192 kbps, 44.1 kHz, Stereo
“好的”mp3有以下格式:

MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo