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 … 372 373 374 375 376 … 433 Next »
Recording length changing for previously recorded show

Recording length changing for previously recorded show
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#1
2011-03-14, 02:39 AM
I recorded and then watched The Amazing Race: Unfinished Business tonight. Note, the recording was completely finished before I began playing it. However, I think that comskip was still processing it when I started it on the PCH the first time.

When I first watched it, I was using the PCH and noticed that it showed the length of the recording as 01:13:45. It should have been a 1-hour show plus either 1 or 3 minutes of padding (depending upon whether the post-padding was honored).

When the playback got to the end of the program, mvpmcx2 hung displaying a frame of video. I'm guessing that the hang was caused by npvr reporting the length of the program as 01:13:45, but the file is actually only about 01:03:00, and when mvpmcx2 tried to go past the end of the file, it had problems.

I then tried playing it on the pc. On there, the length kept changing fluxuating between 01:15:00 and 01:07:00 or so. (I only played about 5 minutes, so I don't know if it would have stopped changing at some point or not.)

I've attached logs. The timing.info is from this recording. The putty.log is the info from the PCH for the time when it hung. The npvr.log is from playing it on the pc. Unfortunately, when the PCH hung, it was using an mvp server which wasn't logging, so I don't have the original log from it. But I did go back and begin playing it on the PCH and got an mvp.log which shows beginning playing the file.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2011-03-14, 02:40 AM
Quote: However, I think that comskip was still processing it when I started it on the PCH the first time.
Was the problem still there when comskip finished running?
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#3
2011-03-14, 02:43 AM
sub Wrote:Was the problem still there when comskip finished running?

Yes. The problem is still there now and is consistently reproducible.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#4
2011-03-14, 02:54 AM
From your symptoms, it sounds like it's not finding timing.info - so it falls back to having to guess the duration based on the bit rate.

You can check its definitely using timing.info by playing a file on the PC, then skipping and checking you get a "Using timing.info, jumping to time..." type message in npvr.log. If you dont get that, then its gettings based on bitrate (which is changing).
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#5
2011-03-14, 03:02 AM
It was using Timing.Info.

Out of curiousity does the PC version report a long time too? If you look at the putty.log, one of the changes I did was to fake a last Timing.Info when NPVR reports a longer duration time, In this case it reports about 650 seconds difference

New timings 3779 7800963072
...
New timings 4425 7801208832

BrettB I also see this message

Code:
2011-03-13 21:29:03.131    [DEBUG][3]    Handling PLAYBACK_ENDED
2011-03-13 21:29:03.131    [DEBUG][3]    PLAYBACK_ENDED@2.0
2011-03-13 21:29:03.201    [DEBUG][3]    trying to force complete refresh2
2011-03-13 21:29:03.471    [DEBUG][3]    TrackEnded()
2011-03-13 21:29:03.481    [ERROR][3]    Unexpected error handling PLAYBACK_ENDED: System.NullReferenceException: Object reference not set to an instance of an object.
   at NextPVR.Players.MusicPlaybackManager.TrackEnded()
   at NextPVR.MVP.MVPServerForm.ControlThread()

Do you have sub's latest NextPVR that was supposed to solve this?

I might also need the last 100MB of this file to see what is going on.

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#6
2011-03-14, 03:12 AM
[quote=sub]From your symptoms, it sounds like it's not finding timing.info - so it falls back to having to guess the duration based on the bit rate.[QUOTE]

@Sub,

From the npvr.log file I included, I'm guessing that the indication of the problem is the line:
Code:
2011-03-13 21:21:50.007    [DEBUG][1]    File in use. Maybe still recording.

I used Process Explorer and see that NRecord process still has a handle to the file now.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#7
2011-03-14, 03:20 AM
mvallevand Wrote:Out of curiousity does the PC version report a long time too?
@mvallevand: On the PC, the length keeps changing. It seemed to be varying between the 01:07:00 or so and 01:15:00 or so. It changes every couple of seconds.

mvallevand Wrote:Do you have sub's latest NextPVR that was supposed to solve this?
I guess I'm not sure. As I recall, I've put in one patched NextPVR image since 2.0.3 was released. I'm also a little confused by it saying the error was from "...MusicPlaybackManager.TrackEnded()" since I only very rarely play any music with NextPVR/mvpmcx2 and definitely didn't tonight.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#8
2011-03-14, 03:29 AM
mvallevand Wrote:BrettB I also see this message

Code:
2011-03-13 21:29:03.131    [DEBUG][3]    Handling PLAYBACK_ENDED
2011-03-13 21:29:03.131    [DEBUG][3]    PLAYBACK_ENDED@2.0
2011-03-13 21:29:03.201    [DEBUG][3]    trying to force complete refresh2
2011-03-13 21:29:03.471    [DEBUG][3]    TrackEnded()
2011-03-13 21:29:03.481    [ERROR][3]    Unexpected error handling PLAYBACK_ENDED: System.NullReferenceException: Object reference not set to an instance of an object.
   at NextPVR.Players.MusicPlaybackManager.TrackEnded()
   at NextPVR.MVP.MVPServerForm.ControlThread()

Do you have sub's latest NextPVR that was supposed to solve this?

Martin,

I found this thread where you reporting the same error
mvallevand Wrote:Great. The value is stored, the resume button disappears and as a bonus there is a full refresh of the screen. I do see this log message that might simply be there because of the extra logging, music isn't playing here.

Code:
2011-03-06 19:18:26.917    [DEBUG][3]    trying to force complete refresh2
2011-03-06 19:18:27.169    [DEBUG][3]    TrackEnded()
2011-03-06 19:18:27.169    [ERROR][3]    Unexpected error handling PLAYBACK_ENDED: System.NullReferenceException: Object reference not set to an instance of an object.
   at NextPVR.Players.MusicPlaybackManager.TrackEnded()
   at NextPVR.MVP.MVPServerForm.ControlThread()

But I don't see a new version of NextPVR there that's supposed to fix it.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#9
2011-03-14, 03:42 AM
BrettB Wrote:I used Process Explorer and see that NRecord process still has a handle to the file now.

Upon further investigation, it appears that the process which had the handle to the file was a subprocess of the NRecord process--specifically one of the MVP servers which had hung when mvpmcx2 hung.

I killed that process and then the pc reports the proper length of 01:02:59. However, on the PCH, the OSD timeline still reports a length of 01:13:45. So NextPVR.exe doesn't seem to be using the timing.info when running as an MVP server.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#10
2011-03-14, 03:43 AM
Sorry BrettB I forgot that error is still there.

Martin
« 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
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,710 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,085 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,148 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,362 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,766 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,400 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,111 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  ts file shows length too long? SuttonWillow 2 1,969 2021-03-15, 01:56 PM
Last Post: mvallevand
Video Restrict Recording Space foucomm 1 1,362 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,544 2021-01-11, 04:37 PM
Last Post: Graham

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

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

Linear Mode
Threaded Mode