Jump to content

Roommate Can't Cast Movies To His Chromecast, I Can Cast To Mine W/O Issue


Recommended Posts

brando56894
Posted (edited)

I didn't really know which section to put this in because it deals with a lot of things. I have Emby Server Beta running under Arch Linux; both my roommate and I use Android devices; he has an actual Google Chromecast (the original) whereas I have cast functionality in my Nvidia Shield Android TV console, both are connected via Wifi. 

 

He mentioned to me about 20 minutes ago that "Emby wasn't working" (he's not tech savvy), I quickly tested out the app on my Pixel C and saw everything was working fine. I went into his room and saw that movies he casted were never starting on his TV. I tried them out just on his phone and they worked after taking a few seconds to start, so I assumed that his Chromecast was the issue, I had him reboot it and still they didn't work. I told him to cast a TV show and it worked fine. Now this really started to confuse me, but then I remembered that I had just upgraded the quality of all my movies to either 1080p or 2160p (4k).

 

Update: right before I was about to post this, he started playing "This is the End" so it seems some movies do work for him...The plot thickens....

 

I started looking through my Emby logs and saw stack traces galore!  :o

 

This is the same one that keeps popping up

2017-01-09 00:13:38.7614 Error HttpServer: Error processing request
    *** Error Report ***

    Version: 3.1.270.0

    Command line: /usr/lib/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe

    Operating system: Unix 4.4.39.1

    64-Bit OS: True

    64-Bit Process: True

    Mono: 4.6.1 (Stable 4.6.1.3/abb06f1 Mon Oct 3 07:51:42 UTC 2016)

    Processor count: 16

    Program data path: /var/lib/emby

    Application directory: /usr/lib/emby-server

    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.EndSend (System.IAsyncResult result) [0x00033] in <6c7c03f48a9747c8a644da4f63a34480>:0

     at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <6c7c03f48a9747c8a644da4f63a34480>:0

     --- End of inner exception stack trace ---

     at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x000af] in <6c7c03f48a9747c8a644da4f63a34480>:0

     at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>: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[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00002] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at SocketHttpListener.Net.ResponseStream+<WriteAsync>c__async0.MoveNext () [0x0020c] in <36e58189ebe04896a53a44f66335ff4f>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.IO.Stream+<CopyToAsyncInternal>c__async0.MoveNext () [0x0009b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at Emby.Server.Implementations.HttpServer.RangeRequestWriter+<WriteToAsync>c__async0.MoveNext () [0x000eb] in <6c7a6747f08f43aa82a39edace221eb0>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at ServiceStack.HttpResponseExtensionsInternal+<WriteToOutputStream>c__async0.MoveNext () [0x000a6] in <b71d0b05346344a58a9465deb0627c9a>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponseInternal>c__async1.MoveNext () [0x002d1] in <b71d0b05346344a58a9465deb0627c9a>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at ServiceStack.Host.RestHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x00253] in <b71d0b05346344a58a9465deb0627c9a>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x00668] in <6c7a6747f08f43aa82a39edace221eb0>:0

    System.IO.IOException

     at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x000af] in <6c7c03f48a9747c8a644da4f63a34480>:0

     at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>: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[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00002] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at SocketHttpListener.Net.ResponseStream+<WriteAsync>c__async0.MoveNext () [0x0020c] in <36e58189ebe04896a53a44f66335ff4f>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.IO.Stream+<CopyToAsyncInternal>c__async0.MoveNext () [0x0009b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at Emby.Server.Implementations.HttpServer.RangeRequestWriter+<WriteToAsync>c__async0.MoveNext () [0x000eb] in <6c7a6747f08f43aa82a39edace221eb0>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at ServiceStack.HttpResponseExtensionsInternal+<WriteToOutputStream>c__async0.MoveNext () [0x000a6] in <b71d0b05346344a58a9465deb0627c9a>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponseInternal>c__async1.MoveNext () [0x002d1] in <b71d0b05346344a58a9465deb0627c9a>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at ServiceStack.Host.RestHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x00253] in <b71d0b05346344a58a9465deb0627c9a>:0

    --- End of stack trace from previous location where exception was thrown ---

     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

     at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x00668] in <6c7a6747f08f43aa82a39edace221eb0>:0

    InnerException: System.Net.Sockets.SocketException

    System.Net.Sockets.SocketException (0x80004005): The socket has been shut down

     at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <6c7c03f48a9747c8a644da4f63a34480>:0

     at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <6c7c03f48a9747c8a644da4f63a34480>:0

     at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <6c7c03f48a9747c8a644da4f63a34480>:0

     at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <6c7c03f48a9747c8a644da4f63a34480>:0

It showed one for every movie that he attempted to play.  

 

I pulled up Emby on my Pixel C, connected to my Shield's Chromecast, then started to play a movie he was having issues with, after a few seconds of loading (it's wifi after all) it started to play without issue! So I'm about 99% sure the problem is his Chromecast, but I wanted to see if there was anything I could do on the server end to fix this before I tell him the bad news haha

 

Another issue that I thought of, but may not actually be a problem is I'm not sure if his Chromecast is connected via 2.4 GHz n or 5 GHz b/g, I know my Shield is connected via 5 GHz AC.

 

I attached a log from the time he started trying to play stuff (midnight), but I didn't have debug logging enabled. If enough info can't be gleaned from a regular log, I'll upload a debug log later.

server-63619516800.txt

Edited by brando56894
Posted

Hi, welcome. Please attach the ffmpeg logs as well from these attempts. Thanks.

brando56894
Posted (edited)

Instead trying to figure out which ffmpeg logs were his and which were mine, I've attached the whole logs directory for you to analyze.

logs.zip

Edited by brando56894
Posted

You have ffmpeg 3.2 installed. There is a regression (bug) introduced into ffmpeg 3.2, which is affecting all of our transcoded playback to both Chromecast and Android. This is the cause of the failure. We have submitted a patch to ffmpeg and they have accepted it and merged it in, so if you can update your ffmpeg that should resolve the issue.

 

I do not know if ffmpeg for your distro will have the changes yet, but it should be in this nightly build here:

 

https://www.johnvansickle.com/ffmpeg/

 

Let me know if you have any questions. Thanks !

  • Like 1
brando56894
Posted (edited)

I just replaced my ffmpeg-3.2.2-2 package with ffmpeg-git (ffmpeg version N-83034-gf48b6b8b91 is the one I just built) and restarted Emby-Server and when I tried to cast a movie that had an issue before it acts like it's playing (my server is transcoding the video and Emby's dashboard shows that it is playing and transcoding), yet on the TV all I see is a black screen. No sound, no video. After a quick run through of the logs, it looks like it's the same issue....

ffmpeg-transcode-89fca3d8-20fc-4831-8df6-969ed0ae7be0.txt

ffmpeg-transcode-297f3086-4ab7-46e5-9b84-84d573def133.txt

server-63619650671.txt

Edited by brando56894
Posted

Perhaps it direct played without transcoding.

brando56894
Posted

I guess that could be the case since my Shield can do 4K and the Chromecast can't. You caught me in the middle of editing the above post, even switching to the git package of ffmpeg still produces the same issue, I've attached the logs to the above post.

brando56894
Posted (edited)

I don't see why it wouldn't have the patch, considering I'm pulling from the official ffmpeg git repo  :huh:

 

from the ffmpeg-git PKGBUILD:

source=("$pkgname"::'git://source.ffmpeg.org/ffmpeg.git')
Edited by brando56894
Posted

Then go ahead and provide new logs.

Posted

Ok, it appears you're just not getting fast enough transcoding for this to be playable. This is a big 4K input file so that is probably why. Also keep in mind you're running the pre-release server which has experimental changes.

 

I would suggest starting with a smaller, simpler file that will make for an easier test.

brando56894
Posted (edited)

Ok, it appears you're just not getting fast enough transcoding for this to be playable. 

 

 

Really? I find that slightly hard to believe because my server has a Intel Xeon D1540 which has 8 physical cores (16 w/hyperthreading) running at 2 GHz with 64 GB of DDR4 ECC RAM. It's pulling from my ZFS pool (6 mirrored pairs) which does about 500 MB/sec. My CPU is only about 60-90% used during the transcoding, I've been monitoring it using Netdata. I also have my thread count set to max in the transcoding section. I'd imagine it's not your typical Emby server that most people run haha   I could see where the transmission over wifi is too slow to keep up because his Chromecast is either using G or N, instead of AC like my Shield does.

 

I'll give it a try with a 1080P file.

 

Edit: just successfully casted 3 1080P files and they started within about 10 seconds. Interesting.

 

Edit 2: Just casted a 4K file to my Shield and it does in fact have to transcode the file, the file started to play after about a 5 second delay, so my server is definitely fast enough to transcode the 4K files.

Edited by brando56894

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