I've got a new home server and it's running 2012 R2 Standard. I'm working on migrating everything from my desktop up to the new server and I hit a snag with nDroid. I'm unable to start the service.
Log snippet:
Code:
13/01/2014 21:48:22.531 serviceHelper.GetConnStrings() returned : True
13/01/2014 21:48:22.531 nDroidService v2.0.2 build: 2.0.5050.37956 started.
13/01/2014 21:48:22.541 Creating new nDroidServiceListener object...
13/01/2014 21:48:22.541 Creating new nDroidServiceStreamer object...
13/01/2014 21:48:22.541 Creating new nDroidServiceListener thread...
13/01/2014 21:48:22.541 Creating new nDroidServiceStreamer thread...
13/01/2014 21:48:22.541 Starting nDroidServiceListener thread...
13/01/2014 21:48:22.541 Starting nDroidServiceStreamer thread...
13/01/2014 21:48:22.541 OnStart() - Creating FileGenerator object...
13/01/2014 21:48:22.541 OnStart() - Creating FileGenerator thread...
13/01/2014 21:48:22.541 OnStart() - Starting FileGenerator thread...
13/01/2014 21:48:22.690 UnhandledExceptionHandler caught exception. threw exception: Object reference not set to an instance of an object. at uk.co.beetec.csharp.nDroid.nDroidLib.nDroidServiceHelper.GenerateChannelsDataFile() in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2010\Projects\nDroidService\nDroidLib\nDroidServiceHelper.cs:line 879
at uk.co.beetec.csharp.nDroid.nDroidServiceFileGenerator.Start() in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2010\Projects\nDroidService\nDroidService\nDroidServiceFileGenerator.cs:line 31
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
I've got C++ 2010 Redistributable Package (x64) installed.
Well, it happened again last night, except this time the culprit was an analog recording from my HVR-2250 card. Same symptoms as before, with an "Unhandled Exception" popup from npvr.exe. I checked NPVR.log and found evidence similar to that reported before.
Code:
2014-01-12 21:02:42.727 [DEBUG][1] Playing video file: E:\Video\NPVR\Worlds Dumbest\Worlds Dumbest_20140112_20002100.ts
2014-01-12 21:02:42.742 [DEBUG][1] Using 'NPVR TS Reader2'
2014-01-12 21:02:42.742 [DEBUG][1] File in use. Maybe still recording.
2014-01-12 21:02:42.742 [DEBUG][1] Timing.info reports duration 4056594ms
2014-01-12 21:02:42.805 [DEBUG][1] RenderDemux()
2014-01-12 21:02:42.805 [DEBUG][1] Adding system HE-AAC decoder
2014-01-12 21:02:42.805 [DEBUG][1] Adding system AC3 decoder
2014-01-12 21:02:42.805 [DEBUG][1] Adding system MPEG1 Layer2 decoder
2014-01-12 21:02:42.805 [DEBUG][1] about to load decoder
2014-01-12 21:02:42.883 [DEBUG][1] added decoder to graph
2014-01-12 21:02:42.883 [DEBUG][1] adding audio renderer: Default DirectSound Device
2014-01-12 21:02:42.992 [DEBUG][1] Adding system E-AC3 decoder
2014-01-12 21:02:43.008 [DEBUG][1] Adding system MPEG2 decoder
2014-01-12 21:02:43.008 [DEBUG][1] Adding VMR9 Custom renderer
2014-01-12 21:02:43.024 [DEBUG][1] DISPLAYMODE: 1920x1080 60
2014-01-12 21:02:43.039 [DEBUG][1] CAllocator::AddRef (m_refCount=2)
2014-01-12 21:02:43.039 [DEBUG][1] CAllocator::AddRef (m_refCount=3)
2014-01-12 21:02:43.039 [DEBUG][1] CAllocator::AddRef (m_refCount=4)
2014-01-12 21:02:43.055 [DEBUG][1] about to load decoder
2014-01-12 21:02:43.133 [DEBUG][1] added decoder to graph
2014-01-12 21:02:43.195 [ERROR][1] ConnectPins: Failed to find output pin named ~CC
2014-01-12 21:02:43.195 [ERROR][1] ConnectPins: Failed to find output pin named ~CC Out
2014-01-12 21:02:43.242 [DEBUG][1] Static Reference clock set to: MPEG1 Audio Renderer
2014-01-12 21:02:43.742 [DEBUG][1] restoring last aspect ratio
2014-01-12 21:02:43.742 [DEBUG][1] Source Aspect Ratio: 704x576
2014-01-12 21:02:43.742 [DEBUG][1] Playback graph running...
2014-01-12 21:02:43.742 [DEBUG][1] Graph filter list:
2014-01-12 21:02:43.742 [DEBUG][1] - NPVR CC Dump
2014-01-12 21:02:43.742 [DEBUG][1] - Video Mixing Renderer 9
2014-01-12 21:02:43.742 [DEBUG][1] - NPVR PES Collector (Teletext)
2014-01-12 21:02:43.742 [DEBUG][1] - NPVR PES Collector (DVBSubs)
2014-01-12 21:02:43.742 [DEBUG][1] - MPEG1 Audio Renderer
2014-01-12 21:02:43.742 [DEBUG][1] - Line 21 Decoder
2014-01-12 21:02:43.742 [DEBUG][1] - NVIDIA Audio Decoder
2014-01-12 21:02:43.742 [DEBUG][1] - NVIDIA Video Decoder
2014-01-12 21:02:43.742 [DEBUG][1] - MPEG-2 Demultiplexer
2014-01-12 21:02:43.742 [DEBUG][1] - NPVR TS Reader2
2014-01-12 21:02:44.789 [DEBUG][1] ActivatePopup: null
2014-01-12 21:02:44.789 [DEBUG][1] deactivating old popup: ShowDetailsPopup
2014-01-12 21:02:44.789 [DEBUG][1] Going to dispose popup at end of animation
2014-01-12 21:02:44.789 [DEBUG][1] OnKeyDown() done. Took 2062.447265625 ms
2014-01-12 21:02:44.789 [DEBUG][1] GetEventCode() returned: 0x000d
2014-01-12 21:02:44.789 [DEBUG][1] GetEventCode() returned: 0x000e
2014-01-12 21:02:44.789 [DEBUG][1] audio renderer now MPEG1
2014-01-12 21:02:44.789 [DEBUG][1] Dynamic reference clock set to: MPEG1 Audio Renderer
2014-01-12 21:02:44.789 [DEBUG][1] Reference clock was already se correctly. No change required.
2014-01-12 21:02:44.789 [DEBUG][1] GetEventCode() returned: 0x8102
2014-01-12 21:02:44.789 [DEBUG][1] Aspect ratio now: 4x3
2014-01-12 21:02:44.789 [DEBUG][1] Resolution is now: 720x480
2014-01-12 21:02:44.789 [DEBUG][1] Source Aspect Ratio: 4x3
2014-01-12 21:02:44.789 [DEBUG][1] GetEventCode() returned: 0x8101
2014-01-12 21:02:44.789 [DEBUG][1] GetEventCode() returned: 0x8065
[...]
2014-01-12 21:02:44.789 [DEBUG][1] GetEventCode() returned: 0x8065
2014-01-12 21:02:44.805 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:44.805 [DEBUG][1] Updating OSD.
2014-01-12 21:02:44.898 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:45.008 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:45.055 [DEBUG][1] Calling dispose on old popup(2): ShowDetailsPopup
2014-01-12 21:02:45.055 [DEBUG][1] ShowDetailsPopup.Dispose()
2014-01-12 21:02:45.055 [DEBUG][1] UiStatic.Dispose()
2014-01-12 21:02:45.117 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:45.227 [DEBUG][1] GetDuration returning 0
[...]
2014-01-12 21:02:48.227 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: E40352)
2014-01-12 21:02:48.227 [DEBUG][1] OnKeyDown() called: {CTRL}Right, Control
2014-01-12 21:02:48.242 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:48.242 [DEBUG][1] User is trying to skip.
2014-01-12 21:02:48.242 [DEBUG][1] Current position is: 4.49723863601685
2014-01-12 21:02:48.242 [DEBUG][1] Asking for position: -2
2014-01-12 21:02:48.242 [DEBUG][1] Pause()
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition(-2.000000)
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@skipmap
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@skipmap2
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@skipmap3
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@skipmap4
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@skipmap5
2014-01-12 21:02:48.258 [DEBUG][1] Using timing.info, jumping to time -2.000000 (offset 0)
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@skipmap6
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@skipmap7
2014-01-12 21:02:48.258 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:48.258 [DEBUG][1] after skip disk offset 4230000
2014-01-12 21:02:48.258 [DEBUG][1] SetPosition@exit
2014-01-12 21:02:48.258 [DEBUG][1] Play()
2014-01-12 21:02:48.273 [DEBUG][1] skippedWhilePaused enabled (position: 4.51263475418091)
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition(4.712635)
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition@skipmap
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition@skipmap2
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition@skipmap3
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition@skipmap4
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition@skipmap5
2014-01-12 21:02:48.273 [DEBUG][1] Using timing.info, jumping to time 4.712635 (offset 2401700)
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition@skipmap6
2014-01-12 21:02:48.273 [DEBUG][1] SetPosition@skipmap7
2014-01-12 21:02:48.445 [DEBUG][1] GetEventCode() returned: 0x000e
2014-01-12 21:02:48.445 [DEBUG][1] raw message: 0
2014-01-12 21:02:48.461 [DEBUG][1] GetDuration returning 0
[...]
2014-01-12 21:02:48.836 [DEBUG][1] Hiding OSD.
2014-01-12 21:02:48.945 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:49.055 [DEBUG][1] GetDuration returning 0
[...]
2014-01-12 21:02:55.289 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:55.320 [DEBUG][1] OnKeyDown() called: Escape
2014-01-12 21:02:55.320 [DEBUG][1] About to store playback position information
2014-01-12 21:02:55.320 [DEBUG][1] GetDuration returning 0
2014-01-12 21:02:55.320 [DEBUG][1] PlaybackPositionHelper.StorePlaybackPosition(Worlds
Dumbest_20140112_20002100.ts, 4, 0)
2014-01-12 21:02:55.320 [DEBUG][1] PlaybackPositionHelper.DeletePlaybackPosition(E:\Video\NPVR\Worlds
Dumbest\Worlds Dumbest_20140112_20002100.ts)
2014-01-12 21:02:55.336 [DEBUG][1] Stopping graph@1
Again, I'm running NPVR v3.1.1 on a HTPC with XP SP3 and all current updates. Let me know if I can extract anything else helpful to the fix.
I read several of the post and did not see anything to help. All my recording are failing due to "Recording service not running at recording time". Logs attached.
Thanks in advance.
Trying NextPVR for first time, so sorry if not a logic question.
Object reference not set to an instance of an object - when trying to access Live TV
I'm getting the same error, when trying to access live TV.
When I hit continue the error keeps popping up.And I have to use the task manager to end it.
Got no problem with the skin line in the XML, all other options in main menu works ok ...
No extra plugins too
.Net framework is ok to ....
I attach log file.
This is the detail of the error
System.NullReferenceException: Object reference not set to an instance of an object.
at VideoRendererEVR.ShowOSD(HBITMAP__* hbitmap)
at Native.PlaybackNative.SetOSD(Bitmap osdImage)
at NextPVR.Players.PlaybackProxyFactory.SetOSD(List`1 renderList)
at NextPVR.Players.BasePlayer.RefeshOSD()
at NextPVR.Players.LiveTvPlayer.RefeshOSD()
at NextPVR.ControllerForm.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I've installed 3.1.1 and the latest roll-up fixes - but I'm still worse off than I was with the previous stable version. Problems I still have with this version include:
1. Recording service stays on after waking up - recording nothing to /dev/nullxxxxx.ts. This problem was once fixed but has returned.
2. PVR refuses to sleep except if I reboot. I can't find what's keeping it awake. Stopping services etc makes no difference so I think it may be keeping a file open, or something like that.
3. Failed recordings - NPVR missed at least four recordings over the Christmas period, to the point where I now cannot be certain whether it will record. This is probably a consequence of the above.
Now WAF is low and patience is wearing thin.
Of course, I don't discount the possibility that this is a user error - I've installed the YouTube plugin for example - but how likely is that this is causing the problems?
I've been a user and commenter here for years so I understand the limited dev resources available etc - but wtf is going on?
Am I the only one? And do I have a plan B - ie can I revert to the previous version?
When I set up my DCR last time I deleted 1 of the channels that I would like to record, is there a way to add that channel with out redoing all the channels? I'm on comcast cable and only 100 or so of the 1100 that the DCR finds are in my package so a total redo with deleting and remapping and figuring out which channel matches what in the epg is a huge job.
Since upgrading to the new version (2.1.4) and the updated NEWA, I've been unable to play anything recorded from the All Recordings list.
Trying to do so says "Unable to Contact NPVR server!" when going into a directory that contains multiple items, or clicking and nothing happening with a single recording.
Playing items in the "What's New" list work fine, indeed the same items currently in there play fine, but NOT when I select them from the All Recordings area.
I attached my xbmc log to start. If you look toward the end of it you can see errors where I tried to play a couple of items.
I'm having some trouble with SD playback width on my HTPC since I rebuilt my system a few months back and am finally getting round to working on it. It's only with SD recordings, HD are fine. The width of the SD video jitters a bit when playback starts, but ends up being about 1/4 of the width of our HD TV. I suspect this is related to the decoder selections, but I have them set the same as I did prior to the rebuild (based on a backup copy of my config.xml).
The SD recordings plays back fine on out NMTs and in XBMC, so the issue is obviously a setting in NPVR.
Any suggestions for other decoders to try?
Log files attached with example playback of SD recording "I Escaped From Devil's Island"