weixin_39644713
weixin_39644713
2021-01-12 15:57

"libc: Fatal signal 11 " on mpegts with h264

I am using the demo application without any modification except changing path variable in MediaPlayerDemo_Video.java:playVideo() to my stream location.

When I try to access MedyaPlayer -> Play Streaming Video sometimes it works proper and sometimes it crashing with "Fatal signal 11" on the same exact stream.

Most probable reason is the fact that Vitamio fail to find the access unit in the probe size. The proper action in this case will be to return an error not crash.

Unfortunately I can not provide a link to the stream because is internal but here is the output of ffprobe on this stream


c:\ffmpeg>ffprobe  http://192.168.1.1/?stream=1
.... [ removed a lot of messages]
[h264 @ 00484540] non-existing PPS referenced
[h264 @ 00484540] non-existing PPS 0 referenced
[h264 @ 00484540] decode_slice_header error
[h264 @ 00484540] no frame!
Input #0, mpegts, from 'http://192.168.1.1/?stream=1':
  Duration: N/A, start: 8724.011100, bitrate: 128 kb/s
  Program 1 
    Stream #0:0[0x49]: Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s16p, 128 kb/s
    Stream #0:1[0x4a]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25.08 tbr, 90k tbn, 50 tbc

Sometimes ffprobe fail on the stream because of probe size, so I guess there is the exact same problem that cause the Vitamio to crash.


[mpegts @ 01d847c0] decoding for stream 1 failed
[mpegts @ 01d847c0] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options

Here is the logcat , i have removed some of the buffering message to in order to fit in the post ==== logcat log ===


01-23 08:19:20.708: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:21.956: I/Vitamio[Player](1463): isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2
01-23 08:19:21.968: D/dalvikvm(1463): GC_FOR_ALLOC freed 67K, 5% free 3039K/3168K, paused 3ms, total 3ms
01-23 08:19:22.012: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:22.020: D/MediaPlayerDemo(1463): surfaceCreated called
01-23 08:19:22.020: I/Vitamio[Player](1463): LIB ROOT: /data/data/io.vov.vitamio.demo/libs/
01-23 08:19:22.020: D/dalvikvm(1463): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0xa4e41908
01-23 08:19:22.020: D/dalvikvm(1463): Added shared lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0xa4e41908
01-23 08:19:22.020: D/dalvikvm(1463): No JNI_OnLoad found in /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0xa4e41908, skipping init
01-23 08:19:22.020: D/dalvikvm(1463): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0xa4e41908
01-23 08:19:22.020: D/dalvikvm(1463): Added shared lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0xa4e41908
01-23 08:19:22.020: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:22.020: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:22.024: I/Vitamio[Player](1463): LOAD FFMPEG START: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so
01-23 08:19:22.024: I/Vitamio[Player](1463): LOAD FFMPEG END: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so
01-23 08:19:22.024: I/Vitamio[Player](1463): LOAD VVO START: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so
01-23 08:19:22.024: E/Vitamio[Player](1463): FIND_NAME_SYM vvo, render_yuv
01-23 08:19:22.024: I/Vitamio[Player](1463): LOAD VVO END: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so
01-23 08:19:22.024: I/Vitamio[Player](1463): LOAD VAO START: /data/data/io.vov.vitamio.demo/libs/libvao.0.so
01-23 08:19:22.024: I/Vitamio[Player](1463): LOAD VAO END: /data/data/io.vov.vitamio.demo/libs/libvao.0.so
01-23 08:19:22.024: I/Vitamio[Player](1463): VPLAYER INIT BEGIN
01-23 08:19:22.028: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:22.032: I/Vitamio[Player](1463): VPLAYER INIT END
01-23 08:19:22.032: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:22.032: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:22.032: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:22.032: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:22.032: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:22.032: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:22.032: I/Vitamio[Player](1463): PREPARE SIG: 0
01-23 08:19:22.032: I/Vitamio[Player](1463): THREAD PREPARE START
01-23 08:19:22.032: I/Vitamio[Player](1463): THREAD PREPARE ATTACHED
01-23 08:19:22.032: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:22.032: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:22.032: I/Vitamio[Player](1463): OPEN FILE http://s01.prizmatv.net:10505/?sesam=inchide
01-23 08:19:22.752: I/Vitamio[Player](1463): META AUDIO: 0. und, META SUBTITLE: 
01-23 08:19:22.752: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:22.752: I/Vitamio[Player](1463): OPEN STREAM AUDIO BEGIN
01-23 08:19:22.752: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:22.752: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:22.752: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:22.752: I/Vitamio[Player](1463): 2, 44100, 0
01-23 08:19:22.760: I/Vitamio[Player](1463): OPEN STREAM AUDIO END
01-23 08:19:22.760: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:22.760: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:22.760: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:22.760: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:22.760: I/Vitamio[Player](1463): OPEN STREAM VIDEO BEGIN
01-23 08:19:22.760: I/Vitamio[Player](1463): OPEN STREAM VIDEO END
01-23 08:19:22.760: I/Vitamio[Player](1463): THREAD PREPARE DETTACHED, ret = 1
01-23 08:19:22.760: I/Vitamio[Player](1463): THREAD PREPARE END
01-23 08:19:22.764: I/Vitamio[Metadata](1463): title:       null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): comment:     null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): copyright:       null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): album:       null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): artist:      null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): composer:        null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): genre:       null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): date:        null
01-23 08:19:22.764: I/Vitamio[Metadata](1463): duration:        -1
01-23 08:19:22.764: I/Vitamio[Metadata](1463): length:      -1
01-23 08:19:22.764: I/Vitamio[Metadata](1463): bit_rate:        128000
01-23 08:19:22.764: I/Vitamio[Metadata](1463): audio_bit_rate:  128000
01-23 08:19:22.764: I/Vitamio[Metadata](1463): video_bit_rate:  0
01-23 08:19:22.764: I/Vitamio[Metadata](1463): audio_sample_rate:   44100
01-23 08:19:22.764: I/Vitamio[Metadata](1463): video_frame_rate:    25.0
01-23 08:19:22.764: I/Vitamio[Metadata](1463): format:      mpegts
01-23 08:19:22.764: I/Vitamio[Metadata](1463): audio_codec: mp2
01-23 08:19:22.764: I/Vitamio[Metadata](1463): video_codec: h264
01-23 08:19:22.764: I/Vitamio[Metadata](1463): video_height:    720
01-23 08:19:22.764: I/Vitamio[Metadata](1463): video_width: 1280
01-23 08:19:22.764: I/Vitamio[Metadata](1463): num_tracks:      2
01-23 08:19:22.764: I/Vitamio[Metadata](1463): cap_pause:       false
01-23 08:19:22.764: I/Vitamio[Metadata](1463): cap_seek:        false
01-23 08:19:22.764: D/MediaPlayerDemo(1463): surfaceChanged called
01-23 08:19:22.764: I/Vitamio[Player](1463): THREAD ANALYTICS START
01-23 08:19:22.780: I/Vitamio[Player](1463): CC: SwsScale 0
01-23 08:19:22.788: I/Choreographer(1463): Skipped 47 frames!  The application may be doing too much work on its main thread.
01-23 08:19:22.876: D/Vitamio[Player](1463): GET CPU FATURE: V5TE X86 
01-23 08:19:22.876: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:22.876: D/MediaPlayerDemo(1463): onPrepared called
01-23 08:19:22.876: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:22.876: I/Vitamio[Player](1463): Info (701, 0)
01-23 08:19:22.876: D/MediaPlayerDemo(1463): onBufferingUpdate percent:0
.... repeated messages removed ....
01-23 08:19:22.984: D/MediaPlayerDemo(1463): onBufferingUpdate percent:86
01-23 08:19:23.080: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:23.080: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:23.084: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:23.084: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:23.128: D/(1463): HostConnection::get() New Host Connection established 0xb92507a8, tid 1545
01-23 08:19:23.276: D/MediaPlayerDemo(1463): onBufferingUpdate percent:69
.... repeated messages removed ....
01-23 08:19:24.468: D/MediaPlayerDemo(1463): onBufferingUpdate percent:93
01-23 08:19:25.212: I/Vitamio[Player](1463): VPLAYER RELEASE BEGIN
01-23 08:19:25.268: I/Vitamio[Player](1463): FILE CLOSE BEGIN
01-23 08:19:25.268: I/Vitamio[Player](1463): CLOSE STREAM AUDIO BEGIN
01-23 08:19:25.296: I/Vitamio[Player](1463): CLOSE STREAM AUDIO END
01-23 08:19:25.296: I/Vitamio[Player](1463): CLOSE STREAM VIDEO BEGIN
01-23 08:19:25.380: I/Vitamio[Player](1463): CLOSE STREAM VIDEO END
01-23 08:19:25.384: I/Vitamio[Player](1463): CLOSE AVFORMAT BEGIN
01-23 08:19:25.384: I/Vitamio[Player](1463): CLOSE AVFORMAT END
01-23 08:19:25.384: I/Vitamio[Player](1463): FREE VIDEOPIC BEGIN
01-23 08:19:25.384: I/Vitamio[Player](1463): FREE VIDEOPIC 2 END
01-23 08:19:25.388: I/Vitamio[Player](1463): FREE SUBPIC BEGIN
01-23 08:19:25.388: I/Vitamio[Player](1463): FREE SUBPIC 1 END
01-23 08:19:25.388: I/Vitamio[Player](1463): FREE AUDIOFRAME BEGIN
01-23 08:19:25.388: I/Vitamio[Player](1463): FREE AUDIOFRAME 8 END
01-23 08:19:25.388: I/Vitamio[Player](1463): DELETE GLOBAL REF BEGIN
01-23 08:19:25.388: I/Vitamio[Player](1463): DELETE GLOBAL REF END
01-23 08:19:25.388: I/Vitamio[Player](1463): FILE CLOSE END
01-23 08:19:25.468: I/Vitamio[Player](1463): VPLAYER RELEASE END
01-23 08:19:25.472: I/Vitamio[Player](1463): Info (901, 497)
01-23 08:19:25.500: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:25.580: D/MediaPlayerDemo(1463): surfaceDestroyed called
01-23 08:19:26.984: I/Vitamio[Player](1463): THREAD ANALYTICS END
01-23 08:19:27.388: I/Vitamio[Player](1463): isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2
01-23 08:19:27.448: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:27.464: D/MediaPlayerDemo(1463): surfaceCreated called
01-23 08:19:27.464: I/Vitamio[Player](1463): VPLAYER INIT BEGIN
01-23 08:19:27.464: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:27.464: I/Vitamio[Player](1463): VPLAYER INIT END
01-23 08:19:27.464: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:27.464: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:27.464: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:27.468: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:27.468: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:27.468: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:27.468: I/Vitamio[Player](1463): PREPARE SIG: 0
01-23 08:19:27.468: I/Vitamio[Player](1463): THREAD PREPARE START
01-23 08:19:27.468: I/Vitamio[Player](1463): THREAD PREPARE ATTACHED
01-23 08:19:27.468: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:27.468: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:27.468: I/Vitamio[Player](1463): OPEN FILE http://192.168.1.1/?stream=1
01-23 08:19:28.108: I/Vitamio[Player](1463): META AUDIO: 0. und, META SUBTITLE: 
01-23 08:19:28.108: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:28.108: I/Vitamio[Player](1463): OPEN STREAM AUDIO BEGIN
01-23 08:19:28.108: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:28.108: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:28.108: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:28.108: I/Vitamio[Player](1463): 2, 44100, 0
01-23 08:19:28.112: I/Vitamio[Player](1463): OPEN STREAM AUDIO END
01-23 08:19:28.112: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:28.112: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:28.112: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:28.112: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:28.112: I/Vitamio[Player](1463): OPEN STREAM VIDEO BEGIN
01-23 08:19:28.112: I/Vitamio[Player](1463): OPEN STREAM VIDEO END
01-23 08:19:28.112: I/Vitamio[Player](1463): THREAD PREPARE DETTACHED, ret = 1
01-23 08:19:28.112: I/Vitamio[Player](1463): THREAD PREPARE END
01-23 08:19:28.112: I/Vitamio[Player](1463): THREAD ANALYTICS START
01-23 08:19:28.112: I/Vitamio[Metadata](1463): title:       null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): comment:     null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): copyright:       null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): album:       null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): artist:      null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): composer:        null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): genre:       null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): date:        null
01-23 08:19:28.112: I/Vitamio[Metadata](1463): duration:        -1
01-23 08:19:28.112: I/Vitamio[Metadata](1463): length:      -1
01-23 08:19:28.112: I/Vitamio[Metadata](1463): bit_rate:        128000
01-23 08:19:28.112: I/Vitamio[Metadata](1463): audio_bit_rate:  128000
01-23 08:19:28.112: I/Vitamio[Metadata](1463): video_bit_rate:  0
01-23 08:19:28.112: I/Vitamio[Metadata](1463): audio_sample_rate:   44100
01-23 08:19:28.112: I/Vitamio[Metadata](1463): video_frame_rate:    25.0
01-23 08:19:28.112: I/Vitamio[Metadata](1463): format:      mpegts
01-23 08:19:28.112: I/Vitamio[Metadata](1463): audio_codec: mp2
01-23 08:19:28.112: I/Vitamio[Metadata](1463): video_codec: h264
01-23 08:19:28.112: I/Vitamio[Metadata](1463): video_height:    720
01-23 08:19:28.112: I/Vitamio[Metadata](1463): video_width: 1280
01-23 08:19:28.112: I/Vitamio[Metadata](1463): num_tracks:      2
01-23 08:19:28.112: I/Vitamio[Metadata](1463): cap_pause:       false
01-23 08:19:28.112: I/Vitamio[Metadata](1463): cap_seek:        false
01-23 08:19:28.112: D/MediaPlayerDemo(1463): surfaceChanged called
01-23 08:19:28.116: D/Vitamio[Player](1463): GET CPU FATURE: V5TE X86 
01-23 08:19:28.124: I/Choreographer(1463): Skipped 41 frames!  The application may be doing too much work on its main thread.
01-23 08:19:28.136: D/dalvikvm(1463): GC_FOR_ALLOC freed 343K, 12% free 3209K/3612K, paused 6ms, total 7ms
01-23 08:19:28.136: I/Vitamio[Player](1463): CC: SwsScale 0
01-23 08:19:28.136: I/Vitamio[Player](1463): NATIVE FINALIZE VPLAYER
01-23 08:19:28.136: I/Vitamio[Player](1463): NATIVE FINALIZE VPLAYER END
01-23 08:19:28.180: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:28.180: D/MediaPlayerDemo(1463): onPrepared called
01-23 08:19:28.180: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:28.180: I/Vitamio[Player](1463): Info (701, 0)
01-23 08:19:28.180: D/MediaPlayerDemo(1463): onBufferingUpdate percent:0
.... repeated messages removed ....
01-23 08:19:28.360: D/MediaPlayerDemo(1463): surfaceChanged called
.... repeated messages removed ....
01-23 08:19:28.736: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:28.736: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:28.736: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:28.736: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:28.784: D/(1463): HostConnection::get() New Host Connection established 0xb9a4a408, tid 1564
01-23 08:19:29.608: D/MediaPlayerDemo(1463): onBufferingUpdate percent:37
.... repeated messages removed ....
01-23 08:19:29.680: D/MediaPlayerDemo(1463): onBufferingUpdate percent:41
01-23 08:19:29.912: I/Vitamio[Player](1463): VPLAYER RELEASE BEGIN
01-23 08:19:29.980: I/Vitamio[Player](1463): FILE CLOSE BEGIN
01-23 08:19:29.980: I/Vitamio[Player](1463): CLOSE STREAM AUDIO BEGIN
01-23 08:19:30.028: I/Vitamio[Player](1463): CLOSE STREAM AUDIO END
01-23 08:19:30.028: I/Vitamio[Player](1463): CLOSE STREAM VIDEO BEGIN
01-23 08:19:30.028: I/Vitamio[Player](1463): CLOSE STREAM VIDEO END
01-23 08:19:30.028: I/Vitamio[Player](1463): CLOSE AVFORMAT BEGIN
01-23 08:19:30.028: I/Vitamio[Player](1463): CLOSE AVFORMAT END
01-23 08:19:30.028: I/Vitamio[Player](1463): FREE VIDEOPIC BEGIN
01-23 08:19:30.032: I/Vitamio[Player](1463): FREE VIDEOPIC 2 END
01-23 08:19:30.032: I/Vitamio[Player](1463): FREE SUBPIC BEGIN
01-23 08:19:30.032: I/Vitamio[Player](1463): FREE SUBPIC 1 END
01-23 08:19:30.032: I/Vitamio[Player](1463): FREE AUDIOFRAME BEGIN
01-23 08:19:30.032: I/Vitamio[Player](1463): FREE AUDIOFRAME 8 END
01-23 08:19:30.032: I/Vitamio[Player](1463): DELETE GLOBAL REF BEGIN
01-23 08:19:30.032: I/Vitamio[Player](1463): DELETE GLOBAL REF END
01-23 08:19:30.032: I/Vitamio[Player](1463): FILE CLOSE END
01-23 08:19:30.112: I/Vitamio[Player](1463): VPLAYER RELEASE END
01-23 08:19:30.164: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:30.232: D/MediaPlayerDemo(1463): surfaceDestroyed called
01-23 08:19:31.096: I/Vitamio[Player](1463): isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2
01-23 08:19:31.148: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:31.176: D/MediaPlayerDemo(1463): surfaceCreated called
01-23 08:19:31.176: I/Vitamio[Player](1463): VPLAYER INIT BEGIN
01-23 08:19:31.176: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:31.176: I/Vitamio[Player](1463): VPLAYER INIT END
01-23 08:19:31.176: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:31.176: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:31.176: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:31.180: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:31.180: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:31.180: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:31.180: I/Vitamio[Player](1463): PREPARE SIG: 0
01-23 08:19:31.180: I/Vitamio[Player](1463): THREAD PREPARE START
01-23 08:19:31.180: I/Vitamio[Player](1463): THREAD PREPARE ATTACHED
01-23 08:19:31.180: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:31.180: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:31.180: I/Vitamio[Player](1463): OPEN FILE http://192.168.1.1/?stream=1
01-23 08:19:31.752: I/Vitamio[Player](1463): META AUDIO: 0. und, META SUBTITLE: 
01-23 08:19:31.752: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:31.752: I/Vitamio[Player](1463): OPEN STREAM AUDIO BEGIN
01-23 08:19:31.752: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:31.752: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:31.752: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:31.752: I/Vitamio[Player](1463): 2, 44100, 0
01-23 08:19:31.756: I/Vitamio[Player](1463): OPEN STREAM AUDIO END
01-23 08:19:31.756: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:31.756: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:31.756: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:31.756: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:31.756: I/Vitamio[Player](1463): OPEN STREAM VIDEO BEGIN
01-23 08:19:31.760: I/Vitamio[Player](1463): OPEN STREAM VIDEO END
01-23 08:19:31.760: I/Vitamio[Player](1463): THREAD PREPARE DETTACHED, ret = 1
01-23 08:19:31.760: I/Vitamio[Player](1463): THREAD PREPARE END
01-23 08:19:31.760: I/Vitamio[Metadata](1463): title:       null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): comment:     null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): copyright:       null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): album:       null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): artist:      null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): composer:        null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): genre:       null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): date:        null
01-23 08:19:31.760: I/Vitamio[Metadata](1463): duration:        -1
01-23 08:19:31.760: I/Vitamio[Metadata](1463): length:      -1
01-23 08:19:31.760: I/Vitamio[Metadata](1463): bit_rate:        128000
01-23 08:19:31.760: I/Vitamio[Metadata](1463): audio_bit_rate:  128000
01-23 08:19:31.760: I/Vitamio[Metadata](1463): video_bit_rate:  0
01-23 08:19:31.760: I/Vitamio[Metadata](1463): audio_sample_rate:   44100
01-23 08:19:31.760: I/Vitamio[Metadata](1463): video_frame_rate:    25.0
01-23 08:19:31.760: I/Vitamio[Metadata](1463): format:      mpegts
01-23 08:19:31.760: I/Vitamio[Metadata](1463): audio_codec: mp2
01-23 08:19:31.760: I/Vitamio[Metadata](1463): video_codec: h264
01-23 08:19:31.760: I/Vitamio[Metadata](1463): video_height:    720
01-23 08:19:31.760: I/Vitamio[Metadata](1463): video_width: 1280
01-23 08:19:31.760: I/Vitamio[Metadata](1463): num_tracks:      2
01-23 08:19:31.760: I/Vitamio[Metadata](1463): cap_pause:       false
01-23 08:19:31.760: I/Vitamio[Metadata](1463): cap_seek:        false
01-23 08:19:31.760: D/MediaPlayerDemo(1463): surfaceChanged called
01-23 08:19:31.764: I/Vitamio[Player](1463): CC: SwsScale 0
01-23 08:19:31.764: I/Vitamio[Player](1463): THREAD ANALYTICS START
01-23 08:19:31.764: D/Vitamio[Player](1463): GET CPU FATURE: V5TE X86 
01-23 08:19:31.772: I/Choreographer(1463): Skipped 38 frames!  The application may be doing too much work on its main thread.
01-23 08:19:31.812: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:31.812: D/MediaPlayerDemo(1463): onPrepared called
01-23 08:19:31.812: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:31.812: I/Vitamio[Player](1463): Info (701, 0)
01-23 08:19:31.812: D/MediaPlayerDemo(1463): onBufferingUpdate percent:0
.... repeated messages removed ....
01-23 08:19:31.884: D/MediaPlayerDemo(1463): onBufferingUpdate percent:77
01-23 08:19:31.928: D/MediaPlayerDemo(1463): surfaceChanged called
01-23 08:19:31.992: D/MediaPlayerDemo(1463): onBufferingUpdate percent:76
.... repeated messages removed ....
01-23 08:19:32.004: D/MediaPlayerDemo(1463): onBufferingUpdate percent:88
01-23 08:19:32.092: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:32.092: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:32.096: V/MediaPlayerDemo(1463): onVideoSizeChanged called
01-23 08:19:32.096: V/MediaPlayerDemo(1463): startVideoPlayback
01-23 08:19:32.144: D/(1463): HostConnection::get() New Host Connection established 0xb97a1388, tid 1583
01-23 08:19:32.272: D/MediaPlayerDemo(1463): onBufferingUpdate percent:61
.... repeated messages removed ....
01-23 08:19:32.332: D/MediaPlayerDemo(1463): onBufferingUpdate percent:76
01-23 08:19:33.144: I/Vitamio[Player](1463): VPLAYER RELEASE BEGIN
01-23 08:19:33.236: I/Vitamio[Player](1463): FILE CLOSE BEGIN
01-23 08:19:33.236: I/Vitamio[Player](1463): CLOSE STREAM AUDIO BEGIN
01-23 08:19:33.264: I/Vitamio[Player](1463): CLOSE STREAM AUDIO END
01-23 08:19:33.264: I/Vitamio[Player](1463): CLOSE STREAM VIDEO BEGIN
01-23 08:19:33.264: I/Vitamio[Player](1463): CLOSE STREAM VIDEO END
01-23 08:19:33.268: I/Vitamio[Player](1463): CLOSE AVFORMAT BEGIN
01-23 08:19:33.268: I/Vitamio[Player](1463): CLOSE AVFORMAT END
01-23 08:19:33.268: I/Vitamio[Player](1463): FREE VIDEOPIC BEGIN
01-23 08:19:33.268: I/Vitamio[Player](1463): FREE VIDEOPIC 2 END
01-23 08:19:33.268: I/Vitamio[Player](1463): FREE SUBPIC BEGIN
01-23 08:19:33.268: I/Vitamio[Player](1463): FREE SUBPIC 1 END
01-23 08:19:33.268: I/Vitamio[Player](1463): FREE AUDIOFRAME BEGIN
01-23 08:19:33.268: I/Vitamio[Player](1463): FREE AUDIOFRAME 8 END
01-23 08:19:33.268: I/Vitamio[Player](1463): DELETE GLOBAL REF BEGIN
01-23 08:19:33.268: I/Vitamio[Player](1463): DELETE GLOBAL REF END
01-23 08:19:33.272: I/Vitamio[Player](1463): FILE CLOSE END
01-23 08:19:33.356: I/Vitamio[Player](1463): VPLAYER RELEASE END
01-23 08:19:33.388: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:33.436: D/MediaPlayerDemo(1463): surfaceDestroyed called
01-23 08:19:34.220: I/Vitamio[Player](1463): isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2
01-23 08:19:34.280: W/EGL_genymotion(1463): eglSurfaceAttrib not implemented
01-23 08:19:34.300: D/MediaPlayerDemo(1463): surfaceCreated called
01-23 08:19:34.300: I/Vitamio[Player](1463): VPLAYER INIT BEGIN
01-23 08:19:34.300: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:34.300: I/Vitamio[Player](1463): VPLAYER INIT END
01-23 08:19:34.300: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:34.300: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:34.300: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:34.304: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:34.304: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:34.304: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:34.304: I/Vitamio[Player](1463): PREPARE SIG: 0
01-23 08:19:34.304: I/Vitamio[Player](1463): THREAD PREPARE START
01-23 08:19:34.304: I/Vitamio[Player](1463): THREAD PREPARE ATTACHED
01-23 08:19:34.304: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:34.304: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:34.304: I/Vitamio[Player](1463): OPEN FILE http://192.168.1.1/?stream=1
01-23 08:19:34.812: I/Vitamio[Player](1463): META AUDIO: 0. und, META SUBTITLE: 
01-23 08:19:34.812: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:34.812: I/Vitamio[Player](1463): OPEN STREAM AUDIO BEGIN
01-23 08:19:34.812: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:34.812: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:34.812: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:34.812: I/Vitamio[Player](1463): 2, 44100, 0
01-23 08:19:34.816: I/Vitamio[Player](1463): OPEN STREAM AUDIO END
01-23 08:19:34.816: I/Vitamio[Player](1463): Copyright (c) YIXIA (http://yixia.com).
01-23 08:19:34.816: I/Vitamio[Player](1463): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
01-23 08:19:34.816: I/Vitamio[Player](1463): Application package name: io.vov.vitamio.demo
01-23 08:19:34.816: I/Vitamio[Player](1463): WOW: BRILLIANT C COUNT 2
01-23 08:19:34.820: I/Vitamio[Player](1463): OPEN STREAM VIDEO BEGIN
01-23 08:19:34.820: I/Vitamio[Player](1463): OPEN STREAM VIDEO END
01-23 08:19:34.820: I/Vitamio[Player](1463): THREAD PREPARE DETTACHED, ret = 1
01-23 08:19:34.820: I/Vitamio[Player](1463): THREAD PREPARE END
01-23 08:19:34.820: A/libc(1463): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1463 (ov.vitamio.demo)
01-23 08:19:34.820: A/libc(1463): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1600 (ov.vitamio.demo)
01-23 08:19:34.824: I/Vitamio[Player](1463): THREAD ANALYTICS START
01-23 08:19:34.828: D/dalvikvm(1463): GC_FOR_ALLOC freed 452K, 14% free 3271K/3784K, paused 4ms, total 4ms
01-23 08:19:34.828: I/Vitamio[Player](1463): NATIVE FINALIZE VPLAYER
01-23 08:19:34.828: I/Vitamio[Player](1463): NATIVE FINALIZE VPLAYER END
01-23 08:19:34.832: D/Vitamio[Player](1463): GET CPU FATURE: V5TE X86 
01-23 08:19:34.832: I/Vitamio[Player](1463): NATIVE FINALIZE VPLAYER
01-23 08:19:34.832: I/Vitamio[Player](1463): NATIVE FINALIZE VPLAYER END

该提问来源于开源项目:yixia/VitamioBundle

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

9条回答

  • weixin_39757739 weixin_39757739 4月前

    You can download your mpegts video, and send to me .

    点赞 评论 复制链接分享
  • weixin_39644713 weixin_39644713 4月前

    Here is a sample http://dl.dropboxusercontent.com/u/1637771/sample.ts

    To replicate the problem you only have to modify the MediaPlayerDemo_Video.java as fallows and try to play the stream

    
    private void playVideo(Integer Media) {
    ... 
            case STREAM_VIDEO:
                    path = "http://dl.dropboxusercontent.com/u/1637771/sample.ts";
                    if (path == "") {
    
    
    点赞 评论 复制链接分享
  • weixin_39757739 weixin_39757739 4月前

    You video have many error.

    点赞 评论 复制链接分享
  • weixin_39644713 weixin_39644713 4月前

    Yes, but still it should not crash the application. It would not be a problem if it will return error and stop playing, the problem is that the application crash. Can you please make it not crash.

    点赞 评论 复制链接分享
  • weixin_39644713 weixin_39644713 4月前

    Any status on this issue ?

    点赞 评论 复制链接分享
  • weixin_39644713 weixin_39644713 4月前

    Any news ?

    点赞 评论 复制链接分享
  • weixin_39757739 weixin_39757739 4月前

    The low layer error, it's not simple.

    点赞 评论 复制链接分享
  • weixin_39634579 weixin_39634579 4月前

    i want asked what time fix that BUG,

    ------------------ 原始邮件 ------------------ 发件人: "Crossle Song";notifications.com; 发送时间: 2014年3月4日(星期二) 晚上7:34 收件人: "yixia/VitamioBundle"VitamioBundle.github.com;

    主题: Re: [VitamioBundle] "libc: Fatal signal 11 " on mpegts with h264(#100)

    The low layer error, it's not simple.

    — Reply to this email directly or view it on GitHub.

    点赞 评论 复制链接分享
  • weixin_39791225 weixin_39791225 4月前

    I meet the same error ; anyone solve it ????????

    点赞 评论 复制链接分享

相关推荐