Jump to content

4K Playback laggy


Recommended Posts

GeniusJack
Posted

Hello there,

I'm having an issue with playback 4K content

The audio is playing smooth, but the video is laggy

Same video played from VLC using SMB is working fine

Any tips ?


Thanks

pwhodges
Posted

Provide more details of the file, and logs of the playback so that the devs can see if there is a specific reason in your system which can be corrected:

Paul

GeniusJack
Posted

Hello there,

Sorry for missing logs, you can find them in attachments!

To be sure I stopped the server, cleaned the old logs, startup the server and started a working mkv and a not working mkv (both 4K); you can find the MediaInfo and the server's log

If you need anything else let me know! :)

 

Thanks a lot for support

logs.zip

GeniusJack
Posted

Hello there, any news for my problem? Am I doing something wrong?

Thanks a lot

  • 3 weeks later...
Posted

Hi, are you still having an issue with this? Have you updated to the latest versions of Emby for Android and Emby Server?

GeniusJack
Posted

@Lukesame issue with both server and client updated, you need logs?

Kandidat1999
Posted

My remastered Robocop 4K Discs arrived yesterday, I stripped them down to .mkv, all 3 parts have a bitrate of around 85 Mb/s and they all stutter really bad, they play fine on other Apps like VLC or the DuneHD Mediaplayer App, what do you need to check on this, the normal Emby Server Log or the ffmpeg log?

GrimReaper
Posted
2 minutes ago, Kandidat1999 said:

what do you need to check on this, the normal Emby Server Log or the ffmpeg log?

You can provide both. 

Kandidat1999
Posted (edited)

Ok here are the logs, I see the ffmpeg one has not been updated for 2 days, so I don't know if this is helpful at all 

Robocop 2 and Robocop 2014 are the 2 movies having issues

It seems like at around 78 MB/s Bitrate is the area where the Emby Player is having issues in combination with the DuneHD Homatics 4K Box, when I chose the option to open the video with an external player and use Kodi, the video plays without any problems…really strange.

embyserver.txt ffmpeg-directstream-1a2e90fb-b23d-4c0f-a067-7a77cd0d5f5f_1.txt hardware_detection-63853800701.txt

Edited by Kandidat1999
GeniusJack
Posted

@LukeI found out that: if the Dolby Profile is 8.1 I can play it without issues ; if the Dolby Profile is 7.6 it lags

Both are in Direct Stream

The 7.6 Profile says “Renderer: ffmpeg”

The 8.1 Profile says “Renderer: MediaCodec”

GeniusJack
Posted

@Luke sorry for bother, any news for me? :D is it the profile the issue?

Thanks a lot

  • 2 weeks later...
GeniusJack
Posted
On 09/06/2024 at 00:24, Luke said:

Hi, are you still having an issue with this? Have you updated to the latest versions of Emby for Android and Emby Server?

Any news for this post? :(

rbjtech
Posted

Unless your playback device supports these different types of Dolby Vision - then it 'may' need to convert them.

DV 8.1 is generally compatible - as it has already been 'processed' externally and has an HDR10 fallback layer.

DV 7.6 is generally NOT compatible with many players - and it's possible it may be 'dual layer' as well.  It too will have an HDR10 fallback layer - but it's simply not as compatible as DV 8.1

There are free tools on the internet to covert DV 7 to DV 8 

The other factor may be Audio - HD Audio Codecs such as Dolby TrueHD and DTS-HD will also need compatible players/devices for passthrough - if Audio needs conversion as well, then that will likely remove any HDR etc from the video in the conversion process.

GeniusJack
Posted
7 hours ago, rbjtech said:

Unless your playback device supports these different types of Dolby Vision - then it 'may' need to convert them.

DV 8.1 is generally compatible - as it has already been 'processed' externally and has an HDR10 fallback layer.

DV 7.6 is generally NOT compatible with many players - and it's possible it may be 'dual layer' as well.  It too will have an HDR10 fallback layer - but it's simply not as compatible as DV 8.1

There are free tools on the internet to covert DV 7 to DV 8 

The other factor may be Audio - HD Audio Codecs such as Dolby TrueHD and DTS-HD will also need compatible players/devices for passthrough - if Audio needs conversion as well, then that will likely remove any HDR etc from the video in the conversion process.

Thank you for your answer!

I’m using a Xiaomi Pad 6 that should support both; also VLC Media Player plays the file without any issue, it’s just using Emby Client that will lag

 

By the way may I ask you a free tool to try to convert from 7.6 to 8.1 without losing any quality?

Posted
On 6/13/2024 at 7:00 PM, GeniusJack said:

@LukeI found out that: if the Dolby Profile is 8.1 I can play it without issues ; if the Dolby Profile is 7.6 it lags

Both are in Direct Stream

The 7.6 Profile says “Renderer: ffmpeg”

The 8.1 Profile says “Renderer: MediaCodec”

The one handled by MediaCodec means the device supports hardware decoding of that profile.

When it says ffmpeg that means the app is trying to use software decoding but the device can't keep up with it.

What exactly is lagging?

GeniusJack
Posted
On 06/07/2024 at 06:16, Luke said:

The one handled by MediaCodec means the device supports hardware decoding of that profile.

When it says ffmpeg that means the app is trying to use software decoding but the device can't keep up with it.

What exactly is lagging?

Hi Luke, what do you mean? The video is lagging, but the audio is playing correctly; so at 3 mins (video) the audio is at min 10

 

Tysm :)

  • 3 weeks later...
Posted
Quote

When it says ffmpeg that means the app is trying to use software decoding but the device can't keep up with it.

@GeniusJackdoes this answer your question?

GeniusJack
Posted
9 hours ago, Luke said:

@GeniusJackdoes this answer your question?

Hi Luke, Sorry I forgot to answer!

No I don't get why it's working correctly with VLC but not with Emby Client ; same file and network access

Why should Emby use ffmpeg? Also Is there anyway to check the hardware compatibility with the BD profiles? For example:

With Snapdragon 870 and Adreno 650 you are able to play profiles x and y and z

 

Tysm :)

  • 4 weeks later...
Posted

@GeniusJackcan you please try again with Emby for Android 3.4.20? Thanks !

GeniusJack
Posted

@Luketried right now

The dashboard say Direct Play, but same issue

Video lagging for profile 7.6

I tried convert from profile 7.6 to 8.1 and the video is not lagging anymore

 

If possible I would like to not convert them, but if needed I will do ^^

 

Tysm

  • 3 weeks later...
Posted

@Luke, I found the issue of the 4k playback judder and lagging, it's simply by enabling DV profile conversion within the app like Kodi, Kodi converts 7.6 profilrs to 8.1 if the hardware doesn't support it. We really need the option to control enabling and disabling SW and HW decoding as fast as possible because whenever ffmpeg is used it causes problems.

  • Thanks 1
  • 1 month later...
Posted
On 9/5/2024 at 3:05 PM, A7xp said:

@Luke, I found the issue of the 4k playback judder and lagging, it's simply by enabling DV profile conversion within the app like Kodi, Kodi converts 7.6 profilrs to 8.1 if the hardware doesn't support it. We really need the option to control enabling and disabling SW and HW decoding as fast as possible because whenever ffmpeg is used it causes problems.

hi, thanks for the info. We'll take a look at it.

  • 1 year later...

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