2014-12-31, 23:35
One is .2, other is .20.
(2014-12-29, 23:20)jsturgis Wrote: I am having the same issues with openelec 5.0 and OSX Yosemite with Kodi Helix installed.Having a similar error as well. I have been able to troubleshoot this one on multiple platforms as well; so I've ruled out hardware or drivers as the issue.
Issues I have seen are stuttering while playing liveTV (fixed by enabling demuxing), playback freezes after a few minutes of watching and the log says "MythTV PVR Client: (CPPMyth)Read: read position is ahead" repeatedly unless I pause for a few seconds and then play. I see these issues with both MythTV 0.27 and 0.28.
Everything was working fine on openelec 4.2.1 and liveTV works fine with mythfrontend, I checked the CPU use on the mythbackend machine and it never goes above 7%.
When the playback freezes I see this in the log:
CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
Log file
When the playback freezes in Kodi the liveTV recording continues in MythTV, it seems like the mythTV addon is reading to far ahead and then playback freezes.
Any ideas on how to fix MythTV playback on Kodi Helix?
(2015-01-01, 00:43)jsturgis Wrote: I also have a Ceton InfiniTV 4 maybe that has something to do with it?
(2015-01-01, 00:57)nickr Wrote: @felonious do you have demux on in pvr.mythtv settings?
(2015-01-01, 00:57)nickr Wrote: @felonious do you have demux on in pvr.mythtv settings?I've tried it both ways, and it makes no difference on either the AFTV or the Atom/ION. FWIW, I have tried countless combinations of settings between the video playback/acceleration and the mythtv add-on settings. When I realized the issue was present on both client machines, I figured the fix would go well beyond a Kodi configuration option.
(2015-01-01, 17:55)janbar Wrote: @all , so thanks for posted samples !
I pushed a new release 1.11.0-helix and 1.9.22-30-gotham including a patch to resolve stuttering in some cases.
- Check my cloud for new releases:
https://www.canneasucre.org/owncloud/pub...4750925043
- Or from launchpad (janbar ppa) for ubuntu users.
I removed sleeping code on read ahead. It seems to be the guilty. Please let me know about then i will push the fix to xbmc team.
Happy new year !
(2015-01-01, 18:32)MikeB2013 Wrote:(2015-01-01, 17:55)janbar Wrote: @all , so thanks for posted samples !
I pushed a new release 1.11.0-helix and 1.9.22-30-gotham including a patch to resolve stuttering in some cases.
- Check my cloud for new releases:
https://www.canneasucre.org/owncloud/pub...4750925043
- Or from launchpad (janbar ppa) for ubuntu users.
I removed sleeping code on read ahead. It seems to be the guilty. Please let me know about then i will push the fix to xbmc team.
Happy new year !
@janbar
Built from source for gotham, live tv played for a few seconds then exited to main xbmc screen
Edit: Demux not enabled
log is here http://xbmclogs.com/show.php?id=389808
Mike
16:27:28 T:140038398531328 NOTICE: AddOnLog: MythTV PVR Client: (CPPMyth)Read: read position is ahead (3021160)
16:27:28 T:140038398531328 NOTICE: CDVDPlayer::OnExit()
16:27:28 T:140038398531328 NOTICE: DVDPlayer: eof, waiting for queues to empty
if (timeout)
{
m_timeout->Init(100); // Retry after 100ms
DBG(MYTH_DBG_WARN, "%s: read position is ahead (%" PRIi64 ")\n", __FUNCTION__, fs);
}
return 0;
if (timeout)
{
m_timeout->Init(100); // Retry after 100ms
DBG(MYTH_DBG_WARN, "%s: read position is ahead (%" PRIi64 ")\n", __FUNCTION__, fs);
}
else usleep(10000);
return 0;
(2015-01-01, 19:03)janbar Wrote: @MikeB2013
You could update the source file lib/cppmyth/cppmyth/src/mythlivetvplayback.cpp at line 494:
replacing...
Code:if (timeout)
{
m_timeout->Init(100); // Retry after 100ms
DBG(MYTH_DBG_WARN, "%s: read position is ahead (%" PRIi64 ")\n", __FUNCTION__, fs);
}
return 0;
by
Code:if (timeout)
{
m_timeout->Init(100); // Retry after 100ms
DBG(MYTH_DBG_WARN, "%s: read position is ahead (%" PRIi64 ")\n", __FUNCTION__, fs);
}
else usleep(10000);
return 0;
There it will wait for 10ms