Jump to content

Question about my network


TheShanMan
Go to solution Solved by ebr,

Recommended Posts

TheShanMan

I'm seeing transcoding in WMC which I've never had happen before with media accessed via UNC and I'm not sure why or what to do to fix it. I assume if I see "buffering" on screen during playback that's an indication of transcoding since I've never seen it before and as far as I know it has always done direct playback. I see some lines like this earlier today:

 

2016-12-17 10:00:14.5784 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 4173169, max bitrate: 37550
2016-12-17 10:00:14.5784 Info App: Profile: Unknown Profile, Path: \\theater\Media\Video\Adults\TV\Fixer Upper\Season 4\Fixer.Upper.S04E01.A.Dog-Loving.Couple.Searches.for.Their.First.Home.720p.WEB-DL.AAC2.0.H.264-koalf.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False
 
But if I play the same file now it seems to transcode even though I don't have similar log messages now.
 
I'm not sure if it's related but I see a gazillion of these exception stack traces in my log file:
 
2016-12-17 19:11:53.9007 Error HttpServer: Error processing request
*** Error Report ***
Version: 3.1.6193.27714
Command line: C:\Users\myself\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
64-Bit OS: True
64-Bit Process: True
Processor count: 4
Program data path: C:\Users\myself\AppData\Roaming\MediaBrowser-Server
Application directory: C:\Users\myself\AppData\Roaming\MediaBrowser-Server\System
System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
  at System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult)
  at System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
  at System.IO.Stream.<>c.<BeginEndWriteAsync>b__53_1(Stream stream, IAsyncResult asyncResult)
  at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at SocketHttpListener.Net.ResponseStream.<WriteAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier.<CopyToAsyncInternal>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier.<WriteToAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at ServiceStack.HttpResponseExtensionsInternal.<WriteToOutputStream>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at ServiceStack.HttpResponseExtensionsInternal.<WriteToResponseInternal>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at ServiceStack.Host.RestHandler.<ProcessRequestAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__60.MoveNext()
System.IO.IOException
  at System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
  at System.IO.Stream.<>c.<BeginEndWriteAsync>b__53_1(Stream stream, IAsyncResult asyncResult)
  at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at SocketHttpListener.Net.ResponseStream.<WriteAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier.<CopyToAsyncInternal>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier.<WriteToAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at ServiceStack.HttpResponseExtensionsInternal.<WriteToOutputStream>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at ServiceStack.HttpResponseExtensionsInternal.<WriteToResponseInternal>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at ServiceStack.Host.RestHandler.<ProcessRequestAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__60.MoveNext()
InnerException: System.Net.Sockets.SocketException
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
  at System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult)
  at System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
  at System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult)
  at System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
 

How do I ensure that it gets back to playing media directly?

Link to comment
Share on other sites

  • Solution

EMC doesn't even use the profile system unless it cannot directly access your media.

 

So this has to be an access issue.  For some reason, the EMC client cannot access the media location directly.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...