Fire TV2 – CVideoPlayerAudio::Process – stream stalled

Hi,

I’ve Kodi 17 RC2/arm8a running on Fire TV 2 with 5.2.4.0. I encountered this problem a few times while playing a movie ( BluRay 720p x264 DTS ). The video will just stop abruptly and will be back to the file explorer. Restarting will resume the play though.

In the kodi log I saw this info –

Code:
00:00:19.487 T:368312134048  NOTICE: CVideoPlayerAudio::Process - stream stalled
00:00:19.806 T:368217301248   ERROR: CDVDMediaCodecInfo::ReleaseOutputBuffer ExceptionCheck index(9), render(1)
00:00:23.244 T:368291723968   ERROR: Previous line repeats 66 times.
00:00:23.245 T:368291723968   ERROR: Read - Error( -1, 22, Invalid argument ) - Retrying
00:00:23.288 T:368217301248   ERROR: CDVDMediaCodecInfo::ReleaseOutputBuffer ExceptionCheck index(9), render(1)
00:00:33.253 T:368291723968   ERROR: Previous line repeats 191 times.
00:00:33.254 T:368291723968   ERROR: Read - Error( -1, 22, Invalid argument )
00:00:33.260 T:368291723968  NOTICE: CVideoPlayer::OnExit()
00:00:33.260 T:368291723968  NOTICE: VideoPlayer: eof, waiting for queues to empty
00:00:33.260 T:368291723968  NOTICE: Closing stream player 1
00:00:33.261 T:368291723968  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
00:00:33.261 T:368291723968  NOTICE: Waiting for audio thread to exit
00:00:33.264 T:368312134048   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true

The logcat showed this repeatedly –

Code:
W/System.err(31423): android.media.MediaCodec$CodecException: Error 0xfffffff3
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(Native Method)
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:1091)
W/System.err(31423): android.media.MediaCodec$CodecException: Error 0xfffffff3
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(Native Method)
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:1091)
W/System.err(31423): android.media.MediaCodec$CodecException: Error 0xfffffff3
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(Native Method)
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:1091)
W/System.err(31423): android.media.MediaCodec$CodecException: Error 0xfffffff3
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(Native Method)
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:1091)
W/System.err(31423): android.media.MediaCodec$CodecException: Error 0xfffffff3
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(Native Method)
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:1091)
W/System.err(31423): android.media.MediaCodec$CodecException: Error 0xfffffff3
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(Native Method)
W/System.err(31423):    at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:1091)

The mediainfo –

Code:
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 6.55 GiB
Duration                                 : 2 h 27 min
Overall bit rate                         : 6 343 kb/s
Encoded date                             : UTC 2015-01-07 04:52:34
Writing application                      : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2 h 27 min
Bit rate                                 : 4 833 kb/s
Width                                    : 1 280 pixels
Height                                   : 544 pixels
Display aspect ratio                     : 2.35:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.289
Stream size                              : 4.86 GiB (74%)
Writing library                          : x264 core 144 r2525 40bb568
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4833 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : French
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 2 h 27 min
Bit rate mode                            : Constant
Bit rate                                 : 1 509 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 spf)
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.56 GiB (24%)
Language                                 : French
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.000                             : en:00:00:00.000
00:14:43.049                             : en:00:14:43.049
00:30:01.675                             : en:00:30:01.675
00:49:42.897                             : en:00:49:42.897
01:17:58.924                             : en:01:17:58.924
01:34:45.013                             : en:01:34:45.013
01:45:22.441                             : en:01:45:22.441
02:05:20.555                             : en:02:05:20.555
02:24:48.722                             : en:02:24:48.722

Any idea what could be the problem?

Thanks