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

Status
Not open for further replies.

Lyfesaver74

Public Relations
  • Premium Supporter
  • September 25, 2010
    1,542
    1,122
    Texas
    Home Country
    United States of America United States of America
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    I finally got the Live TV Streaming to work on my LAN. The problem was that I had to use VLC plugin (on firefox) and choose "Direct". The problem when using Flash HQ and LQ was that I saw the TV picture for only a couple of seconds than it stopped.

    I also had my firewall turned off on my server (Win 7 Ultimate 32)

    Looking good but difficult to change channels (takes time).

    Great work looking forward to be able to watch TV form outside my LAN, any timescheduel for this?

    :)

    u can follow the progress if WAN streaming here : https://github.com//MPExtended/issues/110
     

    cry_wolf

    Portal Pro
    February 26, 2010
    51
    7
    Home Country
    Sweden Sweden
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    I'm unable to stream recordings with swedish caracters å ä ö in the filename.

    12:28:56,5699307 MPExtended.Libraries.VLCWrapper.exe 8012 ReadFile C:\Windows\SysWOW64\ntdll.dll SUCCESS Offset: 529*408, Length: 24*576, I/O Flags: Non-cached, Paging I/O, Synchronous Paging I/O, Priority: Normal
    12:28:56,5841590 MPExtended.Libraries.VLCWrapper.exe 8012 CreateFile V:\Mediaportal\Record SUCCESS Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    12:28:56,5841989 MPExtended.Libraries.VLCWrapper.exe 8012 QueryDirectory V:\Mediaportal\Record\Sportens �rskr�nika - SVT2 V�stNytt - 2012-01-05.ts NO SUCH FILE Filter: Sportens �rskr�nika - SVT2 V�stNytt - 2012-01-05.ts
    12:28:56,5842327 MPExtended.Libraries.VLCWrapper.exe 8012 CloseFile V:\Mediaportal\Record SUCCESS
     

    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

    Ok, now that we've got our own subforum, please open a new thread if you (still) have problems. Keeping everything in a single thread is very messy.

    I'm unable to stream recordings with swedish caracters å ä ö in the filename.
    I'm working on it.

    Yeah, I have to make the time before a stream is killed a bit shorter.
    Probably a lot shorter, this makes it damn near impossible to change channels right now. :/
    Good point, but I can't make it too short either as that will cause (low bitrate) streams to be killed while they are still streaming.

    Here is what i got wile running procmon and klicking the save button:
    (It doesn't format well but it seems to be looking for the web.config in the wrong dir. (www/settings)
    For the people using IIS:
    • If you can't login, try to replace C:\Program Files (x86)\MPExtended\WebMediaPortal\www\bin\MPExtended.Libraries.General.dll with the one attached to this post.
    • If you can't save your settings, give the IIS_IUSRS group write access to C:\Windows\TEMP, as explained in the documentation.
    If you've done that and still have problems, please create a new thread with your logs attached.
     

    Aredon

    Portal Member
    June 26, 2011
    32
    26
    Home Country
    United States of America United States of America
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    I finally got the Live TV Streaming to work on my LAN. The problem was that I had to use VLC plugin (on firefox) and choose "Direct". The problem when using Flash HQ and LQ was that I saw the TV picture for only a couple of seconds than it stopped.

    I also had my firewall turned off on my server (Win 7 Ultimate 32)

    Looking good but difficult to change channels (takes time).

    Great work looking forward to be able to watch TV form outside my LAN, any timescheduel for this?

    :)
    I can confirm everything stated here, but I'll also add that I monitored CPU load for flash. The machine I'm running has a P4 @ 2.4Ghz, it appears as though the flash trans-coding is taking too much processing power (had to hard power-off the machine a few times). Encoding the analogue card is already taking ~60% of that, and I assume the flash needs even more. Granted this may just be an issue of not having enough processing power, but it seems to me that encoding twice is a little inefficient. I'm not sure what can be done about it though. :/
     

    Stefan1000

    MP Donator
  • Premium Supporter
  • September 15, 2007
    166
    15
    Home Country
    Germany Germany
    AW: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    Hello,

    first thank you for this great plugin. Is it possible to hide the "TV Shows" link in the web interface? I don´t use "TV Series".

    Thank you very much

    Greetings Stefan
     

    Sinbe

    Portal Pro
    December 12, 2007
    70
    0
    Home Country
    Finland Finland
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    Thanks for the plugin, it looks like it will be a great addition to MP, but it's still very buggy. Few things that annoy me:

    -Sometimes it slows down when opening a page, gives an error message or crashes my browser (Opera). This seems very random and most of the time it works fine.

    -With only one dvb-card the timeout of 2 minutes is a lot to wait when switching channels

    -Forced encoding with flash plugin and no fullscreen with VLC plugin makes streaming almost useless for me.
    • Does the flash plugin allow remuxing instead of encoding to h264?
    • If it does, will it use hardware deinterlacing?
    • If this isn't possible, please add an option to open the video with VLC so I can stream without encoding, open in fullscreen and use either Yadif(2x) or hardware deinterlacing.

    -Encoding profiles are too heavy for my dualcore cpu. With the older MPWebServices I had a few good profiles that I could run with live tv. I don't know how to use them to this version as they are for mencoder. Maybe someone can help?
    Code:
    [B]2,5Mbps Yadif:[/B] -quiet -cache 8192 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=2200:autoaspect -sws 2 -vf crop=688:550:16:13,yadif=1,scale=640:512 -fps 50 -ofps 50 -aid 64 -oac mp3lame -lameopts preset=standard -o
    
    [B]2,0Mbps Yadif:[/B] -quiet -cache 8192 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=1700:autoaspect -sws 2 -vf crop=688:550:16:13,yadif=1,scale=640:512 -fps 50 -ofps 50 -aid 64 -oac mp3lame -lameopts preset=standard -o 
    
    [B]1,5Mbps Yadif:[/B] -quiet -cache 8192 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=1200:autoaspect -sws 2 -vf crop=680:544:20:16,yadif=1,scale=560:448 -fps 50 -ofps 50 -aid 64 -oac mp3lame -lameopts preset=standard -o
    
    [B]1,0Mbps Yadif:[/B] -quiet -cache 8192 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:v4mv:vmax_b_frames=8:turbo:vbitrate=800:autoaspect -sws 2 -vf crop=680:544:20:16,yadif=3,scale=512:288 -fps 50 -ofps 50 -aid 64 -oac mp3lame -srate 32000 -lameopts mode=3:cbr:br=64 -o

    -I can't play any music, I get the following error:

    Code:
    Sorry, an error occurred while processing your request. 
    
    There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
    
    
    Server stack trace: 
       at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
       at System.ServiceModel.Channels.SessionConnectionReader.Receive(TimeSpan timeout)
       at System.ServiceModel.Channels.SynchronizedMessageSource.Receive(TimeSpan timeout)
       at System.ServiceModel.Channels.FramingDuplexSessionChannel.Receive(TimeSpan timeout)
       at System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceive(TimeSpan timeout, Message& message)
       at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    
    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 MPExtended.Services.MediaAccessService.Interfaces.IMediaAccessService.GetMusicTrackDetailedById(Nullable`1 provider, String id)
       at MPExtended.Applications.WebMediaPortal.Controllers.MusicLibraryController.Play(String track)
       at lambda_method(Closure , ControllerBase , Object[] )
       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
    
    The read operation failed, see inner exception.
    
    
       at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    
    There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
    
    
       at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
       at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
       at System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
    
    There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
    
    
       at System.ServiceModel.Channels.PipeConnection.FinishSyncRead(Boolean traceExceptionsAsErrors)
       at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)

    -Direct -profile with HD movies and series doesn't seem to work. It doesn't give me an error message, but no picture or sound with the VLC plugin. SD works fine, as does encoding profiles, but again my CPU is too slow.
     

    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

    I can confirm everything stated here, but I'll also add that I monitored CPU load for flash. The machine I'm running has a P4 @ 2.4Ghz, it appears as though the flash trans-coding is taking too much processing power (had to hard power-off the machine a few times). Encoding the analogue card is already taking ~60% of that, and I assume the flash needs even more. Granted this may just be an issue of not having enough processing power, but it seems to me that encoding twice is a little inefficient. I'm not sure what can be done about it though. :/
    Unfortunately there is no browser support for MPEG TS streams, so we need to transcode it. With digital cards that happens only once, but with some software-encoding analogue cards it happens twice indeed. Until there's MPEG TS support in browsers we can't do much about that unfortunately.

    first thank you for this great plugin. Is it possible to hide the "TV Shows" link in the web interface? I don´t use "TV Series".
    Good idea, added to todolist for next version.

    -Sometimes it slows down when opening a page, gives an error message or crashes my browser (Opera). This seems very random and most of the time it works fine.
    If it crashes your browser, that's by definition a bug in Opera, as browsers shouldn't crash. I noticed the slowdowns too but didn't find the reason for it yet, but I'm working on it. When you get an error, which error is it?

    -With only one dvb-card the timeout of 2 minutes is a lot to wait when switching channels
    Yeah, I added the option to disable that timeout to the next version (it's optional because it makes performance a bit worse).

    -Forced encoding with flash plugin and no fullscreen with VLC plugin makes streaming almost useless for me.
    • Does the flash plugin allow remuxing instead of encoding to h264?
    • If it does, will it use hardware deinterlacing?
    • If this isn't possible, please add an option to open the video with VLC so I can stream without encoding, open in fullscreen and use either Yadif(2x) or hardware deinterlacing.
    Remuxing gives all kind of funny issues with bitstream formats because the TV streams don't conform to the H.264 specification in 99% of the cases. It also won't work for streaming media that's not H.264. Deinterlacing can be added to the streams, not sure if ffmpeg/vlc support hardware deinterlacing for encoding though. Shouldn't matter much as deinterlacing doesn't use much CPU.
    Opening VLC from a browser isn't possible due to security restrictions, but I'll add a link that you can copy to VLC.

    -Encoding profiles are too heavy for my dualcore cpu. With the older MPWebServices I had a few good profiles that I could run with live tv. I don't know how to use them to this version as they are for mencoder. Maybe someone can help?
    Only ffmpeg and vlc are supported for transcoding.

    -I can't play any music, I get the following error:
    Please post your log files (preferably in a new thread).

    -Direct -profile with HD movies and series doesn't seem to work. It doesn't give me an error message, but no picture or sound with the VLC plugin. SD works fine, as does encoding profiles, but again my CPU is too slow.
    That's probably an issue with the VLC browser plugin and we can't do anything about that.
     

    Aredon

    Portal Member
    June 26, 2011
    32
    26
    Home Country
    United States of America United States of America
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    first thank you for this great plugin. Is it possible to hide the "TV Shows" link in the web interface? I don´t use "TV Series".
    Good idea, added to todolist for next version.
    You may want to hold off on that, I have a lot of navigation changes to run by you that will include the disappearance of this link. :)
     

    Sinbe

    Portal Pro
    December 12, 2007
    70
    0
    Home Country
    Finland Finland
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    -I can't play any music, I get the following error:
    Please post your log files (preferably in a new thread).

    I doubt it's a bug, but rather something with my system as no-one else has posted anything on it. I tried reinstalling the whole MPE, but no luck. I've attached the logs.

    The error I got when going through pages fast has something to do with "pipes", but I cannot reproduce it at the moment. Maybe the reinstall fixed that.

    Edit: Found another problem. Cannot seem to access TV guide anymore. Guide in MP works fine. Error message is as follows:

    Code:
    Sorry, an error occurred while processing your request. 
    
    Value cannot be null or empty. Parameter name: linkText

    Logs attached for this too.
     

    Attachments

    • nomusic.zip
      22.7 KB
    • no_guide.zip
      34.1 KB

    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

    Great work on this .. but I'm wondering how to get it working on my iPhone and iPad ?

    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.

    Regards
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom