yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

Playback of HLS stream video stutter #223

Open devnullpointer opened 9 years ago

devnullpointer commented 9 years ago

I'm getting video stutter on playback of certain HLS streams which seem to work fine on other players such as VLC and MX Player.

Below is the log cat..

11-16 14:18:02.413  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ OPEN FILE http://mail.tv4e.gr:1935/live/myStream.sdp/playlist.m3u8
11-16 14:18:06.253  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ META AUDIO: 2. und. 537458!#!3. und. 105557, META SUBTITLE:
11-16 14:18:06.253  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ WOW: BRILLIANT C COUNT 4
11-16 14:18:06.253  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ OPEN STREAM AUDIO BEGIN
11-16 14:18:06.253  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ Copyright (c) YIXIA (http://yixia.com).
    THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
11-16 14:18:06.253  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ Application package name: com.xystra
11-16 14:18:06.253  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ 2, 48000, 0
11-16 14:18:06.263  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ OPEN STREAM AUDIO END
11-16 14:18:06.263  12411-13475/com.xystra I/OMXClient﹕ Using client-side OMX mux.
11-16 14:18:06.273  12411-13475/com.xystra I/OMXCodec﹕ [OMX.Nvidia.h264.decode] video dimensions are 640 x 480
11-16 14:18:06.273  12411-13475/com.xystra I/OMXCodec﹕ [OMX.Nvidia.h264.decode] Crop rect is 640 x 480 @ (0, 0)
11-16 14:18:06.283  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ OMX CREATED OK
11-16 14:18:06.283  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ OR CREATED OK
11-16 14:18:06.283  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ OPEN STREAM VIDEO BEGIN
11-16 14:18:06.283  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ OPEN STREAM VIDEO END
11-16 14:18:06.283  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ DEMUX SIG: 0
11-16 14:18:06.293  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ THREAD PREPARE DETTACHED, ret = 0
11-16 14:18:06.293  12411-13475/com.xystra I/Vitamio[4.2.6][Player]﹕ THREAD PREPARE END
11-16 14:18:06.293  12411-13502/com.xystra I/Vitamio[4.2.6][Player]﹕ CC: ARMYUV420 0
11-16 14:18:06.293  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.293  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.293  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.303  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.303  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.303  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.303  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.303  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.303  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.303  12411-13502/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.313  12411-12495/com.xystra I/OMXCodec﹕ [OMX.Nvidia.h264.decode] video dimensions are 640 x 480
11-16 14:18:06.313  12411-12495/com.xystra I/OMXCodec﹕ [OMX.Nvidia.h264.decode] Crop rect is 640 x 480 @ (0, 0)
11-16 14:18:06.343  12411-12495/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.343  12411-12495/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.343  12411-12495/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.343  12411-12422/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.353  12411-12423/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.353  12411-12495/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.353  12411-12422/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.353  12411-12423/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:06.363  12411-12422/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:08.943  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ start
11-16 14:18:08.973  12411-13497/com.xystra W/AudioTrack﹕ releaseBuffer() track 0x68481828 name=s:125;n:2;f:-1 disabled due to previous underrun, restarting
11-16 14:18:09.023  12411-12494/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:09.583  12411-12422/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:10.133  12411-12423/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:44.703  12411-12423/com.xystra E/Vitamio[4.2.6][Player]﹕ [NULL @ 0x6c213660] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
11-16 14:18:44.733  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ prepare pthread_cancel / pthread_kill 3
11-16 14:18:44.733  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ prepare pthread_join 0
11-16 14:18:44.733  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ demux pthread_kill 0
11-16 14:18:44.823  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ demux pthread_join 0
11-16 14:18:44.823  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FILE CLOSE BEGIN
11-16 14:18:44.823  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ CLOSE STREAM AUDIO BEGIN
11-16 14:18:44.833  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ CLOSE STREAM AUDIO END
11-16 14:18:44.833  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ CLOSE STREAM VIDEO BEGIN
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ CLOSE STREAM VIDEO END
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ CLOSE AVFORMAT BEGIN
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ CLOSE AVFORMAT END
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FREE VIDEOPIC BEGIN
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FREE VIDEOPIC 2 END
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FREE SUBPIC BEGIN
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FREE SUBPIC 1 END
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FREE AUDIOFRAME BEGIN
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FREE AUDIOFRAME 8 END
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ DELETE GLOBAL REF BEGIN
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ DELETE GLOBAL REF END
11-16 14:18:44.883  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ FILE CLOSE END
11-16 14:18:44.963  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ VPLAYER RELEASE BEGIN
11-16 14:18:44.973  12411-12411/com.xystra I/Vitamio[4.2.6][Player]﹕ VPLAYER RELEASE END
devnullpointer commented 9 years ago

Tested a little more.. seems to only happen when hardware decoder is set to true.