Jump to content

Streaming Error on Debian


Guest aerandyr
Go to solution Solved by Luke,

Recommended Posts

Guest aerandyr

Hi,

 

i followed the installation instruction from the emby Website for my Debian 7 Server (Openmediavault 2.5).

 

After an faultless Installation and an quick run through the Setup Wizard i struggle with a Problem to stream my media and i can't find the reason.

 

I attached the Server log, can anyone help me?

2016-09-20 17:43:21.6156 Error HttpResultFactory: Error streaming data
	*** Error Report ***
	Version: 3.0.7200.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.2.0.4
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:00:30 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult asyncResult) <0x41510ef0 + 0x00213> in <filename unknown>:0 
	  at SocketHttpListener.Net.ResponseStream.EndWrite (IAsyncResult ares) <0x416298e0 + 0x000bf> in <filename unknown>:0 
	  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, IAsyncResult asyncResult) <0x7fc6f79007d0 + 0x0001b> in <filename unknown>:0 
	  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)
	  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) <0x7fc6f7c2fc30 + 0x00064> 25592 in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fc6f79396e0 + 0x00012> in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.HttpServer.StreamWriter+<WriteToAsync>c__async0.MoveNext () <0x41628d30 + 0x00380> in <filename unknown>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (IAsyncResult result) <0x41511370 + 0x0009f> in <filename unknown>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult asyncResult) <0x41510ef0 + 0x0005b> in <filename unknown>:0 
	
2016-09-20 17:43:21.6183 Error HttpResultFactory: Error streaming data
	*** Error Report ***
	Version: 3.0.7200.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.2.0.4
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:00:30 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult asyncResult) <0x41510ef0 + 0x00213> in <filename unknown>:0 
	  at SocketHttpListener.Net.ResponseStream.EndWrite (IAsyncResult ares) <0x416298e0 + 0x000bf> in <filename unknown>:0 
	  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, IAsyncResult asyncResult) <0x7fc6f79007d0 + 0x0001b> in <filename unknown>:0 
	  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)
	  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) <0x7fc6f7c2fc30 + 0x00064> 25592 in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fc6f79396e0 + 0x00012> in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.HttpServer.StreamWriter+<WriteToAsync>c__async0.MoveNext () <0x41628d30 + 0x00380> in <filename unknown>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (IAsyncResult result) <0x41511370 + 0x0009f> in <filename unknown>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult asyncResult) <0x41510ef0 + 0x0005b> in <filename unknown>:0 
	
2016-09-20 17:43:21.6210 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: The socket has been shut down.
	*** Error Report ***
	Version: 3.0.7200.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.2.0.4
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:00:30 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) <0x41488c50 + 0x00283> in <filename unknown>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, Int32 offset, Int32 count) <0x41488ad0 + 0x0008f> in <filename unknown>:0 
	  at SocketHttpListener.Net.ResponseStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) <0x41486700 + 0x001eb> in <filename unknown>:0 
	  at ServiceStack.Formats.HtmlFormat.SerializeToStream (IRequest req, System.Object response, IResponse res) <0x417ec3c0 + 0x00ce4> in <filename unknown>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (IResponse httpRes, IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, Int32 statusCode) <0x417eaea0 + 0x0022f> in <filename unknown>:0 
	  at ServiceStack.ServiceStackHost.HandleUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) <0x417ead60 + 0x00123> in <filename unknown>:0 
	  at ServiceStack.HostContext.RaiseAndHandleUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) <0x417eabb0 + 0x0007b> in <filename unknown>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException (System.Exception originalEx, IRequest request, IResponse response, System.String defaultContentType) <0x417ea990 + 0x0005f> in <filename unknown>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponse>d__6.MoveNext () <0x4152ef80 + 0x018db> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x7fc6f7c2f140 + 0x00012> 25569 in <filename unknown>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__13.MoveNext () <0x4151e340 + 0x011d3> in <filename unknown>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags) <0x414891c0 + 0x000e3> in <filename unknown>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) <0x41488c50 + 0x000b3> in <filename unknown>:0 
	
2016-09-20 17:43:21.6210 Info HttpServer: HTTP Response 500 to 10.49.177.244. Time: 278ms. http://cloud365.ddns.net:8096/emby/Playback/BitrateTest?Size=2400000
2016-09-20 17:43:21.6238 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: The socket has been shut down.
	*** Error Report ***
	Version: 3.0.7200.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.2.0.4
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:00:30 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) <0x41488c50 + 0x00283> in <filename unknown>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, Int32 offset, Int32 count) <0x41488ad0 + 0x0008f> in <filename unknown>:0 
	  at SocketHttpListener.Net.ResponseStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) <0x41486700 + 0x001eb> in <filename unknown>:0 
	  at ServiceStack.Formats.HtmlFormat.SerializeToStream (IRequest req, System.Object response, IResponse res) <0x417ec3c0 + 0x00ce4> in <filename unknown>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (IResponse httpRes, IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, Int32 statusCode) <0x417eaea0 + 0x0022f> in <filename unknown>:0 
	  at ServiceStack.ServiceStackHost.HandleUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) <0x417ead60 + 0x00123> in <filename unknown>:0 
	  at ServiceStack.HostContext.RaiseAndHandleUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) <0x417eabb0 + 0x0007b> in <filename unknown>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException (System.Exception originalEx, IRequest request, IResponse response, System.String defaultContentType) <0x417ea990 + 0x0005f> in <filename unknown>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponse>d__6.MoveNext () <0x4152ef80 + 0x018db> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x7fc6f7c2f140 + 0x00012> 25569 in <filename unknown>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__13.MoveNext () <0x4151e340 + 0x011d3> in <filename unknown>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags) <0x414891c0 + 0x000e3> in <filename unknown>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) <0x41488c50 + 0x000b3> in <filename unknown>:0 
	
2016-09-20 17:43:21.6238 Info HttpServer: HTTP Response 500 to 10.49.177.244. Time: 364ms. http://cloud365.ddns.net:8096/emby/Playback/BitrateTest?Size=1000000
2016-09-20 17:43:21.6598 Info HttpServer: HTTP GET http://cloud365.ddns.net:8096/emby/videos/94e75570fe8396c2a7acfa6bb402d71a/live.m3u8?DeviceId=9407bbf00ad92de1260e158cb25e07493dc58cf3&MediaSourceId=94e75570fe8396c2a7acfa6bb402d71a&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=127616000&AudioBitrate=384000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=2d9f285a30bd49af9279b24de350aae7&CopyTimestamps=false&EnableSubtitlesInManifest=false&Tag=97afe6f8ea40b7a45e28dde2356bf5fa. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393
2016-09-20 17:43:21.6853 Info App: /usr/bin/ffmpeg -fflags +genpts -i file:"/media/9abb37ec-09b0-499b-863e-6eef30b99755/Filme/Carol (2015).mkv" -map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 127616000 -maxrate 127616000 -bufsize 255232000 -vsync -1 -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -sc_threshold 0 -codec:a:0 ac3 -ac 6 -ab 384000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/2c8995c42fecc305e734a9502d77c79e/" -y "/var/lib/emby-server/transcoding-temp/2c8995c42fecc305e734a9502d77c79e.m3u8"
2016-09-20 17:43:21.8486 Info App: FFMpeg exited with code 1
2016-09-20 17:43:21.9322 Error ServiceStackHost: ServiceBase<TRequest>::Service Exception
	*** Error Report ***
	Version: 3.0.7200.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.2.0.4
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:00:30 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Could not find file "/var/lib/emby-server/transcoding-temp/2c8995c42fecc305e734a9502d77c79e.m3u8".
	System.IO.FileNotFoundException
	  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x7fc6f7aa0a60 + 0x005cd> in <filename unknown>:0 
	  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) <0x7fc6f7aa0720 + 0x0004d> in <filename unknown>:0 
	  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
	  at CommonIO.ManagedFileSystem.GetFileStream (System.String path, FileMode mode, FileAccess access, FileShare share, Boolean isAsync) <0x415cf690 + 0x000bd> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService.GetPlaylistFileStream (System.String path) <0x417e5e20 + 0x000ad> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService+<WaitForMinimumSegmentCount>c__async2.MoveNext () <0x417e53a0 + 0x0018f> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fc6f79396e0 + 0x00012> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService+<ProcessRequestAsync>c__async1.MoveNext () <0x417cc8d0 + 0x00caf> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x7fc6f79398e0 + 0x00017> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService+<ProcessRequest>c__async0.MoveNext () <0x417cc380 + 0x00171> in <filename unknown>:0 
	
2016-09-20 17:43:21.9327 Error HttpServer: Error processing request for /emby/videos/94e75570fe8396c2a7acfa6bb402d71a/live.m3u8?DeviceId=9407bbf00ad92de1260e158cb25e07493dc58cf3&MediaSourceId=94e75570fe8396c2a7acfa6bb402d71a&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=127616000&AudioBitrate=384000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=2d9f285a30bd49af9279b24de350aae7&api_key=2b4500403d774889911cde0a5a657719&CopyTimestamps=false&EnableSubtitlesInManifest=false&Tag=97afe6f8ea40b7a45e28dde2356bf5fa
	*** Error Report ***
	Version: 3.0.7200.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.2.0.4
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:00:30 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Could not find file "/var/lib/emby-server/transcoding-temp/2c8995c42fecc305e734a9502d77c79e.m3u8".
	ServiceStack.HttpError
	No Stack Trace Available
	InnerException: System.IO.FileNotFoundException
	Could not find file "/var/lib/emby-server/transcoding-temp/2c8995c42fecc305e734a9502d77c79e.m3u8".
	  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x7fc6f7aa0a60 + 0x005cd> in <filename unknown>:0 
	  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) <0x7fc6f7aa0720 + 0x0004d> in <filename unknown>:0 
	  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
	  at CommonIO.ManagedFileSystem.GetFileStream (System.String path, FileMode mode, FileAccess access, FileShare share, Boolean isAsync) <0x415cf690 + 0x000bd> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService.GetPlaylistFileStream (System.String path) <0x417e5e20 + 0x000ad> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService+<WaitForMinimumSegmentCount>c__async2.MoveNext () <0x417e53a0 + 0x0018f> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fc6f79396e0 + 0x00012> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService+<ProcessRequestAsync>c__async1.MoveNext () <0x417cc8d0 + 0x00caf> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fc6f793b2a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fc6f7939170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fc6f79390f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fc6f79390a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x7fc6f79398e0 + 0x00017> in <filename unknown>:0 
	  at MediaBrowser.Api.Playback.Hls.BaseHlsService+<ProcessRequest>c__async0.MoveNext () <0x417cc380 + 0x00171> in <filename unknown>:0 
	
2016-09-20 17:43:21.9327 Error ServiceStackHost: 192.168.178.20:8096 Request not found: /emby/videos/94e75570fe8396c2a7acfa6bb402d71a/live.m3u8?DeviceId=9407bbf00ad92de1260e158cb25e07493dc58cf3&MediaSourceId=94e75570fe8396c2a7acfa6bb402d71a&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=127616000&AudioBitrate=384000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=2d9f285a30bd49af9279b24de350aae7&api_key=2b4500403d774889911cde0a5a657719&CopyTimestamps=false&EnableSubtitlesInManifest=false&Tag=97afe6f8ea40b7a45e28dde2356bf5fa

http://cloud365.ddns.net:8096/emby/videos/94e75570fe8396c2a7acfa6bb402d71a/live.m3u8?DeviceId=9407bbf00ad92de1260e158cb25e07493dc58cf3&MediaSourceId=94e75570fe8396c2a7acfa6bb402d71a&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=127616000&AudioBitrate=384000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=2d9f285a30bd49af9279b24de350aae7&api_key=2b4500403d774889911cde0a5a657719&CopyTimestamps=false&EnableSubtitlesInManifest=false&Tag=97afe6f8ea40b7a45e28dde2356bf5fa

{"Protocol":"File","Id":"94e75570fe8396c2a7acfa6bb402d71a","Path":"/media/9abb37ec-09b0-499b-863e-6eef30b99755/Filme/Carol (2015).mkv","Type":"Default","Container":"mkv","Name":"","ETag":"97afe6f8ea40b7a45e28dde2356bf5fa","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[],"PlayableStreamFileNames":[],"Formats":[],"RequiredHttpHeaders":{}}

/usr/bin/ffmpeg -fflags +genpts -i file:"/media/9abb37ec-09b0-499b-863e-6eef30b99755/Filme/Carol (2015).mkv" -map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 127616000 -maxrate 127616000 -bufsize 255232000 -vsync -1 -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -sc_threshold 0 -codec:a:0 ac3 -ac 6 -ab 384000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/2c8995c42fecc305e734a9502d77c79e/" -y "/var/lib/emby-server/transcoding-temp/2c8995c42fecc305e734a9502d77c79e.m3u8"


ffmpeg version 0.8.17-6:0.8.17-2+deb7u2, Copyright (c) 2000-2014 the Libav developers
  built on Jun 14 2016 13:17:03 with gcc 4.7.2
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
[matroska,webm @ 0x101fc60] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'file:/media/9abb37ec-09b0-499b-863e-6eef30b99755/Filme/Carol (2015).mkv':
  Duration: 01:58:35.00, start: 0.000000, bitrate: 384 kb/s
    Chapter #0.0: start 0.000000, end 621.792000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 621.792000, end 1190.750000
    Metadata:
      title           : 00:10:21.792
    Chapter #0.2: start 1190.750000, end 1819.583000
    Metadata:
      title           : 00:19:50.750
    Chapter #0.3: start 1819.583000, end 2507.542000
    Metadata:
      title           : 00:30:19.583
    Chapter #0.4: start 2507.542000, end 3140.875000
    Metadata:
      title           : 00:41:47.542
    Chapter #0.5: start 3140.875000, end 3731.750000
    Metadata:
      title           : 00:52:20.875
    Chapter #0.6: start 3731.750000, end 4250.583000
    Metadata:
      title           : 01:02:11.750
    Chapter #0.7: start 4250.583000, end 4860.333000
    Metadata:
      title           : 01:10:50.583
    Chapter #0.8: start 4860.333000, end 5516.042000
    Metadata:
      title           : 01:21:00.333
    Chapter #0.9: start 5516.042000, end 6163.083000
    Metadata:
      title           : 01:31:56.042
    Chapter #0.10: start 6163.083000, end 6874.708000
    Metadata:
      title           : 01:42:43.083
    Chapter #0.11: start 6874.708000, end 7115.008000
    Metadata:
      title           : 01:54:34.708
    Stream #0.0: Video: h264 (High), yuv420p, 720x388 [PAR 1:1 DAR 180:97], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
    Metadata:
      BPS             : 918918
      BPS-eng         : 918918
      DURATION        : 01:58:35.000000000
      DURATION-eng    : 01:58:35.000000000
      NUMBER_OF_FRAMES: 170760
      NUMBER_OF_FRAMES-eng: 170760
      NUMBER_OF_BYTES : 817263034
      NUMBER_OF_BYTES-eng: 817263034
      _STATISTICS_WRITING_APP: mkvmerge v7.7.0 ('Six Voices') 64bit built on Feb 28 2015 23:39:33
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.7.0 ('Six Voices') 64bit built on Feb 28 2015 23:39:33
      _STATISTICS_WRITING_DATE_UTC: 2016-04-13 17:11:14
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-04-13 17:11:14
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
    Metadata:
      BPS             : 384000
      BPS-eng         : 384000
      DURATION        : 01:58:35.008000000
      DURATION-eng    : 01:58:35.008000000
      NUMBER_OF_FRAMES: 222344
      NUMBER_OF_FRAMES-eng: 222344
      NUMBER_OF_BYTES : 341520384
      NUMBER_OF_BYTES-eng: 341520384
      _STATISTICS_WRITING_APP: mkvmerge v7.7.0 ('Six Voices') 64bit built on Feb 28 2015 23:39:33
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.7.0 ('Six Voices') 64bit built on Feb 28 2015 23:39:33
      _STATISTICS_WRITING_DATE_UTC: 2016-04-13 17:11:14
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-04-13 17:11:14
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Link to comment
Share on other sites

  • 5 months later...
dyleck

I have similiar problem but only when trying to stream on Android. iOS, Kodi, web all work fine. I have the latest ffmpeg however I compiled it by myself as I required vaapi support. Attaching logs, I hope you could make a good use of them.

log.txt

Link to comment
Share on other sites

The log looks OK so there's no obvious problem. The bitrate is very low though, can you try increasing it in the android app? thanks.

Link to comment
Share on other sites

dyleck

x264 encoded Full HD does not work when bitrate setting is lower then 720p/4Mbit. I tried another video - Xvid 480p - this does not work when bitrate is set to lower then 720p/3Mbit. When it is set to values at least as I mentioned it seems to be working fine.

Link to comment
Share on other sites

You mean x264 re-encoded with va api? Because just libx264 by itself can re-encode at low bitrates without any problem.

Link to comment
Share on other sites

dyleck

You mean x264 re-encoded with va api? Because just libx264 by itself can re-encode at low bitrates without any problem.

 

Yes, That's what I meant. It's pretty strange behaviour I must say - the temporary file which ffmpeg outputs plays at external players without any issues at all.

Link to comment
Share on other sites

  • 2 months later...
crypto

Could be same error for streaming to chromecast ultra 

2017-05-17 02:18:00.7780 Info HttpServer: HTTP POST http://192.168.0.121:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.71 Safari/537.36 CrKey/1.23.84839
2017-05-17 02:18:00.7801 Info HttpServer: HTTP Response 204 to 192.168.0.135. Time: 2ms. http://192.168.0.121:8096/emby/Sessions/Playing/Progress
2017-05-17 02:18:04.9209 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.2.15.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.8.0.51
	64-Bit OS: True
	64-Bit Process: True
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Wed Mar 15 20:21:06 UTC 2017)
	Processor count: 4
	Program data path: /var/lib/emby-server
	Application directory: /usr/lib/emby-server/bin
	System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	   --- End of inner exception stack trace ---
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <16e555538fa3419aa31c6734107246df>:0 
	  at SocketHttpListener.Net.ResponseStream+<WriteAsync>c__async0.MoveNext () [0x0017c] in <16e555538fa3419aa31c6734107246df>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier+<CopyToAsyncInternal>c__async1.MoveNext () [0x000a2] in <c9f72e060467472a86c30857fa934fa2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier+<WriteToAsync>c__async0.MoveNext () [0x0018a] in <c9f72e060467472a86c30857fa934fa2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.Services.ResponseHelper+<WriteToResponseInternal>c__async0.MoveNext () [0x00309] in <3dceb19b4fe84262b8e5b8379d4e12b1>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x002a6] in <3dceb19b4fe84262b8e5b8379d4e12b1>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x00674] in <3dceb19b4fe84262b8e5b8379d4e12b1>:0 
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <16e555538fa3419aa31c6734107246df>:0 
	  at SocketHttpListener.Net.ResponseStream+<WriteAsync>c__async0.MoveNext () [0x0017c] in <16e555538fa3419aa31c6734107246df>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier+<CopyToAsyncInternal>c__async1.MoveNext () [0x000a2] in <c9f72e060467472a86c30857fa934fa2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at MediaBrowser.Api.Playback.Progressive.ProgressiveFileCopier+<WriteToAsync>c__async0.MoveNext () [0x0018a] in <c9f72e060467472a86c30857fa934fa2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.Services.ResponseHelper+<WriteToResponseInternal>c__async0.MoveNext () [0x00309] in <3dceb19b4fe84262b8e5b8379d4e12b1>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x002a6] in <3dceb19b4fe84262b8e5b8379d4e12b1>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x00674] in <3dceb19b4fe84262b8e5b8379d4e12b1>:0 
	InnerException: System.Net.Sockets.SocketException
	System.Net.Sockets.SocketException (0x80004005): The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2017-05-17 02:18:04.9209 Info HttpServer: HTTP Response 500 to 192.168.0.135. Time: 156040ms. http://192.168.0.121:8096/emby/videos/7994233d39b606f5bb6ee1aeb8ba7916/stream.mkv?DeviceId=9581a813856b52d17fbe15d3b6f427e387e70375&MediaSourceId=7994233d39b606f5bb6ee1aeb8ba7916&VideoCodec=h264,h265,hevc&AudioCodec=ac3,mp3,aac&AudioStreamIndex=1&VideoBitrate=40000000&AudioBitrate=384000&PlaySessionId=af3f0d50dc314e9cb4bfdc2279558019&CopyTimestamps=true&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8810c5d68436b8c4fa5e0f6c7cf74c6c&RequireAvc=false&RequireNonAnamorphic=false&DeInterlace=false
2017-05-17 02:18:04.9249 Info HttpServer: HTTP POST http://192.168.0.121:8096/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.71 Safari/537.36 CrKey/1.23.84839
2017-05-17 02:18:04.9265 Info App: Stopping ffmpeg process with q command for /var/lib/emby-server/transcoding-temp/8ea0d629bef0b30d2fe28514ded943a7.mkv
2017-05-17 02:18:05.0159 Info App: FFMpeg exited with code 0
2017-05-17 02:18:05.0159 Info App: Deleting partial stream file(s) /var/lib/emby-server/transcoding-temp/8ea0d629bef0b30d2fe28514ded943a7.mkv
2017-05-17 02:18:05.0159 Info SessionManager: Playback stopped reported by app Chromecast 2.1.0 playing The Raid. Stopped at 138291 ms

5Ghz wireless 3 feet from router.  Movie freezes every minute or so.  TV shows are fine.

ffmpeg-Log.txt

Link to comment
Share on other sites

crypto

I noticed the remote emby server needed some updates(emby and distro), I updated and playback is not really freezing anymore.  It did freeze couple of times at the start and it seemed to do with the audio, DTS -> stereo maybe?  Either way, seems fixed.

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...