helloworld:package com.example.test.aplayersimpledemo;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
.......
(2016-12-22 14:09)
按照你的方法有问题,这是怎么回事,我试着禁用字幕显示也是这样。
I/APlayerAndroid: native GetState enter obj_id = 0
I/APlayerAndroid: native Open enter obj_id = 0
I/APlayerAndroid: APlayerAndroid::_open enter m_file_url =
http://www.stormbirds.cn/test.mp4E/APlayerAndroid: APlayerAndroid::_open m_http_header =
E/APlayerAndroid: APlayerAndroid::_open avformat_open_input failed
I/APlayerAndroid: APlayerAndroid::PlayComplete PLAYRE_RESULT = -2147483647
E/APlayerAndroid: AttachCurrentThread to obtain JNIEnv
E/APlayerAndroid: APlayerAndroid::_open Leave return E_FAILED
I/APlayerAndroid: APlayerAndroid::_close enter
I/APlayerAndroid: APlayerAndroid::_close m_aplayer_v_decoder_render stop
E/APlayerAndroid: AttachCurrentThread to obtain JNIEnv
I/APlayerAndroid: APlayerAndroid::_close m_aplayer_sub_decoder_render stop
I/APlayerAndroid: APlayerAndroid::_close m_audio_decoder stop
I/APlayerAndroid: APlayerARenderSLES::Stop enter
I/APlayerAndroid: APlayerARenderSLES::Stop leave
I/APlayerAndroid: APlayerAndroid::_close m_audio_render_opensles stop
I/APlayerAndroid: APlayerParser::Stop Enter
I/APlayerAndroid: APlayerAndroid::_close m_parser stop
E/APlayerAndroid: AttachCurrentThread to obtain JNIEnv
I/APlayerAndroid: APlayerAndroid::_close leave
E/APlayerAndroid: ShowSubtitle
E/APlayerAndroid: ShowSubtitle mSubtitleViewTop = 708 textViewHeight = 47