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 … 317 318 319 320 321 … 433 Next »
skip timing problem

skip timing problem
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#1
2012-02-19, 08:54 AM (This post was last modified: 2012-02-19, 09:02 AM by johnsonx42.)
Sub,

I'm sorry to bring this issue up again, as I know we've been 'round with this before, but it's the last big thing that doesn't work right for me in NPVR. NPVR is still somehow miscalculating where it is in the timeline when using Timing.Info to skip. I think the following symptoms are due to the same root cause:

1. Forward skips are too long by ~3 seconds. Backwards skips are too short by ~3 seconds. I have verified it isn't just a cosmetic timeline display error or some form of decoder lag; if I take a piece of video I've watched several times so I that I know it very well, and use two 10-second forward skips, and then immediately begin skipping back to the original spot, it takes not two, not three, but four 10-second backwards skips to reach the same spot. 2 x 10 = 4 x 10? Is this the New Math?

2. If I pause playback, then unpause, it skips about 4 seconds of video (this may be a combination of the ~3 second timeline error, and short delay for the the decoder to produce frames); these days whenever I pause a show I have to skip back once during the pause or I miss a full line of dialog when I resume. It resumes playback very quickly, it just jumps ahead when it does.

3. Comskip skips jump at least 3 seconds early, so I have my <ComskipStartOffset> at 3000ms; however this isn't enough for all recordings, sometimes it still jumps a few seconds early.

I know this seems a little nitpicky, and there are work-arounds... for #1 I could just adjust <SkipFFSeconds> to 7 and <SkipRWSeconds> to 13 so that they both skip ~10 seconds in real time, and for #3 I could increase the <ComskipStartOffset> to 6000ms and see a few seconds of commercials in many cases. I can't think of anything for #2 other than what I'm already doing - skip back once before unpausing, though that actually doesn't always work either.

But the point is that something isn't right, there's a bug here somewhere.

In the attached log, beginning at 23:18:38.059 I start playing a recent episode of The Big Bang Theory. I do quite a bit of skipping, and if you look at the skips carefully you can see that for this file they're around 2 seconds off (not as bad as some). The most telling sequence begins at 23:20:15.940, when I pause the video then skip while paused (extra lines edited out for clarity):
Code:
2012-02-18 23:20:15.940    [DEBUG][1]    OnKeyDown() called: {CTRL}Q, Control

2012-02-18 23:20:22.636    [DEBUG][1]    OnKeyDown() called: {CTRL}F, Control
2012-02-18 23:20:22.638    [DEBUG][1]    Using timing.info, jumping to time 560.796997 (offset 1235164888)

2012-02-18 23:20:25.584    [DEBUG][1]    OnKeyDown() called: {CTRL}F, Control
2012-02-18 23:20:25.586    [DEBUG][1]    Using timing.info, jumping to time 573.031982 (offset 1262163944)

2012-02-18 23:20:28.385    [DEBUG][1]    OnKeyDown() called: {CTRL}F, Control
2012-02-18 23:20:28.387    [DEBUG][1]    Using timing.info, jumping to time 585.281982 (offset 1289163000)

2012-02-18 23:20:31.677    [DEBUG][1]    OnKeyDown() called: {CTRL}R, Control
2012-02-18 23:20:31.679    [DEBUG][1]    Using timing.info, jumping to time 577.531982 (offset 1271806464)

2012-02-18 23:20:35.738    [DEBUG][1]    OnKeyDown() called: {CTRL}R, Control
2012-02-18 23:20:35.740    [DEBUG][1]    Using timing.info, jumping to time 569.671997 (offset 1254449928)

2012-02-18 23:20:42.696    [DEBUG][1]    OnKeyDown() called: {CTRL}R, Control
2012-02-18 23:20:42.697    [DEBUG][1]    Using timing.info, jumping to time 561.781982 (offset 1237093392)

2012-02-18 23:20:49.403    [DEBUG][1]    OnKeyDown() called: {CTRL}R, Control
2012-02-18 23:20:49.404    [DEBUG][1]    Using timing.info, jumping to time 553.906982 (offset 1219736856)

2012-02-18 23:20:52.919    [DEBUG][1]    OnKeyDown() called: {CTRL}R, Control
2012-02-18 23:20:52.921    [DEBUG][1]    Using timing.info, jumping to time 546.046997 (offset 1202380320)

2012-02-18 23:20:56.238    [DEBUG][1]    OnKeyDown() called: {CTRL}R, Control
2012-02-18 23:20:56.240    [DEBUG][1]    Using timing.info, jumping to time 537.296997 (offset 1183095280)

2012-02-18 23:21:01.314    [DEBUG][1]    OnKeyDown() called: {CTRL}R, Control
2012-02-18 23:21:01.315    [DEBUG][1]    Using timing.info, jumping to time 529.421997 (offset 1165738744)

2012-02-18 23:21:15.570    [DEBUG][1]    OnKeyDown() called: {CTRL}Q, Control
While the log doesn't specify the position when pause was pressed, the result of the first forward skip was time 560.8; two more skips brought it to 585.28, about 4.6 seconds too far (or 2.3 seconds per skip). Then on skipping back, 3 skips that should have been 10 seconds each brought the position back only to 561.78 or about 23.5 seconds; so each skip was about 7.8 seconds. A fourth skip got me back very close to the spot where I pressed pause, then I skipped back a few more times for good measure and finally resumed playback.

The behavior is just the same when skipping with playback, but skipping with it paused makes the log much more clear. This recording is actually better than some - I've definitely had some where the skips were much closer to 5 seconds off, but I don't have an example right now.

I've included the Timing.Info and the comskip .edl file.

If you can fix or tweak whatever is causing this, I think you'll make a lot of users very happy.
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
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#2
2012-02-19, 09:07 AM
My way around this is just to fiddle with the skip size in config.xml untill i get the skip size i want
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#3
2012-02-19, 11:09 AM
I can confirm #2, it has annoyed me for some time now, and most likely #3 is correct too, I gave up comskip as it never did skip as expected no matter what I did.

"I'd rather have a bottle in front of me than a frontal lobotomy"
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,734
Threads: 767
Joined: Nov 2003
#4
2012-02-19, 04:14 PM
johnsonx42, can you prepare a short 5-10 minute recording that I can download, so we can be testing against the same file? I'll also need the timing.info generated for the file.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#5
2012-02-19, 08:05 PM
can I just cut 10 minutes from an existing recording, or do you need one that was actually scheduled for 10 minutes? I don't know if cutting it would affect the testing. If cutting one ok, point me to that cutchunk utility.
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: 106,734
Threads: 767
Joined: Nov 2003
#6
2012-02-19, 08:08 PM
Either a short recording or chunk should be ok. You should check it locally to confirm you're seeing the problems though, so I can try reproducing it here. If you use a chunk, you'd have to try adding a shortened version of the timing.info.

I'm pretty sure the cutchunk utility is on the wiki.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#7
2012-02-19, 10:39 PM
sub Wrote:If you use a chunk, you'd have to try adding a shortened version of the timing.info.
oh, right, because the Timing.Info isn't spread across the whole file, so after cutting the transport stream would be shortened but the timing.info would still reflect the original full length file. I should be able to figure out where to truncate the timing.info by comparing the offsets to the resulting filesize.

I probably won't have this ready until tomorrow as it'll take quite awhile to upload over my slow DSL connection.
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
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2012-02-19, 11:54 PM
I have a good example: Skip forward as soon as video starts playing and it jumps by about 90 seconds. Skip back then goes back 3 seconds. Pretty much all my SD recordings are like this. Some even jump forward on skip back.

10 minute clip (about 180MB): http://www.oshinetworks.com/NPVR/GhostRider.7z
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,734
Threads: 767
Joined: Nov 2003
#9
2012-02-20, 12:07 AM
I'm downloading that file now. Does it have the timing.info in the zip file?
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#10
2012-02-20, 12:15 AM
It sure does. I never mentioned my issues with SD before because I figured it wasn't a widespread issue (at least not to that extreme) or the forum would be a lot livelier.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR4 and MPC-HC problem The Solutor 29 7,179 2021-07-27, 03:45 PM
Last Post: The Solutor
  Problem locking on to a tuner? time_lord 7 3,022 2021-01-09, 12:06 PM
Last Post: Graham
  EPG XMLTV problem DBHall 8 3,807 2021-01-01, 12:34 PM
Last Post: Graham
  Problem with Intel 4600 graphics driver pol098 1 1,432 2020-12-01, 12:44 PM
Last Post: romdl
  Problem setting up recording for some programmes LeoL 5 2,032 2020-10-21, 09:34 PM
Last Post: LeoL
  Replayed recording problem Tj.2 25 9,308 2020-09-22, 04:51 PM
Last Post: baj1
  Recurring recording problem Dave48167 18 4,329 2020-09-10, 08:26 PM
Last Post: Dave48167
  Problem with 1 device and 1 frequency lost@c 6 2,065 2020-08-21, 04:11 AM
Last Post: lost@c
  Audio Problem jrockow 11 4,801 2020-04-22, 12:07 PM
Last Post: jrockow
  Skip causes fast-forward to the end of the file madbrain 9 3,883 2020-02-27, 10:24 PM
Last Post: Esch

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

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

Linear Mode
Threaded Mode