[AFTV] Video Stuttering, dropped frames
#1
I'm hoping someone can give me a hand or point me in the right direction. I have been searching for issues similar to mine but having trouble determining if identical.

My setup is an Amazon FireTV running latest rooted ROM with Helix Beta. Backend is MediaBrowser 3, however, the issue still persists with regular samba share.

My issue is that every minute or two, video seems to stutter briefly and my dropped frames count increases by 30 or so. In logcat I do see the following error that appears to be the same time as every occurrence.

V/XBMC ( 1013): Debug Print: CRenderManager::WaitForBuffer - timeout waiting for buffer

Enabling software decoding and disabling MediaCodec and libstagefright don't actually appear to do anything as it is still being hardware decoded. If I switch to SPMC, the movie is decoded in software and the issue disappears. I tried a handful of movies with same issue although I am not 100% sure on what format they were in.

Here is the details if I press 'o'.
http://imgur.com/PJRA0un

I notice by default my cache is 0 and utilization is 100%. I tried some custom settings in advancedsettings.xml such increasing buffer to 50MB, then 100MB, then 200MB and also changing readbufferfactor from 1 to 4 to 10 each time and behavior is the same. I noticed that no matter what I do though, the cache utilization is 100% even if there is 500Kb in the buffer or 100MB. Is that accurate?

I don't mind using SPMC but Helix has some features that adds to the WAF (mostly the inputting channel numbers in EPG to jump to that channel).

EDIT: I don't have a clean debug log handy but I can re-create the issue later if that's needed.

EDIT2: I have part of the log actually. http://xbmclogs.com/show.php?id=341791. It plays a couple trailers firs, then the movie. I see some other suspect lines in there as well.
Reply
#2
I have a AFTV that has been side loaded with XBMC Gotham and I have the same problem. Did you get anywhere with it?

It seems to happen playing any format video.

The same video plays fine on other devices (including ATV2) so I'll confident it's not network.
Reply
#3
Try updating to the latest nightly: http://mirrors.xbmc.org/nightlies/android/arm/

Or Helix RC-1
Forum Rules (wiki) | Banned add-ons (wiki) | Wiki (wiki) | Quick start guide (wiki)
Reply
#4
I installed the latest nightlies today.
The subtitles with more than 20 characters are displayed jerky, speaks displays disappear for 5 ms and displayed again. the image quality is worse than SPMC 13.3.2: at 480p resolution of video on 1080p TV, the picture is grainy and there are slight color distortion.

Here is the log file
Reply
#5
(2014-12-02, 12:21)Tinwarble Wrote: Try updating to the latest nightly: http://mirrors.xbmc.org/nightlies/android/arm/

Or Helix RC-1

Upgrading to the nightly worked wonderful for me. So thanks for the tip warble Big Grin

Subtitles look perfectly fine to me. Just watching a film at the moment with english subs that have twenty words on screen not just twenty characters! Covering a large amount of the screen but looks great. Crystal clear. 480p looks fine too - I certainly can't see any difference between what it looked like prior to the install and post. Slan, guess you could run XBMC and then Kodi and see the differences.

I didn't have album art on the music screen - I now have, woohoo!

Life is peachy.
Reply
#6
Saying that....it does still miss a beat every minute or so but its not as bad
Reply

Logout Mark Read Team Forum Stats Members Help
[AFTV] Video Stuttering, dropped frames0