Frame rate error on Libreelec build 7.0.2.009 from 7.0.2.009
Device details - AMLogic S905X, Mini M8S II, 2GB/8GB boot from SD Card (16GB Sandisk)
see log at Ubuntu Pastebin problem occurs at log time 12:05:07 (close to the end of the log)
Note log entries at log time 12:05:07, this is when the freeze-frame-motion commenced
From the log it appears there's an AC3 synch problem, then the video is displayed as a series of freeze frames .. aprox. 1 frame / sec
video sample cannot be posted (too large at 18GB and haven't yet worked out how to cut appropriately)
source file is Australian Hidef TV H264 1080i/50 recorded via Mythtv (separate backend on server). Recording can be played successfully by
- Kodi on Pi 2 (Libreelec)
- Kodi on Braswell Nuc (ppa install on Ubuntu 16.04)
- Mythtv on Braswell Nuc
doesn't matter whether played via pvr-mythtv ... or as video (copied to NFS share), problem is the same, video goes to intermittent frames while sound continues ok
consistent issue at 5:17:50 of video ie. something about the source.
whole screen refresh is impacted eg. menu overlay also impacted (play time "jumps"), probably no surprise
The problem is not specific to one file / show or tv station (at least 2 cause this issue, though I have only retained one example so far)
The problem has so far related to sport programs ie. fast pans, bold colours and lots of sudden sounds. Most other hidef progams are ok (except the separately noted 720p issue)
Tried (without success) -
- adjust display refresh rate on start/stop, delay 0.1 seconds, also tried change display refresh rate OFF
- "sync to display" set Off
- disable subtitles
- audio passthrough = ON and passthrough = OFF
- attempt to disable all deinterlacing with "echo 1 > /sys/module/di/parameters/bypass_all" in autostart. TV continues to report 1080P signal (??)
- buffer entries in /storage/.kodi/userdata/advancedsettings.xml eg.
<advancedsettings>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>157286400</cachemembuffersize>
<readbufferfactor>20</readbufferfactor>
</network>
<pvr>
<minvideocachelevel>20</minvideocachelevel>
<minaudiocachelevel>15</minaudiocachelevel>
</pvr>
</advancedsettings>
Display More
will often resolve itself .. temporarily
- over time, if wait long enough
- if jump back (30 secs), (obviously have to go 30 secs past problem point first)
Problem resolves, then occurs again later
No obvious CPU issues - track with top and never looked like a problem
No obvious Network issues, iftop shows about 6.5Mb/s consistently
Other notes
- MPEG2 576i plays ok if via software decode, stereo sound. Problems if hardware decoded
- MPEG2 1080i AC3 plays ok via hardware decode ie. accelerated (also AC3 sound). This applies to older recordings
Stations have subsequently moved to H264 for 1080i with AC3 which is where the problems occur.
- MPEG2 720p, stereo sound, has a different problem though similar, will post a separate bug report
- Many H264 1080i/50 AC3 programs play ok. Sports seem to be a particular problem (weird, but that's what I have at present)
Some other "problem" time points in this file (for my documentation - repeatability)
- 5:17:47
- 5:18:05
- 5:27:36
- filename 1013_20161204005500.ts (sport - car racing)
- H264 MPEG-4 AVC (part 10) (h264), 1920x1090, display 1920x1080, framerate 25hz
- A52 Audio (aka AC3) (a52) 3F2R/LFE Rate 48000 Hz Bitrate 448kb/s
- filename 1013_20161201083000.ts (wildlife documentary) ... codec details same as above
- problem point at 00:43:55