NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 178 179 180 181 182 … 433 Next »
Live TV stutters every 6 minutes

Live TV stutters every 6 minutes
peterbonge
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Jul 2015
#11
2015-07-24, 08:22 PM
christheman Wrote:If you still have the NPVR cache settings set to 6 min, and it is doing this once every 6 min?? The file opening/file closing may require more power to the HDD. If you have a powered USB hub sitting around, go ahead and give it a try using it as a power injector. If you don't then you will never know. No changes need to be made to the system. Just plug it in and try it.

The problem starts after 12 minutes and then occurs every 6 minutes. So after the first file the problem doesn't occur. Surely because the first file gets written continuously.

So far I didn't found an USB hub here, but I doubt that it will help. USB 2.0 can't offer the speed to write the files fast enough. If writing the file and switching to the next one takes up to 4 seconds it is just too much for a smoothly playback.

I've just tried to reduce that cache file (SlipSeconds). The cache files were really small and the playback worked without any problems, but pausing and then resuming didn't work good anymore. I got breaks, stutters and sometimes there was no audio.

Tomorrow I will search again for an USB hub and test it.
anothernewbie
Offline

Junior Member

Posts: 28
Threads: 1
Joined: Nov 2011
#12
2015-07-24, 09:55 PM
I don't know what the channel bandwidth is for you but in USA, OTA is MPEG2 and 2.35 MBytes/s max and usually < 2.0. You're probably getting H.264 and if your bandwidth is that high, I'm jealous.

The point is that USB 2.0 is usually good for 25 MBytes/s and you probably need 5 MBytes/s max to write and read the data for live TV on a single channel. That said, I wouldn't want to use a 2.5" USB drive because of reliability concerns in DVR use.

How full is the drive? I'd suggest checking to see how fragmented it is. File Explorer, Right click on drive, select Properties, Select Tools, select optimize/defragment, select analyze.

Sounds like the glitches happen when Windows has to open a new file on the drive and if the drive is highly fragmented and/or space is limited, that may be causing a delay.

I suspect if you increase the SlipSeconds to a large value (1 hour or more) as suggested, you'll probably at least largely mask the issue.
peterbonge
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Jul 2015
#13
2015-07-24, 10:50 PM
anothernewbie Wrote:... you probably need 5 MBytes/s max to write and read the data for live TV on a single channel.

The files have a size of about 180 MB. The first files gets written with about 0.5 MB/s and all other files are written with about 0.03 MB/s at the beginning. Now guess what speed is needed at the end of the file.


Quote:How full is the drive? I'd suggest checking to see how fragmented it is. File Explorer, Right click on drive, select Properties, Select Tools, select optimize/defragment, select analyze.

The last drive I've tested was an USB memory drive. 30 GB and nearly empty. So no defragging necessary.


Quote:I suspect if you increase the SlipSeconds to a large value (1 hour or more) as suggested, you'll probably at least largely mask the issue.

And I suspect that the stuttering will occur less often, but much heavier. I will test this tomorrow.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#14
2015-07-25, 12:05 AM
peterbonge Wrote:The files have a size of about 180 MB. The first files gets written with about 0.5 MB/s and all other files are written with about 0.03 MB/s at the beginning. Now guess what speed is needed at the end of the file.

Other than it not affecting the first file written, this behavior (the "delayed writing") sounds very similar to one we were seeing with recordings via the HDHR Primes. See:
sub Wrote:Yeah, it must be something Windows is doing. As far as NextPVR can tell, it's writing to disk regularly.

Can you see if this patch makes any difference?

Sub never told us what he found/changed, but it definitely made a difference for us with the HDHR Prime recordings.

Have you tried reinstalling NextPVR with the current installer to make sure that you have all the current patches? (Note that the version numbers will still be the same, so you need to actually download the latest installer and run it even if it says it's the same version.)
peterbonge
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Jul 2015
#15
2015-07-25, 11:24 AM
BrettB Wrote:Have you tried reinstalling NextPVR with the current installer to make sure that you have all the current patches? (Note that the version numbers will still be the same, so you need to actually download the latest installer and run it even if it says it's the same version.)

I've installed the NPVRSetup_3_4_8.exe which I've downloaded on 20. July. Shouldn't that be the latest one?

And I've just tested to increase the SlipSeconds value to 5000. Now the problem occurs about every 28 minutes, but (as expected) the playback then stops for about 3-4 seconds. The playback stops as long as the system needs to write the ~500 MB file.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#16
2015-07-25, 12:32 PM
peterbonge Wrote:I've installed the NPVRSetup_3_4_8.exe which I've downloaded on 20. July. Shouldn't that be the latest one?

And I've just tested to increase the SlipSeconds value to 5000. Now the problem occurs about every 28 minutes, but (as expected) the playback then stops for about 3-4 seconds. The playback stops as long as the system needs to write the ~500 MB file.

Yes, I'm sure that would be the latest installer.

It really does sound similar to the problem we had with HDHRs. Maybe when sub is back home (should be soon), he can find the problem and get you a patch.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#17
2015-07-25, 01:39 PM
Have you tried playng with window's Write Caching policies for the USB disk? It sounds counter-intuitive but maybe try disabling write caching altogether (for the USB disk)...

Alex
peterbonge
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Jul 2015
#18
2015-07-25, 03:38 PM
ACTCMS Wrote:Have you tried playng with window's Write Caching policies for the USB disk? It sounds counter-intuitive but maybe try disabling write caching altogether (for the USB disk)...

Writing cache settings are not supported by my USB disk, but I've just tested to switch from "Quick removal" to "Better performance" and now it seems to work much better. So far I haven't noticed any stutters, even with the default SlipSeconds value.

Thank you very much for this hint. I'm wondering why nobody else (incl. me) thought about this.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#19
2015-07-25, 04:13 PM
peterbonge Wrote:...So far I haven't noticed any stutters, even with the default SlipSeconds value.
Great - let's hope it fixes the problem permanently...

Alex
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#20
2015-07-26, 08:28 AM
peterbonge Wrote:. I'm wondering why nobody else (incl. me) thought about this.

Nobody else uses USB drives for mainline system use ??
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tuner not being released when live TV stopped on Kodi dark_half 7 2,830 2022-06-12, 11:59 PM
Last Post: sub
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,119 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Black Screen Live TV and Recording Eric8497 9 4,250 2020-03-14, 06:17 PM
Last Post: sub
  Live TV not working jresnick 21 10,113 2020-01-04, 06:26 PM
Last Post: BrettB
  No live TV display or audio Kram 3 2,220 2019-12-02, 10:30 PM
Last Post: mvallevand
  Record direct from live tv? rv0987 3 1,941 2019-11-01, 12:29 PM
Last Post: rv0987
  Live Stream Transcode hdpvr-doug8796 13 4,654 2019-10-18, 05:53 PM
Last Post: hdpvr-doug8796
  Black Screen, No Audio - Live TV Rev73 11 6,052 2019-08-21, 01:48 AM
Last Post: mvallevand
  After performing new channel scan, all channels and live TV are black ctdenney 8 2,359 2019-07-31, 06:19 PM
Last Post: ctdenney
  Live TV constant lag outside of home network terabitz 4 1,494 2019-05-26, 04:53 PM
Last Post: terabitz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode