Jump to content

Auto Select Audio When Transcoding


Recommended Posts

njmckenzie96
Posted (edited)

I can't for the life of me get remote streams to select the secondary audio. the moment it transcodes the video to also transcodes the audio. if I manually select the secondary compatible audio, then the server only transcodes the video. so like, it is possible to only do the video, but is there a way for it to look for compatible audio before deciding to transcode the audio? 

Edited by njmckenzie96
yocker
Posted
On 12/13/2025 at 6:38 AM, Luke said:

Hi, we actually already do what you're asking, assuming all other factors are equals.

What I mean by that is, your user audio preferences come first. That is the criteria that is used to determine which track to play. But if two tracks are determined to be equally eligible, then it looks at which one might be able to direct play as a secondary criteria.

Does that answer your question?

Agree with njmckenzie96.
If audio gets transcoded i can't get it to choose the compatible track instead.

My fix so far has to be setting to compatible track to default and have people with supporting hardware have to choose the better track them self.

Posted
9 hours ago, njmckenzie96 said:

I can't for the life of me get remote streams to select the secondary audio. the moment it transcodes the video to also transcodes the audio. if I manually select the secondary compatible audio, then the server only transcodes the video. so like, it is possible to only do the video, but is there a way for it to look for compatible audio before deciding to transcode the audio? 

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

  • 2 weeks later...
  • 2 weeks later...
njmckenzie96
Posted

yeah sorry I'll try to send some logs over soon.

Posted
15 hours ago, njmckenzie96 said:

yeah sorry I'll try to send some logs over soon.

That would be great. Thanks.

yocker
Posted

@Luke is there any function or plan for Emby to automatically choose the highest sound formal the device can handle?

  • Like 1
Posted
8 hours ago, yocker said:

@Luke is there any function or plan for Emby to automatically choose the highest sound formal the device can handle?

HI, user audio preferences are evaluated first, and then after that, this already happens if all other factors are equal.

  • Like 1
yocker
Posted
23 minutes ago, Luke said:

HI, user audio preferences are evaluated first, and then after that, this already happens if all other factors are equal.

I can't seem to find where to set this in the settings, i always have to manually choose for example TrueHD because the compatibility track is always default on my server to avoid unnecessary transcoding by users.

Posted

There is nothing to configure. If one track is required to avoid transcoding, then that is the one that will usually get picked. If neither track can direct play, or they both can, then that's when secondary criteria gets looked at.

yocker
Posted (edited)
2 hours ago, Luke said:

There is nothing to configure. If one track is required to avoid transcoding, then that is the one that will usually get picked. If neither track can direct play, or they both can, then that's when secondary criteria gets looked at.

Strange.
I specifically have to make the compatibility track first and as default to avoid clients transcoding.
If a for example a TrueHD track is first then that is what the client will play and transcode is needed even though there is a AC3 track that it can direct play.

Will do a little testing.

Edited by yocker
Posted
On 4/20/2026 at 7:09 PM, yocker said:

Strange.
I specifically have to make the compatibility track first and as default to avoid clients transcoding.
If a for example a TrueHD track is first then that is what the client will play and transcode is needed even though there is a AC3 track that it can direct play.

Will do a little testing.

What client?

yocker
Posted
1 hour ago, Luke said:

What client?

Pretty much all of them.
I specifically started making the compatible track first and default in movies because of Samsung clients but from my own testing the webclient, Android and LG does the same.

  • 3 weeks later...
Posted
On 4/25/2026 at 2:32 AM, yocker said:

Pretty much all of them.
I specifically started making the compatible track first and default in movies because of Samsung clients but from my own testing the webclient, Android and LG does the same.

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

yocker
Posted
On 5/10/2026 at 9:39 PM, Luke said:

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

Working on it now.

yocker
Posted
On 5/10/2026 at 9:39 PM, Luke said:

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

Sent you a log file in private where i first try running the file without choosing any sound track and it chooses a DTS-HD MA 5.1 track as it's the first and default.
It can not direct play it and there for has to transcode.
The movie has a AC3 track that does not need transcoding but it does not choose that instead of transcoding.

I can only test this with my webclient as all my other players support all the formats i have.

I sadly do not have access to any Samsung, LG and so on that my family has where the problem also is.
 

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