[Updated 27 Mar!] MPExtended WebMediaPortal 0.4.3 (2 Viewers)

Status
Not open for further replies.

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    BTW, Oxan... and maybe this has been brought up, but do you think HTML5 will be an option soon for streaming, instead of relying on Flash?
    Not in the near future. I think I've written this before somewhere, but I can't find it:
    • The WebM codec is way too slow to do live transcoding. It encodes at about 15 frames/second on a PhenomII X4 965 for 720p material (while H.264 gets to 70 frames/second).
    • The Ogg codec is a bit better but still not even close to 25 fps. It also requires a bit higher bitrate for the same stream, and it doesn't support live transcoding.
    • The H.264 codec is only supported in the MP4 container, which doesn't support live transcoding.

    Thanks for the quick reply. The live tv is indeed working but i don't understand what you mean with service and account?:)

    He Oxan, I did some digging and found out that i can watch recordings and these are on my Network NAS. It is strang that i can't watch any movie wich are on the same NAS. :confused:
    Hmm yeah, overlooked something in your logs. I think I found the problem and fixed it for 0.4.2.
    EDIT: Not sure. Are you sure the file that's you want to play does exist (does it play in MediaPortal)?

    To be honest, I prefer one with a horizontal EPG. It can be implemented quite easily though, so if an developer is interested...

    Thanks,
    i have some web programming experience, maybe i'll give it a try to implement a vertical view
    Great! You can find the code in WWW/Views/Television/TVGuide.cshtml.
     

    Husky

    Portal Pro
    June 1, 2007
    132
    10
    54
    Home Country
    Germany Germany
    AW: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    I have a problem with the WebMediaportal. I have installed it on the ServerPC but I can't log in to the TVGuide.

    Sorry, an error occurred while processing your request.
    Der Formatierer hat beim Deserialisieren der Nachricht eine Ausnahme ausgelöst: Fehler beim Deserialisieren von Parameter http://mpextended.github.com:GetProgramsBasicForChannelResult. Die InnerException-Nachricht war "Fehler beim Deserialisieren des Objekts "vom Typ System.Collections.Generic.IList`1[[MPExtended.Services.TVAccessService.Interfaces.WebProgramBasic, MPExtended.Services.TVAccessService.Interfaces, Version=0.4.0.0, Culture=neutral, PublicKeyToken=8ccaf7b9f3e31d46]]". Die maximale Länge für Zeichenfolgeninhalt (8192) wurde beim Lesen von XML-Daten überschritten. Dieses Kontingent kann durch Ändern der "MaxStringContentLength"-Eigenschaft des beim Erstellen des XML-Lesers verwendeten "XmlDictionaryReaderQuotas"-Objekts erhöht werden.". Weitere Details finden Sie unter "InnerException".

    Server stack trace:
    bei System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)
    bei System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameter(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)
    bei System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)
    bei System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)
    bei System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Message message, Object[] parameters)
    bei System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc& rpc)
    bei System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
    bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
    bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    bei MPExtended.Services.TVAccessService.Interfaces.ITVAccessService.GetProgramsBasicForChannel(Int32 channelId, DateTime startTime, DateTime endTime)
    bei MPExtended.Applications.WebMediaPortal.Models.TVGuideChannelViewModel..ctor(WebChannelBasic channel, DateTime guideStart, DateTime guideEnd)
    bei MPExtended.Applications.WebMediaPortal.Models.TVGuideViewModel.<>c__DisplayClassa.<.ctor>b__7(WebChannelBasic x)
    bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
    bei ASP._Page_Views_Television_TVGuide_cshtml.Execute() in c:\Program Files (x86)\MPExtended\WebMediaPortal\www\Views\Television\TVGuide.cshtml:Zeile 36.
    bei System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
    bei System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
    bei System.Web.WebPages.StartPage.RunPage()
    bei System.Web.WebPages.StartPage.ExecutePageHierarchy()
    bei System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
    bei System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
    bei System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
    bei System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
    bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
    bei System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
    bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
    bei System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<>c__DisplayClass1e.<InvokeActionResultWithFilters>b__1b()
    bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
    bei System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
    Fehler beim Deserialisieren des Objekts "vom Typ System.Collections.Generic.IList`1[[MPExtended.Services.TVAccessService.Interfaces.WebProgramBasic, MPExtended.Services.TVAccessService.Interfaces, Version=0.4.0.0, Culture=neutral, PublicKeyToken=8ccaf7b9f3e31d46]]". Die maximale Länge für Zeichenfolgeninhalt (8192) wurde beim Lesen von XML-Daten überschritten. Dieses Kontingent kann durch Ändern der "MaxStringContentLength"-Eigenschaft des beim Erstellen des XML-Lesers verwendeten "XmlDictionaryReaderQuotas"-Objekts erhöht werden.

    bei System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
    bei System.Runtime.Serialization.DataContractSerializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName)
    bei System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)
    Die maximale Länge für Zeichenfolgeninhalt (8192) wurde beim Lesen von XML-Daten überschritten. Dieses Kontingent kann durch Ändern der "MaxStringContentLength"-Eigenschaft des beim Erstellen des XML-Lesers verwendeten "XmlDictionaryReaderQuotas"-Objekts erhöht werden.

    bei System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3)
    bei System.Xml.XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader, Int32 maxStringContentLength)
    bei System.Xml.XmlDictionaryReader.ReadContentAsString(Int32 maxStringContentLength)
    bei System.Xml.XmlBaseReader.ReadContentAsString()
    bei System.Xml.XmlBaseReader.ReadElementContentAsString()
    bei System.Xml.XmlBinaryReader.ReadElementContentAsString()
    bei System.Runtime.Serialization.XmlReaderDelegator.ReadElementContentAsString()
    bei ReadWebProgramBasicFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
    bei System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
    bei System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
    bei System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
    bei System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
    bei ReadArrayOfWebProgramBasicFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )
    bei System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
    bei System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
    bei System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
    bei System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
    bei System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
    bei System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)


    Working again. No idea why ....
     

    SwordFish

    Portal Member
    February 28, 2010
    33
    4
    Home Country
    Netherlands Netherlands
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    BTW, Oxan... and maybe this has been brought up, but do you think HTML5 will be an option soon for streaming, instead of relying on Flash?
    Not in the near future. I think I've written this before somewhere, but I can't find it:
    • The WebM codec is way too slow to do live transcoding. It encodes at about 15 frames/second on a PhenomII X4 965 for 720p material (while H.264 gets to 70 frames/second).
    • The Ogg codec is a bit better but still not even close to 25 fps. It also requires a bit higher bitrate for the same stream, and it doesn't support live transcoding.
    • The H.264 codec is only supported in the MP4 container, which doesn't support live transcoding.

    He Oxan, I did some digging and found out that i can watch recordings and these are on my Network NAS. It is strang that i can't watch any movie wich are on the same NAS. :confused:
    Hmm yeah, overlooked something in your logs. I think I found the problem and fixed it for 0.4.2.
    EDIT: Not sure. Are you sure the file that's you want to play does exist (does it play in MediaPortal)?

    To be honest, I prefer one with a horizontal EPG. It can be implemented quite easily though, so if an developer is interested...

    Thanks,
    i have some web programming experience, maybe i'll give it a try to implement a vertical view
    Great! You can find the code in WWW/Views/Television/TVGuide.cshtml.

    Hello Oxan,
    Yes the file i want to play plays well within MP. To be sure i toke a tv episode that i watched last night.:sorry:
     

    JacobJust

    MP Donator
  • Premium Supporter
  • September 23, 2006
    131
    46
    53
    Aarhus
    Home Country
    Denmark Denmark
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    ...

    I can browse and set schedules, but the streaming doesn't work (off course since there is no Flash and direct VLC streaming).

    I have tried to make adjustments to the streaming.xml but nothing seems to work.

    Are there a possibility of getting this to work on the iPad and could anyone provide values for the streaming.xml file i would appreciate it much.

    There is no streaming support for iOS. For that to get implemented, either Apple should release a free SDK or a developer with knowledge of streaming to iOS should help us.

    OXAN: Didn't know that there was so big difference in supporting iOS devices. I tried to adjust parameters in streaming.xml to output mp4. I thought FFMPEG could provide stream to iOS also. I also thought that iPimp used FFMPEG to stream to iPhone/iPod/iPad and that worked nicely.

    Regards
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    OXAN: Didn't know that there was so big difference in supporting iOS devices. I tried to adjust parameters in streaming.xml to output mp4. I thought FFMPEG could provide stream to iOS also. I also thought that iPimp used FFMPEG to stream to iPhone/iPod/iPad and that worked nicely.

    Regards
    There's not really much difference in the codec settings (that can be handled perfectly with ffmpeg indeed), but the containers cause problems. MP4 can't be used as it doesn't support live transcoding. The other supported option by iOS (HTTP Live Streaming) isn't fully implemented in MPExtended yet.

    Hello Oxan,
    Yes the file i want to play plays well within MP. To be sure i toke a tv episode that i watched last night.:sorry:
    Weird. I think I've fixed this for 0.4.2 (release next weekend) but I'm not sure.

    I have a problem with the WebMediaportal. I have installed it on the ServerPC but I can't log in to the TVGuide.
    <cut>
    Working again. No idea why ....
    That's indeed a bug that appears and disappears more or less random. I've fixed it for 0.4.2.
     

    emerich

    Portal Member
    January 26, 2007
    38
    3
    61
    Home Country
    Austria Austria
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    Hi,

    When I log into the Extended Web I can't access any of the given links. It seems there is no link.:oops:

    Thanks for the help!
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    Hi,

    When I log into the Extended Web I can't access any of the given links. It seems there is no link.:oops:

    Thanks for the help!
    You have missed some log files I think. At least WebMediaPortal.log is required to debug these kind of issues. You also seem to be using an ancient Moving Pictures.
     

    emerich

    Portal Member
    January 26, 2007
    38
    3
    61
    Home Country
    Austria Austria
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    Hi,
    thanks for the fast response!

    I reated a new zip. out of the MPExtended Configuration. When I go directly to the pages eg. http://mediaportal:8080/Television/TVGuide t works. But on the "home" page there are no active links.

    Thanks for your help :D
    Christian
     

    dmon

    Portal Member
    May 9, 2006
    20
    1
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    Hello !

    I have a fresh single seat install, and it doesn't works to me.
    I found the following error in the Service.log :

    2012-01-15 22:09:56.8828 [(8)] ERROR: Unhandled exception in service (SOAP interface)
    (ChannelDispatcher.ProvideFault => ErrorBehavior.ProvideFault => SoapExceptionHandling.ProvideFault)
    System.ObjectDisposedException: Nem érhető el egy teljesített objektum.
    Objektum neve: „System.ServiceModel.InstanceContext”.
    a következő helyen: System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposed()
    a következő helyen: System.ServiceModel.InstanceContext.BindIncomingChannel(ServiceChannel channel)
    a következő helyen: System.ServiceModel.Dispatcher.SingletonInstanceContextProvider.GetExistingInstanceContext(Message message, IContextChannel channel)
    a következő helyen: System.ServiceModel.Dispatcher.ChannelHandler.TryRetrievingInstanceContext(RequestContext request)

    Is there any idea, what should I do to solve this problem ?
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom