Open noInk opened 10 years ago
Hi, can you send me crashed media file?
The media file is begin transcoded via rtsp by ffmpeg with the following parameters;
ffmpeg copyts copytb 1 rtsp_flags filter_src -i rtsp://192.168.1.131:8554/remote.sdp stdin -strict -2 vcodec copy -acodec libvo_aacenc -movflags frag_keyframe f flv -vsync 2 y TEMP.FLV
Stream video codec is H.264 Stream audio codec is AMR-NB
The output is an flash container which vitamio open on the fly while it begin encoded. The player onCompletion() proceed to release the old mediaplayer > spawn a new mediaplayer and loop the operation with the new getDuration()
I do use a custom made lib of ffmpeg which u can find here; https://github.com/noInk/android-ffmpeg
as requested the file, keep in mind that more the application stay open, more the file grow. http://www.multiupload.nl/X416RKSPZR (dunno if this will crash, cause is totally random, by the way if i can retrive somehow a version with the hardcoded -1 value it would totally helpful because it would let me skip the unncessary memory allocation caused by reaching the "end" of the file.)
well, since im in a dead end the player should keep playing the file even if the native getDuration() taken on prepare is reached, like vlc does.
I dont know what's your mean?
The current lib is calling onCompletion() once the getDuration() taken on prepareAsync() is reached. No matter if more frame are added to the container. You shall no use native getDuration() to instantiate onCompletion(). or if u do, check if there are more frame and/or if the file size is changed before calling it done.
This is also happening while using libvpx (vp8) as encoder. Can you provide a quick way to opt-out the public native long getDuration() within the vitamio library? or else make it return -1 in prepareAsync ()?
Also happening by passing the file through a web service, onCompletition shuldn't be called.
04-17 21:21:29.883 15378-15378/net.level1.client D/net.level1.client.player.PlayerActivity﹕ onCompletion called 04-17 21:21:29.883 15378-15378/net.level1.client I/System.out﹕ passedTimeInSeconds 22 04-17 21:21:29.883 15378-15378/net.level1.client I/System.out﹕ passedTimeInMs 22172 04-17 21:21:29.883 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FILE CLOSE BEGIN 04-17 21:21:29.883 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ CLOSE STREAM AUDIO BEGIN 04-17 21:21:29.892 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ CLOSE STREAM AUDIO END 04-17 21:21:29.892 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ CLOSE STREAM VIDEO BEGIN 04-17 21:21:29.892 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ CLOSE STREAM VIDEO END 04-17 21:21:29.892 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ CLOSE AVFORMAT BEGIN 04-17 21:21:29.892 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ CLOSE AVFORMAT END 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FREE VIDEOPIC BEGIN 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FREE VIDEOPIC 2 END 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FREE SUBPIC BEGIN 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FREE SUBPIC 1 END 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FREE AUDIOFRAME BEGIN 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FREE AUDIOFRAME 8 END 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ DELETE GLOBAL REF BEGIN 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ DELETE GLOBAL REF END 04-17 21:21:29.902 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ FILE CLOSE END 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ VPLAYER RELEASE BEGIN 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ VPLAYER RELEASE END 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ VPLAYER INIT BEGIN 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ Application package name: net.level1.client 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ VPLAYER INIT END 04-17 21:21:29.982 15378-15378/net.level1.client I/System.out﹕ line1 04-17 21:21:29.982 15378-15378/net.level1.client I/System.out﹕ line2 04-17 21:21:29.982 15378-15378/net.level1.client I/System.out﹕ line3 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ Application package name: net.level1.client 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ Application package name: net.level1.client 04-17 21:21:29.982 15378-15378/net.level1.client I/Vitamio[4.2.1][Player]﹕ PREPARE SIG: 0 04-17 21:21:29.982 15378-15378/net.level1.client I/System.out﹕ line4 04-17 21:21:29.982 15378-15378/net.level1.client I/System.out﹕ line5 04-17 21:21:29.982 15378-15378/net.level1.client A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) 04-17 21:21:29.982 15378-15434/net.level1.client I/Vitamio[4.2.1][Player]﹕ THREAD PREPARE START 04-17 21:21:29.992 15378-15434/net.level1.client I/Vitamio[4.2.1][Player]﹕ THREAD PREPARE ATTACHED 04-17 21:21:29.992 15378-15434/net.level1.client I/Vitamio[4.2.1][Player]﹕ Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 04-17 21:21:29.992 15378-15434/net.level1.client I/Vitamio[4.2.1][Player]﹕ OPEN FILE http://127.0.0.1:8080/Temp.flv 04-17 21:21:30.242 15378-15434/net.level1.client I/Vitamio[4.2.1][Player]﹕ META AUDIO: 1. und, META SUBTITLE: 04-17 21:21:30.242 15378-15434/net.level1.client I/Vitamio[4.2.1][Player]﹕ OOPS: ONLY 1 04-17 21:21:30.252 15378-15434/net.level1.client I/Vitamio[4.2.1][Player]﹕ OPEN STREAM AUDIO BEGIN
So far ( 2 hour testing ), I been able to skip that lib crash by adding a postDelayed runnable on the loop which take care of starting the videoplayback.
private void startVideoPlayback() {
Log.v(TAG, "startVideoPlayback");
if (isPlayerBuffering == false) {
mPlayer.start();
}else if (isPlayerBuffering == true) {
if (mPlayer != null) {
mPlayer.seekTo(mSeekValue -1000); // LINE PostDelayed ( Allow to skip the Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1))
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
mPlayer.start();
}
}, 1000); // LINE PostDelayed ( Allow to skip the Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1))
}
}
invalidateOptionsMenu();
mMediaController.setMediaPlayer(this);
mMediaController.requestFocus();
mMediaController.setAnchorView((FrameLayout) findViewById(R.id.videoSurfaceContainer));
handler.post(new Runnable() {
public void run() {
mMediaController.setEnabled(true);
mMediaController.show();
}
});
}
I see you used Vitamio 4.2.1, you can try use 4.2.2.
I have multiple videos automatically played in a row (A/libc: invalid pthread_t 0x750537ad50 passed to pthread_kill), try calling stopPlayback of videoview before playing the next video each time, it seems to be useful
Hi there! Mine application fetch a rtsp stream via ffmpeg, at this stage ffmpeg transcode the stream to a local FLV container while vitamio is displaying the preview. Since vitamio is calling onCompletion() once the initial getDuration() value as reached, even when the file is a streamable container and the getDuration() value is pretty much invalid because it got retrived when was on prepareAsync(), onCompletion() I had to create a new mediaplayer, retrive the last know position via a custom timer and seekTo() this value on this new player. Issue is; the app will sometime function indefinitely, while sometime randomly crashing the vitamio thread with either.
Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
03-22 06:18:23.778 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER RELEASE BEGIN 03-22 06:18:23.778 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? prepare pthread_cancel / pthread_kill 3 03-22 06:18:23.778 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? prepare pthread_join 0 03-22 06:18:23.778 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? demux pthread_kill 0 03-22 06:18:23.778 19483-19550/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DISPLAY END 03-22 06:18:23.788 19483-19548/net.level1.client D/Vitamio[4.2.1][Player]? THREAD DEMUX END 03-22 06:18:23.788 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? demux pthread_join 0 03-22 06:18:23.788 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FILE CLOSE BEGIN 03-22 06:18:23.788 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE STREAM AUDIO BEGIN 03-22 06:18:23.788 19483-19544/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_DECODE END 03-22 06:18:23.788 19483-19545/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_OUTPUT END 03-22 06:18:23.788 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? Audiotrack release ok 03-22 06:18:23.788 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE STREAM AUDIO END 03-22 06:18:23.788 19483-19483/net.level1.client E/Vitamio[4.2.1][Player]? CLOSE STREAM VIDEO BEGIN 03-22 06:18:23.788 19483-19547/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEODECODE END 03-22 06:18:23.788 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE STREAM VIDEO END 03-22 06:18:23.788 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE AVFORMAT BEGIN 03-22 06:18:23.788 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE AVFORMAT END 03-22 06:18:23.788 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FREE VIDEOPIC BEGIN 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FREE VIDEOPIC 2 END 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FREE SUBPIC BEGIN 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FREE SUBPIC 1 END 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FREE AUDIOFRAME BEGIN 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FREE AUDIOFRAME 8 END 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? DELETE GLOBAL REF BEGIN 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? DELETE GLOBAL REF END 03-22 06:18:23.798 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? FILE CLOSE END 03-22 06:18:23.878 19483-19499/net.level1.client D/Vitamio[4.2.1][Player]? THREAD NOTIFY END 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER RELEASE END 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER INIT BEGIN 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 06:18:23.878 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? RENDER RGB 03-22 06:18:23.878 19483-19483/net.level1.client E/Vitamio[4.2.1][Player]? -------1------------- 03-22 06:18:23.878 19483-19483/net.level1.client E/Vitamio[4.2.1][Player]? -------2------------- 03-22 06:18:23.878 19483-19483/net.level1.client E/Vitamio[4.2.1][Player]? -------3------------- 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER INIT END 03-22 06:18:23.878 19483-19483/net.level1.client I/System.out? line1 03-22 06:18:23.878 19483-19483/net.level1.client I/System.out? line2 03-22 06:18:23.878 19483-19483/net.level1.client I/System.out? line4 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 06:18:23.878 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? SURFACE INIT OK 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 06:18:23.878 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? SURFACE INIT OK 03-22 06:18:23.878 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? prepareAsync 03-22 06:18:23.878 19483-19483/net.level1.client I/Vitamio[4.2.1][Player]? PREPARE SIG: 0 03-22 06:18:23.878 19483-19483/net.level1.client D/Vitamio[4.2.1][Player]? prepareAsync end 03-22 06:18:23.878 19483-19483/net.level1.client I/System.out? line5 03-22 06:18:23.878 19483-19483/net.level1.client I/System.out? line6 03-22 06:18:23.878 19483-19483/net.level1.client A/libc? Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) 03-22 06:18:23.878 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE START 03-22 06:18:23.878 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE ATTACHED 03-22 06:18:23.888 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 06:18:23.888 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? OPEN FILE /mnt/sdcard/android/data/net.level1.client/files/Temp.flv 03-22 06:18:23.888 19483-19553/net.level1.client D/Vitamio[4.2.1][Player]? THREAD NOTIFY START 03-22 06:18:23.958 19524-19538/net.level1.client:ffmpegservice D/FFMPEG? *frame= 564 fps= 13 q=-1.0 size= 4634kB time=00:00:52.23 bitrate= 726.7kbits/s _* 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? Input #0, flv, from '/mnt/sdcard/android/data/net.level1.client/files/Temp.flv': 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? Metadata: 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? title : 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? Unnamed 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 06:18:24.078 19483:0x4c62 D/Vitamio[4.2.1][Player] ] comment : 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? N/A 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 06:18:24.078 19483:0x4c62 D/Vitamio[4.2.1][Player] ] encoder : 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? Lavf55.21.101 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 06:18:24.078 19483:0x4c62 D/Vitamio[4.2.1][Player] ] Duration: 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? 00:00:47.44 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? , start: 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? 0.000000 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? , bitrate: 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? 837 kb/s 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 06:18:24.078 19483:0x4c62 D/Vitamio[4.2.1][Player] ] Stream #0:0 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? : Video: h264 (Baseline), yuv420p, 640x480 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? , 1k tbr 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? , 1k tbn 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? , 2k tbc 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 06:18:24.078 19483:0x4c62 D/Vitamio[4.2.1][Player] ] Stream #0:1 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? : Audio: aac, 8000 Hz, mono, fltp, 128 kb/s 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 06:18:24.078 19483:0x4c62 D/Vitamio[4.2.1][Player] ] METADATA: UnnamedN/ALavf55.21.101 03-22 06:18:24.078 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? META AUDIO: 1. und, META SUBTITLE: 03-22 06:18:24.078 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? FIND CODEC_ID 86018 03-22 06:18:24.078 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? OOPS: ONLY 1 03-22 06:18:24.088 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? OPEN CODEC aac 03-22 06:18:24.088 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM AUDIO BEGIN 03-22 06:18:24.088 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 06:18:24.088 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 06:18:24.088 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? 2, 48000, 0 03-22 06:18:24.098 19483-19555/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_DECODE START 03-22 06:18:24.098 19483-19556/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_OUTPUT START 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM AUDIO END 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 06:18:24.108 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? SURFACE INIT OK 03-22 06:18:24.108 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? FIND CODEC_ID 28 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? OOPS: ONLY 1 03-22 06:18:24.108 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? OPEN CODEC h264 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM VIDEO BEGIN 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM VIDEO END 03-22 06:18:24.108 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? DEMUX SIG: 0 03-22 06:18:24.108 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? CLEAN START 03-22 06:18:24.108 19483-19554/net.level1.client D/Vitamio[4.2.1][Player]? CLEAN END 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE DETTACHED, ret = 0 03-22 06:18:24.108 19483-19554/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE END 03-22 06:18:24.108 19483-19553/net.level1.client D/Vitamio[4.2.1][Player]? New video size 640 x 480 03-22 06:18:24.108 19483-19553/net.level1.client D/Vitamio[4.2.1][Player]? prepared 03-22 06:18:24.108 19483-19560/net.level1.client D/Vitamio[4.2.1][Player]? THREAD ANALYTICS START 03-22 06:18:24.118 19483-19559/net.level1.client D/Vitamio[4.2.1][Player]? THREAD DEMUX START 03-22 06:18:24.118 19483-19559/net.level1.client E/Vitamio[4.2.1][Player]? -----start----======================================= 03-22 06:18:24.118 19483-19558/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DECODE START 03-22 06:18:24.118 19483-19558/net.level1.client I/Vitamio[4.2.1][Player]? CC: ARMYUV420 0 03-22 06:18:24.128 19483-19560/net.level1.client D/Vitamio[Player]? GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 03-22 06:18:24.128 19483-19561/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DISPLAY START 03-22 06:18:24.128 19483-19561/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DISPLAY START--------1---- 03-22 06:18:24.208 19483-19559/net.level1.client E/Vitamio[4.2.1][Player]? -----end----======================================= 03-22 06:18:24.208 19483-19553/net.level1.client D/Vitamio[4.2.1][Player]? New video size 640 x 480 03-22 06:18:24.278 19483-19553/net.level1.client D/Vitamio[4.2.1][Player]? New video size 640 x 480
Fatal signal 11 (SIGSEGV) at 0x00002820 (code=1)
3-22 07:24:09.578 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER RELEASE BEGIN 03-22 07:24:09.578 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? prepare pthread_cancel / pthread_kill 3 03-22 07:24:09.578 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? prepare pthread_join 0 03-22 07:24:09.578 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? demux pthread_kill 0 03-22 07:24:09.578 21618-21786/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DISPLAY END 03-22 07:24:09.588 21618-21784/net.level1.client D/Vitamio[4.2.1][Player]? THREAD DEMUX END 03-22 07:24:09.588 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? demux pthread_join 0 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FILE CLOSE BEGIN 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE STREAM AUDIO BEGIN 03-22 07:24:09.588 21618-21780/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_DECODE END 03-22 07:24:09.588 21618-21781/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_OUTPUT END 03-22 07:24:09.588 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? Audiotrack release ok 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE STREAM AUDIO END 03-22 07:24:09.588 21618-21618/net.level1.client E/Vitamio[4.2.1][Player]? CLOSE STREAM VIDEO BEGIN 03-22 07:24:09.588 21618-21783/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEODECODE END 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE STREAM VIDEO END 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE AVFORMAT BEGIN 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? CLOSE AVFORMAT END 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FREE VIDEOPIC BEGIN 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FREE VIDEOPIC 2 END 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FREE SUBPIC BEGIN 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FREE SUBPIC 1 END 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FREE AUDIOFRAME BEGIN 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FREE AUDIOFRAME 8 END 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? DELETE GLOBAL REF BEGIN 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? DELETE GLOBAL REF END 03-22 07:24:09.588 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? FILE CLOSE END 03-22 07:24:09.648 21645-21659/net.level1.client:ffmpegservice D/FFMPEG? *frame= 4260 fps= 14 q=-1.0 size= 71322kB time=00:04:59.04 bitrate=1953.8kbits/s _* 03-22 07:24:09.668 21618-21778/net.level1.client D/Vitamio[4.2.1][Player]? THREAD NOTIFY END 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER RELEASE END 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER INIT BEGIN 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 07:24:09.668 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? RENDER RGB 03-22 07:24:09.668 21618-21618/net.level1.client E/Vitamio[4.2.1][Player]? -------1------------- 03-22 07:24:09.668 21618-21618/net.level1.client E/Vitamio[4.2.1][Player]? -------2------------- 03-22 07:24:09.668 21618-21618/net.level1.client E/Vitamio[4.2.1][Player]? -------3------------- 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? VPLAYER INIT END 03-22 07:24:09.668 21618-21618/net.level1.client I/System.out? line1 03-22 07:24:09.668 21618-21618/net.level1.client I/System.out? line2 03-22 07:24:09.668 21618-21618/net.level1.client I/System.out? line4 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 07:24:09.668 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? SURFACE INIT OK 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 07:24:09.668 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? SURFACE INIT OK 03-22 07:24:09.668 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? prepareAsync 03-22 07:24:09.668 21618-21618/net.level1.client I/Vitamio[4.2.1][Player]? PREPARE SIG: 0 03-22 07:24:09.668 21618-21618/net.level1.client D/Vitamio[4.2.1][Player]? prepareAsync end 03-22 07:24:09.668 21618-21618/net.level1.client I/System.out? line5 03-22 07:24:09.668 21618-21618/net.level1.client I/System.out? line6 03-22 07:24:09.678 21618-21821/net.level1.client D/Vitamio[4.2.1][Player]? THREAD NOTIFY START 03-22 07:24:09.678 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE START 03-22 07:24:09.678 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE ATTACHED 03-22 07:24:09.678 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 07:24:09.678 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? OPEN FILE /mnt/sdcard/android/data/net.level1.client/files/Temp.flv 03-22 07:24:09.688 21618-21618/net.level1.client A/libc? Fatal signal 11 (SIGSEGV) at 0x00002820 (code=1) 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? Input #0, flv, from '/mnt/sdcard/android/data/net.level1.client/files/Temp.flv': 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? Metadata: 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? title : 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? Unnamed 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 07:24:09.868 21618:0x553e D/Vitamio[4.2.1][Player] ] comment : 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? N/A 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 07:24:09.868 21618:0x553e D/Vitamio[4.2.1][Player] ] encoder : 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? Lavf55.21.101 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 07:24:09.868 21618:0x553e D/Vitamio[4.2.1][Player] ] Duration: 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? 00:04:58.11 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? , start: 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? 0.000000 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? , bitrate: 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? 1959 kb/s 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 07:24:09.868 21618:0x553e D/Vitamio[4.2.1][Player] ] Stream #0:0 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? : Video: h264 (Baseline), yuv420p, 640x480 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? , 1k tbr 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? , 1k tbn 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? , 2k tbc 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 07:24:09.868 21618:0x553e D/Vitamio[4.2.1][Player] ] Stream #0:1 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? : Audio: aac, 8000 Hz, mono, fltp, 128 kb/s 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? [ 03-22 07:24:09.868 21618:0x553e D/Vitamio[4.2.1][Player] ] METADATA: UnnamedN/ALavf55.21.101 03-22 07:24:09.868 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? META AUDIO: 1. und, META SUBTITLE: 03-22 07:24:09.868 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? FIND CODEC_ID 86018 03-22 07:24:09.868 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? OOPS: ONLY 1 03-22 07:24:09.888 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? OPEN CODEC aac 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM AUDIO BEGIN 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? 2, 48000, 0 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM AUDIO END 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? Application package name: net.level1.client 03-22 07:24:09.888 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? SURFACE INIT OK 03-22 07:24:09.888 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? FIND CODEC_ID 28 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? OOPS: ONLY 1 03-22 07:24:09.888 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? OPEN CODEC h264 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM VIDEO BEGIN 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? OPEN STREAM VIDEO END 03-22 07:24:09.888 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? DEMUX SIG: 0 03-22 07:24:09.888 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? CLEAN START 03-22 07:24:09.888 21618-21822/net.level1.client D/Vitamio[4.2.1][Player]? CLEAN END 03-22 07:24:09.888 21618-21821/net.level1.client D/Vitamio[4.2.1][Player]? New video size 640 x 480 03-22 07:24:09.888 21618-21821/net.level1.client D/Vitamio[4.2.1][Player]? prepared 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE DETTACHED, ret = 0 03-22 07:24:09.888 21618-21822/net.level1.client I/Vitamio[4.2.1][Player]? THREAD PREPARE END 03-22 07:24:09.888 21618-21823/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_DECODE START 03-22 07:24:09.888 21618-21824/net.level1.client D/Vitamio[4.2.1][Player]? THREAD AUDIO_OUTPUT START 03-22 07:24:09.888 21618-21828/net.level1.client D/Vitamio[4.2.1][Player]? THREAD ANALYTICS START 03-22 07:24:09.898 21618-21827/net.level1.client D/Vitamio[4.2.1][Player]? THREAD DEMUX START 03-22 07:24:09.898 21618-21827/net.level1.client E/Vitamio[4.2.1][Player]? -----start----======================================= 03-22 07:24:09.898 21618-21826/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DECODE START 03-22 07:24:09.898 21618-21826/net.level1.client I/Vitamio[4.2.1][Player]? CC: ARMYUV420 0 03-22 07:24:09.898 21618-21828/net.level1.client D/Vitamio[Player]? GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 03-22 07:24:09.908 21618-21829/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DISPLAY START 03-22 07:24:09.908 21618-21829/net.level1.client D/Vitamio[4.2.1][Player]? THREAD VIDEO_DISPLAY START--------1---- 03-22 07:24:09.978 21618-21821/net.level1.client D/Vitamio[4.2.1][Player]? New video size 640 x 480 03-22 07:24:09.978 21618-21827/net.level1.client E/Vitamio[4.2.1][Player]? -----end----======================================= 03-22 07:24:10.048 21618-21821/net.level1.client D/Vitamio[4.2.1][Player]? New video size 640 x 480
Can I ask for a custom lib where public native long getDuration() always return -1? so, i'll keep open just on player?