NextPVR Forums

Full Version: Cant play from network stream / Throws exception when playing recordings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I had this working previously with an older version and W7 (had many issues to make it work), now i upgraded to W8 and cant make it work. i have a w7 acting as a NPVR server, this is the client im having problems with.

All video codecs set to LAV and EVR to render, everything else set to DISABLED.
I get the "please wait" screen and then the program doesnt respond.
The server shows that the recording is working and if i later reproduce the .TS file recorded with mplayerclassic it works fine, so the video is getting recorded fine.


This is the client log:

2012-11-13 15:17:15.343 [DEBUG][1] GetServerStatus() returns:
<Status>
<Device oid="22" identifier="Conexant Polaris Video Capture:1">
</Device>
<Device oid="21" identifier="Conexant Polaris BDA Tuner:1">
</Device>
</Status>
2012-11-13 15:17:15.343 [DEBUG][1] StartLiveTV@1
2012-11-13 15:17:15.343 [DEBUG][1] StartLiveTV@2
2012-11-13 15:17:15.358 [DEBUG][1] StartLiveTV@3
2012-11-13 15:17:15.358 [DEBUG][1] StartLiveTV@4
2012-11-13 15:17:17.103 [DEBUG][1] Client got streaming handle: 150035
2012-11-13 15:17:17.103 [DEBUG][1] service type is: 1
2012-11-13 15:17:17.103 [DEBUG][1] StartLiveTV@5
2012-11-13 15:17:17.113 [DEBUG][1] Using 'NPVR TS Reader2'
2012-11-13 15:17:20.235 [DEBUG][1] RenderDemux()
2012-11-13 15:17:20.235 [DEBUG][1] Adding system HE-AAC decoder
2012-11-13 15:17:20.235 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.235 [DEBUG][1] Adding system AC3 decoder
2012-11-13 15:17:20.235 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.235 [DEBUG][1] Adding system MPEG1 Layer2 decoder
2012-11-13 15:17:20.235 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.240 [DEBUG][1] Adding system E-AC3 decoder
2012-11-13 15:17:20.240 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.245 [DEBUG][1] Adding system MPEG2 decoder
2012-11-13 15:17:20.245 [DEBUG][1] Adding EVR renderer
2012-11-13 15:17:20.288 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.793 [DEBUG][1] restoring last aspect ratio


Also when going to "Videos" and try to open one of those .TS (i copied it from the server to the client folder, since i cant connect the tunner here), i get an exception error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn off customErrors in the server's .config file.

Server stack trace:


Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NShared.IRecordingService.GetExtraInfo(String key, String extra)
at NShared.RecordingServiceProxy.GetExtraInfo(String key, String extra)
at Native.PlaybackNative.PlayLiveStream(IntPtr hwndIntPtr, String filename, Int32 serviceType, String& message)
at Native.PlaybackNative.PlayVideoFileTS(IntPtr hwndIntPtr, String filename, String& message)
at Native.PlaybackNative.PlayVideoFile(IntPtr hwndIntPtr, String filename, String& message)
at NextPVR.Players.PlaybackProxyFactory.StartVideoPlaybackProxy(IntPtr window, String filename, String& reason)
at NextPVR.Players.VideoPlayer.PlayFiles(List`1 playQueue, Int32 playQueueIndex, String& reason)
at NextPVR.Players.VideoPlayer.PlayFile(String filename, String& reason)
at NextPVR.ControllerForm.PlayVideoFile(String filename)
at NextPVR.Libraries.VideoLibrary.ActivateItem(ListObject selectedObject)
at NUtility.Controls.ListRenderers.UiListList.OnDblClick(PointF point)
at NUtility.Controls.UiList.OnDblClick(PointF point)
at NextPVR.Libraries.BaseLibrary.OnDblClick(PointF location)
at NextPVR.ControllerForm.ControllerForm_MouseDoubleClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at NextPVR.ControllerForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

(...)

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Any help to make this work would be appreciated.
This is a brand new install with only the K-Lite Codec installed, tried setting all the codecs to DISABLED, same problem, all to FFDSHOW, same problem, all to LAV, same problem.
so... any attempt of solution/support or just dump nextpvr?
Sorry, I didn't see your original post or I would have replied.
Quote:2012-11-13 15:17:20.235 [DEBUG][1] Adding system HE-AAC decoder
2012-11-13 15:17:20.235 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.235 [DEBUG][1] Adding system AC3 decoder
2012-11-13 15:17:20.235 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.235 [DEBUG][1] Adding system MPEG1 Layer2 decoder
2012-11-13 15:17:20.235 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.240 [DEBUG][1] Adding system E-AC3 decoder
2012-11-13 15:17:20.240 [ERROR][1] Unable to find named decoder
2012-11-13 15:17:20.245 [DEBUG][1] Adding system MPEG2 decoder
2012-11-13 15:17:20.245 [DEBUG][1] Adding EVR renderer
2012-11-13 15:17:20.288 [ERROR][1] Unable to find named decoder
It looks like you need to go to the Settings->Decoders screen and select your decoders.
thats part of the issue, i have the decoders set, i have as follows:

Renderers:

video renderer: EVR
Audio r...: default
Music r..: default

Decoders:
MPEG2 Video: LAV Video Decoder (tried my ms dtd-dvd as well)
H.254 Video: LAV Video Decoder (tried my ms dtd-dvd as well)
MPEG1 Audio: disabled
AC3 Audio: disabled
E-AC3 Audio: disabled
AAC Audio: disabled
HE-AAC Audio: disabled

I assume there is no problem with audio disabled, since i cant even see video, dont want to mess with the audio as well.
Anyhow, it freezes as i said.

Also the other problem throwing a program exception, dunno if it has to do with codecs or not.
What use would it be having video with no audio? You should set the audio decoders you'll need. If that doesn't help, reproduce the problem and zip and attach your logs.

I'm not sure what video standard you use there, but the LAV decoder doesn't work for H.264. You'll need to set the H.264 decoder to the Microsoft DTV-DVD decoder.
Quote:Also when going to "Videos" and try to open one of those .TS (i copied it from the server to the client folder, since i cant connect the tunner here), i get an exception error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn off customErrors in the server's .config file.

Server stack trace:


Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type)
at NShared.IRecordingService.GetExtraInfo(String key, String extra)
at NShared.RecordingServiceProxy.GetExtraInfo(String key, String extra)
This could be a sign you have firewall software getting in the way of communication between client and server. Does it let you schedule a recording from the TV Guide?
same issue setting all the decoders, now i tried ffdshow for all of them, here is the log, nextpvr hangs forever (not responding)

Also, the VIDEO RECORDINGS playback is LOCAL, i copied a .TS file to my computer and added that folder in nextpvr in the media folders, so its "playing" localy and instead of hanging, throws that exception when i click on the ts file to play.
I'm not sure if this directly related to the problem you're seeing, but I can see you're database looks broken:

Quote:2012-11-16 15:23:41.285 [ERROR][1] System.Data.SQLite.SQLiteException: SQLite error
no such table: CHANNEL_GROUP_NAME

Are you using the same version on the client and the server? If so, you might need to delete the npvr.db3 file on the server, then rerun the app so it'll recreate the database, then setup the devices again.
k, seems the issue was i had an older version on the server side (i thought they were compatible).
now it doesnt crash, the new problem is i get sound but no video, black screen, ive tried with the ffdshow and lav and same issue.

I can play a .TS (recorded a while ago with npvr) with media player classic, this details it shows the .TS file:

Video: MPEG4 Video (H264) 16x128 [Video]
Audio: MPEG Audio Layer 3 22050Hz stereo 80Kbps [Audio]
Subtitle: DVD Subpicture [Subtitle]

and while reproducing it shows ffdhow is enabled (tray icon) saying input: mpg2 (libmpeg2) output: nv12

but i cant make this work in nextpvr
Pages: 1 2