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 … 237 238 239 240 241 433 Next »
timing.info too short, timeline inaccurate

timing.info too short, timeline inaccurate
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,014
Threads: 771
Joined: Nov 2003
#11
2013-10-22, 11:33 PM
johnsonx42 Wrote:Now a 1 hour test recording has completed, the timeline shows 59:48. It seems the generated timing.info is consistently 6 seconds short per 30 minutes of show.
Ah, you must have meant 29:59 above not 29:29
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,566
Threads: 964
Joined: May 2006
#12
2013-10-22, 11:37 PM
sub Wrote:Do you really see 29:29? or do you mean 29:59?

I can imagine it possibly being 5 seconds out in the duration, although I'd expect the difference to be a lot smaller than that. I definitely would not expect to see a difference like 29:29 vs 29:54, ie 25 seconds.

He wrote 29:29 with writeTime so I am confused.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,014
Threads: 771
Joined: Nov 2003
#13
2013-10-22, 11:39 PM
I'm at a bit of a loss for how to explain this. NextPVR is not using any timing from stream for generating the timing.info.

When the first packet arrives, NextPVR askes Windows for the current time in milliseconds, and stores it as the time the first packet arrived. Every subsequent packet that arrives, NextPVR again askes windows for the current time in milliseconds, and subtracts the original value to get the position in milliseconds - if it was more than 800ms since it last wrote to timing.info, then it writes another.

For the duration to be out by any significant amount, it'd seem that Windows would have to be returning a current time in milliseconds that is drifting from reality.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,014
Threads: 771
Joined: Nov 2003
#14
2013-10-22, 11:50 PM
Unless its something weird related to the way they're broadcast 30fps material at 29.97 or vice versa.

ie, playing it out a bit faster or a bit slower than the material is timestamped for.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,566
Threads: 964
Joined: May 2006
#15
2013-10-22, 11:55 PM
I think there is something in the logic about the 900ms that assumes that some traffic flows through it. I have seen files where the first real write is at 15 or 20 seconds with a small number of bytes, Even johnsonx42's first sample showed that there weren't write at 900 1800 2700.. etc.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,014
Threads: 771
Joined: Nov 2003
#16
2013-10-23, 12:02 AM
mvallevand Wrote:I think there is something in the logic about the 900ms that assumes that some traffic flows through it. I have seen files where the first real write is at 15 or 20 seconds with a small number of bytes, Even johnsonx42's first sample showed that there weren't write at 900 1800 2700.. etc.
That's why I said I can expect duration to be out up to a few seconds - primarily related to the how consistently the device delivers data right at the beginning of the stream. Some devices are great, and just start delivering a consistent stream of data from the very first second. Some do a bit of a hiccup as they start, delivering a little bit of data, followed by short delay, before data starts flowing properly.

This can mean that on some devices the data might be out a couple of seconds, but this only a condition that occurs right at the beginning, and doesn't account for any drift over time like is being reported here.

FYI, what you describe doesn't matter too much to the app. It doesn't matter if there is no entry in the first second or two. The use of this timing info has always been designed to deal with situations like a couple of seconds missing at the start, or in the middle of the file if there was signal loss etc.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#17
2013-10-23, 12:45 AM
sub Wrote:Do you really see 29:29? or do you mean 29:59?
Yes, sorry, that was a typo. 29:54 with the original timing.info, 29:59 with the writeTime-generated timing.info.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#18
2013-10-23, 04:22 PM
I guess at this point I'm considering going back to 3.0.1 to see if the problem goes away.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,014
Threads: 771
Joined: Nov 2003
#19
2013-10-23, 04:37 PM
johnsonx42 Wrote:I guess at this point I'm considering going back to 3.0.1 to see if the problem goes away.
Yeah, it'd be interesting to see if older builds behave any differently. Given nothing really changed on that front, I'd expect it to give the same results.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#20
2013-10-23, 04:41 PM
If it still does it with 3.0.1 then I'll have to blame my hardware. I'm not sure how it can be the hardware, it would seem that any time drift would affect everything equally, but that was the other change between when it was working in late July and when it started doing this in early August.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Add Series/Episode Info to Recording Metadata andrewj 2 1,456 2023-11-20, 03:42 PM
Last Post: sub
  Channel and EPG info Brucek2839 1 1,552 2019-10-30, 06:16 AM
Last Post: sub
  Missing Guide Info jcole998 17 4,772 2019-06-14, 08:16 PM
Last Post: Rich A
  IPTV - recordings cut short vibez 8 3,139 2019-03-18, 10:51 PM
Last Post: vibez
  Info in 'Details' is different than 'Bulk Map' Legacy14 9 2,862 2018-04-20, 06:38 PM
Last Post: Legacy14
  Windows Exception dialog when overlay drawn (Info, Volume, etc) Wakalaka 3 1,794 2018-03-25, 05:58 PM
Last Post: Wakalaka
  Recent recording shows wrong length in timeline WayneD 15 5,510 2018-01-30, 12:18 PM
Last Post: Bobins
  No Timeline During Playback GWCowling323 1 1,353 2017-11-28, 04:21 PM
Last Post: sub
  No Episode info for certain channels shaboobala 8 2,917 2017-11-18, 12:48 AM
Last Post: TeleFragger
  Season and Episode Info ottoguy 2 1,878 2017-02-18, 09:36 PM
Last Post: scJohn

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

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

Linear Mode
Threaded Mode