Jump to content

Recommended Posts

privaty
Posted
Hi,

since the recent update, playback of 4K UHD Remux files is no longer smooth on my NVIDIA Shield when audio passthrough is enabled. Before the update the same files played fine.

Setup:
- Emby Server: 4.9.5.0
- Client: Emby Android TV 2.1.23g
- Player: ExoPlayerLib/2.18.7
- Device: NVIDIA Shield Android TV
- Connection: wired LAN
- File type: 4K UHD BluRay Remux, MKV, HEVC, Dolby Vision/HDR, Atmos
- Example file name: Examble.German.Atmos.DL.2160p.UHD.BluRay.DV.HDR.HEVC.Remux.mkv

Issue:
With audio passthrough enabled, playback stutters/freezes or gets interrupted. The server log shows the client disconnecting during playback. If I disable audio passthrough, playback becomes stable, but this is not an acceptable workaround because I want to keep passthrough/Atmos and the same HDR/Dolby Vision playback behavior.

The Emby on-screen playback info on the TV reports Direct Play, but the server log / PlaybackReporting plugin shows DirectStream. The server serves /emby/videos/390/original.mkv and I do not see ffmpeg video transcoding for this playback session.

Observed in server log:
- Emby Server Version: 4.9.5.0
- Playback start reported by app AndroidTv 2.1.23g on SHIELD
- User-Agent: Emby/2.1.23g (Linux;Android 11) ExoPlayerLib/2.18.7
- Adding PlaybackInfo ... DirectStream
- Original MKV is requested via /emby/videos/390/original.mkv
- Repeated Range requests from the Shield
- Server reports: "Response completed after client disconnected"
- No ffmpeg video transcode load/error is visible

Expected behavior:
The file should play smoothly with audio passthrough enabled, as it did before the update. Direct Play should remain stable and should not freeze, stutter, disconnect, or unexpectedly fall back to transcoding.

Additional observation:
This is not limited to one movie. I have also observed similar behavior with other media files. Sometimes playback starts as Direct Play, but then Emby suddenly switches to transcoding during playback and the stream eventually stops. This did not happen before the recent update.

So there may be two related issues:
1. Audio passthrough causes stuttering/freezing with 4K DV/HDR HEVC Remux files.
2. Some files that should Direct Play suddenly fall back to transcoding and then stop.

Workaround:
Disabling audio passthrough makes playback stable, but this is not acceptable because I want to keep passthrough/Atmos. Also, when passthrough is disabled, the playback behavior appears to change and HDR/Dolby Vision output does not look the same on my setup.

Can you please check whether there was a regression in Android TV audio passthrough / ExoPlayer handling for TrueHD/Atmos with 4K Dolby Vision/HDR MKV remux files, and also whether the Direct Play to transcoding fallback behavior changed in the recent update?

I can provide server logs for both cases:
- Direct Play / passthrough stutter with client disconnects
- Direct Play unexpectedly switching to transcoding and stopping

embyserver.txt

justinrh
Posted (edited)

This may the same problem I started seeing.  When you first start playing a movie the video is choppy/jerky.  If you FF or rewind one time it straightens out.  I'm running ATV 2.1.46g on my two Shields.

Edited by justinrh
Interwebz
Posted

I have just recently seen something similar on ATV. It plays fine for X amount of time, then the playback starts to get laggy/choppy as if frames are dropped. I also have issues where rewinding/forwarding can freeze the playback completely and you have to exit and resume the content to continue. This behavior seems to be recent and after the random ATV crash problem was seemingly fixed in ATV 2.0.7.

  • 3 months later...
tinkybell
Posted

I'm getting same thing with icnreasing regularity on shield with recent updates. Laggy/choppy with audio glitches

embyserver (1).txt

tinkybell
Posted

Just get directplay errors and audio on the receiver starts glitching. Pausing works for  few seconds and then starts glitching again using HD passthrough soundtracks.

Rebooting the shield sometimes works. Audio glitching is should noise bursts

embyserver (1).txt embyserver.txt

tinkybell
Posted

Will give it a shot when I get a chance

Posted
10 hours ago, tinkybell said:

Will give it a shot when I get a chance

That would be great, thanks.

tinkybell
Posted (edited)

Just sent a log at 04:52 with user "Kids"

It's a file that gets played regularly. Usually plays fine and then from time to time this happens. Sometimes a reboot helps. Sometimes it doesnt

Edited by tinkybell
Posted
4 hours ago, tinkybell said:

Just sent a log at 04:52 with user "Kids"

Hi.  There is no playback in this log.  If you sent it right after playback it might be that Android rolled off the previous activity.  Can you try sending the log directly from the playback OSD (under the "cog" menu) right after the problem occurs?

tinkybell
Posted

Hi I have just sent another one at 15:41 - I haven't managed to do it with that method yet. Next time it happens I will use your method.

Posted

I'm still having trouble seeing the playback. It looks like you re-started the app before sending the log.  Please send it right from the playback OSD next time.

I do see some low level errors in your log but I don't see any actual playback so not sure if they are related.  Is this the Pro or the "tube"?

tinkybell
Posted (edited)

Another one sent direct from playback at 15:51 today from playback osd. It's the pro

Edited by tinkybell
Posted

I can't see anything indicating an issue in that log.  It looks like you seeked a couple of times.  Exactly when did you encounter issues and what were they specifically?

The log just looks like normal playback...

Posted

Also, have you tested with the standard app?

tinkybell
Posted

Another one at 21:07

The stream starts glitching with audio issues just before the report - about 30 seconds until i make the report.

Audio glitching and playback stutters. Standard app compared to the emby app?

Posted

It looks like the display mode is changing during playback but, again, Android truncated your logs so it is impossible to see exactly what is causing that.  You bringing up a menu could potentially do it.

If you have refresh rate switching turned on in the app, try turning it off and see if it makes a difference.  Is it possible these items actually change video format in the middle?

tinkybell
Posted

The refresh rate switches going back to the menu. It isn't switching in playback. What you will be seeing is the display switching as i go back to the menu.

It sounds like the logs aren't capturing what happens at all because the issue is immediately before sending the logs

Posted
On 11/20/2026 at 4:05 PM, tinkybell said:

The refresh rate switches going back to the menu. It isn't switching in playback. What you will be seeing is the display switching as i go back to the menu.

It sounds like the logs aren't capturing what happens at all because the issue is immediately before sending the logs

Can you give it another try?

  • 2 weeks later...
tinkybell
Posted (edited)

Was there an update? It has been a few days now since the last issue...

Edited by tinkybell

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