Jump to content

Emby server can't correctly stream/control MKV files on Chromecast HD


Recommended Posts

Posted
1 hour ago, cayars said:

I'm going to ask @softworkz to jump in looking at the logs in the post above this one to see if he sees any problem or has any special tests to try.
Softworkz I've teamviewed in with him going over this and did a couple tests.  One set of tests was playing back from his server remotely from my location on a new Chromecast which does not have the issue.  Then reversing this and casting to his chromecast something from my system which plays back fine for me but again, not for him.

One thought I had was that he has both old (original CC) and the new CC he's flipping back and forth using.  Could this be causing an issue confusing Google's casting by somehow getting the capabilities wrong or mixed up when the Origin=https://mediabrowser.github.io? I ask because it seemed like the dashboard was getting mixed up on which device was playing.

I think, @Luke can better answer that, I never had a ChromeCast myself.

Posted

Can you take a look at it in general?
Might be helpful to understand why ffmpeg is spawned so many times and why the logs are cut off.

Posted

Just small update from my side:

-Native emby android tv app seems to work fine now on ccwgtv4k since (one of) the last updates. No stutter, unsupported audio is converted correctly by transcoding (I manually selected supported formats in the ccwgtv4k settings menu and enabled passthrough+conversion in the emby app), skip/resume works fine. Great!

-Casting still same issue: when transcoding the same file as above (due to unsupported audio format) I cannot skip/resume (audio plays, video freezes).

 

  • Agree 1
nospotify
Posted

@cayars @Luke Here are two more examples of people facing the same problem:

 

 

 

kingmustard
Posted
33 minutes ago, wordlover said:

@cayars @Luke Here are two more examples of people facing the same problem:

 

 

 

Me, too:

 

  • Agree 1
Posted
4 hours ago, wordlover said:

@cayars @Luke Here are two more examples of people facing the same problem:

 

Appreciate the link. So strange as I've done my testing using Chromecast with Google TV 4K version and haven't been able to reproduce the problem.

I do not have any original Chromecasts online just the newer 4K version and can't help but wonder if the problem shows up when different generation of Chromecasts are seen by Google at the WAN port.  Perhaps it's getting confused on ability of the devices. It has to be something strange like that for it to only affect certain people and not others.

Carlo
 

Posted
4 hours ago, cayars said:

Appreciate the link. So strange as I've done my testing using Chromecast with Google TV 4K version and haven't been able to reproduce the problem.

I do not have any original Chromecasts online just the newer 4K version and can't help but wonder if the problem shows up when different generation of Chromecasts are seen by Google at the WAN port.  Perhaps it's getting confused on ability of the devices. It has to be something strange like that for it to only affect certain people and not others.

Carlo
 

May be, I have the original 4k version but hooked up via the lan adapter (not wifi).

Posted

I shouldn't improve, but just to make sure, could try a couple movies on wifi vs lan adapter just to see if there is any playback difference?

Posted
10 hours ago, cayars said:

I shouldn't improve, but just to make sure, could try a couple movies on wifi vs lan adapter just to see if there is any playback difference?

Tried with original adapter on wifi but no difference to ethernet.

  • 3 weeks later...
nospotify
Posted

Any progress on this @Luke? I first reported these problems three months ago, and others have, too, in this thread and others. Is the issue with transcoding? Incompatibility with the latest Chromecast dongle software? Even an inadvertent touch of playback controls (when using CCHDwGTV, for viewing HD video files that can't be played properly via the original Chromecast dongle) means there is literally no way to resume playback without restarting from the beginning and letting it play until it catches up to where the glitch occurred - 30, 60, 90 minutes, etc.

kingmustard
Posted

An update: I was at a friends and connected my Samsung Galaxy S5e tablet the TV via a Type-C dongle to the HDMI port on the TV and it happened then, too.

Works fine on the tablet itself.

Can't just be a Chromecast issue and as the same thing occurs with Plex, it can't just be an Emby thing, either.

nospotify
Posted

Interesting. I have not had any playback problems except via the new CC dongle.

  • 4 weeks later...
nospotify
Posted

OK @Luke and @cayars, here is a full package of files demonstrating the continuing Emby-ChromecastHD problems, this time with direct comparisons to correct playback on the old Chromecast. I finally found a movie that plays on both devices and still breaks when trying to resume or change position when casting to the new CC.

Situation: cast and played a movie to CCHD for 1:15:00 or so, then paused it. A few minutes later came back to resume playback, but CC connection had been lost by Emby, so  I reconnected and tried to Resume. Nope. Same problems as reported above and above and above in this thread, by multiple users: couldn't resume, then after restarting from the beginning, I couldn't return to the 1:15 time, or any other time.

On a whim I tried to playback on old CC, and this file worked. I was able to cast, play, jump to 1:15, and watch the movie. Now attached are server log of this entire process, all ffmpeg files, and the media info screen. This HAS to give you whatever you need to figure out why Emby isn't working properly with the modern Chromecast HD device and most updated software, yes?

mediainfo.png

embyserver.txt ffmpeg-remux-2caf23b4-0be2-4424-b094-a76f25cd4ee0_1.txt ffmpeg-remux-8d607799-5ba0-4dc7-9085-37fdb5c81a25_1.txt ffmpeg-remux-20bf31d9-eef8-47d4-8007-ff66a42a2149_1.txt ffmpeg-remux-20e7fc1b-81a7-4538-8efa-63dc2a4970ed_1.txt ffmpeg-remux-27e11c81-2b34-4c45-8a83-e4c9ecafd83c_1.txt ffmpeg-remux-64ff8c41-4e5a-4244-a176-ce70cd9317c8_1.txt ffmpeg-remux-397c0cce-88f2-4e82-9cfa-eeac2722b3a1_1.txt ffmpeg-remux-702b0e51-b8f6-4da8-900c-a596941821a2_1.txt ffmpeg-remux-96530b00-9105-4477-82ee-4f5b8c4ef8b7_1.txt ffmpeg-remux-36136946-87e3-4c17-baae-8c8d8bb2a016_1.txt ffmpeg-remux-a1ce9e0d-a05f-452e-ad21-e454babf1393_1.txt ffmpeg-remux-a7e241d5-d3bb-45fa-9692-5e5197d541ed_1.txt ffmpeg-remux-cf207820-1010-4070-a691-054c74ce604f_1.txt ffmpeg-remux-de239720-a05b-41b8-a7db-abdef583051e_1.txt ffmpeg-remux-eee97717-1d8d-41e3-8908-1d445ef1f10c_1.txt

  • Like 1
Posted

Please change your Throttle Method to below and try again to see if this makes a difference.
image.png

Thanks,
Carlo

nospotify
Posted (edited)
37 minutes ago, cayars said:

Please change your Throttle Method to below and try again to see if this makes a difference.
image.png

Thanks,
Carlo

Thanks - unfortunately it's already set that way.

Edited by wordlover
Happy2Play
Posted (edited)
8 minutes ago, wordlover said:

Thanks - unfortunately it's already set that way.

Not according to your logs.  Did not look at every log.

ThrottleByStreamBufferSize

Can you test changing to Segment Request instead of Streambuffer size?

Also does disabling Throttling make a difference.

Edited by Happy2Play
nospotify
Posted
Just now, Happy2Play said:

Not according to your logs.

ThrottleByStreamBufferSize

Can you test changing to Segment Request instead of Streambuffer size?

Also does disabling Throttling make a difference.

Do these changes require Premiere to actually take effect? 

Happy2Play
Posted
3 minutes ago, wordlover said:

Do these changes require Premiere to actually take effect? 

Not that I am aware of. 

nospotify
Happy2Play
Happy2Play
Posted

I don't have Chorecast so won't be any help but @cayars/ devs now can see all three methods shown in logs.

  • Thanks 1
Posted

It appears these all had throttle turn on.

I'd like to see throttle turned off (no checkbox) in the configuration. Make sure to click the save button at the bottom of the page.

Change the playback to not the use any subtitles.

Question for you.  Once you start playback are you doing anything like trying to backup or stop playback after it appears to not work?
If so, don't click anything after starting playback and let it error out on it's own, then you can click around again.
 

Upload new logs using the settings mentioned.

nospotify
Posted
8 hours ago, cayars said:

It appears these all had throttle turn on.

I'd like to see throttle turned off (no checkbox) in the configuration. Make sure to click the save button at the bottom of the page.

Change the playback to not the use any subtitles.

Question for you.  Once you start playback are you doing anything like trying to backup or stop playback after it appears to not work?
If so, don't click anything after starting playback and let it error out on it's own, then you can click around again.
 

Upload new logs using the settings mentioned.

OK, I turned throttling off and then tried once with subtitles on and with subtitles turned off. In both cases no luck. Some additional info, though:

1. I tried skipping ahead only 30 seconds, and as always the visual on screen jumped to that time and froze, while the app time bar reset to zero and began advancing again. However I let it play, and when the time bar caught up to where I had jumped to (~00:00:45), normal playback began from that point forward: audio, video, subtitles. This of course is no help when resuming at or jumping to farther along in a video, but app and server and CCHDwGTV all caught up with each other.

2. When I skipped farther (second screen shot below), as usual the app time bar reset to zero and began advancing again, while the screen image froze at the image from 46:59. BUT I let it play and when the time bar reached the beginning of the actual movie after the credits, the subtitles appeared on screen, matching the time in the app's time bar (~00:00:45), but overlaying the still-frozen image from 46:59. To repeat for clarity: subtitles played and matched app time bar, while video image was incorrect and remained frozen. I did not let it run for 45 minutes to see if it matched behavior reported in 1. above. (grin)

3. With subtitles off, same behavior as above (except of course subtitles didn't appear over later image.) 

Is this helpful?

Screenshot_20230221-075527.png

Screenshot_20230221-075622.png

Posted

Emby may be working correctly.

If the media file has any type of corruption in the headers or anything that affects timing the device may not be able to handle it correctly. Emby server itself may not be able to jump to a specific spot in the file either and may have no choice but to start at the beginning so it can correct the timing issues.

This sounds exactly like what is happening to you.

Could you upload this media somewhere and PM me a location it can be downloaded?

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