[mythtv-users] Leanfront Skipping/Buffering

glen glenb at glenb.net
Sun Dec 11 22:36:50 UTC 2022


On Sun, 2022-12-11 at 17:33 -0500, Peter Bennett wrote:
> 
> On 12/11/22 14:12, Angela wrote:
>  
> > 
> > I have a combined BE/FE directly connected to a TV and love the
> > speed of skipping.
> > I also have a Shield TV Pro 2019 connected to another TV and use
> > Kodi with the MythTV plugin and MythFrontend for Android, both work
> > very well and skipping is OK. Using WLAN.
> >  
> > I tried Leanfront, which might even be quicker with skipping, but
> > only for the next skip of 10 seconds. As it looks only some 15
> > seconds might be buffered. Skipping further than these 15 seconds
> > is in my eyes too slow. After a skip to build up buffer takes also
> > a long time, so next skips are too slow.
> >  
> > How I use skipping: 
> > - plain skipping (no commercial skipping activated) with 10 seconds
> > and 2 minutes configured
> > - need to skip 8 minutes commercials (4x 2 minutes) and correct
> > with some 1-2x 10 second skips back/ahead
> > - during replay skip back to repeat the last 10-20 seconds
> >  
> > How is the buffering for Leanfront implemented (what happens when I
> > skip), how much data/time is buffered?
> > Would it be possible to implement/configure a buffering of 30
> > seconds back and 10 minutes ahead (or at minimum of 1 minute ahead)
> > ?
> >  
> > 
> > 
> The buffering in leanfront is handled inside Exoplayer, which is a
> player code base from Google. I don't know if buffering is the real
> problem. Part of the problem is the necessity to search for the new
> place in the video. Exoplayer uses a binary search to find the place.
> This could be inefficient. MythTV uses a seek table on the database
> which gives the location and time of every keyframe in the recording.
> I already attempted to change the Exoplayer code to use the seek
> table, but there was little improvement and it caused some problems,
> so I disabled that code.
> A faster connection to your backend may help. Your router may not
> support the newest wifi standard. If you could connect using
> ethernet, that could go up to 1 Gbps and that may help. 
> Peter
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://email.mg.glenb.net/c/eJxMi81OxSAQRp8GdjYMf0MXLNz0PRhmetuEck1BE9_eaEx0-X3nHM51Lxy8lgwRDa7JAugj11R2j8GnGHYTGAnW1ZhIwRIzA-kzB0geqpBzElOCEAEwEUViJ4hcCa2rUMpSyyVNefNo0mnpMnXLx5xvyr0quym7tXPMsVyf85gfy_N-KLtd5WxX6b_w7Pvz-_wxXt6H3EPf-f9U3vz1XwEAAP__4TtDfQ
> http://email.mg.glenb.net/c/eJxEyztSxDAMANDT2B2ZyF9t4YImFZxhR7K1iQdvgEQLw-0pKOjfa6XeqMVgpUDKc76gA7BbSS36hhwiJLxRqICYKEGjGi7s2NleImCAKuy9JESICSAjc-LmJedWOTtfgWiqdJdhwrwO2XnaRe0om-qH8c_GLcYt3_2tT_cf3fRrej9W45ZX6qPv6_Wln3oV7Z8PURV7lD_19DjlOE2Y_9NvAAAA___hKj9p
> MythTV Forums: http://email.mg.glenb.net/c/eJxEyTmuwyAQANDTQPcRM-wFxW98DxjGdiQvEcaRcvsUKVI-vZZpLs1ZyRl80CFFBJBrdoglarCYMJAxbCFx8jOm0mpjJvnIDqIF4moM-xjBeYAQa_W1GQ6hUQ1oCEpRVHbehNXLxkdVBw-55XWM5yXMv8BJ4DSf_d7V_h7reKmzL7LnL_7ui_slrP7dJwAA__-QDDbB

i'm on hardwire 1gbit all around. realize this is exoplayer issue and i
believe a difference with mpeg2 vs h264 or maybe its just larger files.
but it's livable and for me not every seek just about 1 in 3 or 4 i
would say. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20221211/afc4e26a/attachment.htm>


More information about the mythtv-users mailing list