Skip to content

EAC3-JOC MIME type should not be taken as EAC3 on Pixel Device#3257

Open
ybai001 wants to merge 1 commit into
androidx:mainfrom
DolbyLaboratories:dlb/ddp-fallback/dev
Open

EAC3-JOC MIME type should not be taken as EAC3 on Pixel Device#3257
ybai001 wants to merge 1 commit into
androidx:mainfrom
DolbyLaboratories:dlb/ddp-fallback/dev

Conversation

@ybai001

@ybai001 ybai001 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Pixel devices integrate an EAC3 decoder, but it does not support EAC3-JOC stream decoding. If there is a manifest file includes one AAC 2.0 track and one EAC3-JOC track.

  • Without this PR, EAC3-JOC track is selected since channel count DD+JOC > AAC. Then playback failed.
  • With this PR, AAC is the only MIME type that DUT can support so that AAC track is selected. Playback is OK.

Note: Pixel devices integrate EAC3 decoder but cannot handle EAC3-JOC stream. -- This is a product decision rather than technical limitation.

Pixel devices integrate an EAC3 decoder, but it does not support EAC3-JOC stream decoding.
@microkatz

microkatz commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

@ybai001

Thank you for reporting this issue! I think a better solution would be to isolate this "disabling" to the specific EAC3 decoder rather than the device? Would you be able to provide the decoder information?

@ybai001

ybai001 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

@ybai001

Thank you for reporting this issue! I think a better solution would be to isolate this "disabling" to the specific EAC3 decoder rather than the device? Would you be able to provide the decoder information?

Hi, microkatz,

Thanks for your reply. The point is the EAC3 decoder name is SAME for both Google and other OEMs (“c2.dolby.eac3.decoder”).

For Google release, we have
<MediaCodec name="c2.dolby.eac3.decoder" >
<Type name="audio/ac3">
<Alias name="OMX.dolby.ac3.decoder" />
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</Type>
<Type name="audio/eac3">
<Alias name="OMX.dolby.eac3.decoder" />
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Attribute name="software-codec" />
</MediaCodec>

But for other OEMs,
<MediaCodec name="c2.dolby.eac3.decoder" >
<Type name="audio/ac3">
<Alias name="OMX.dolby.ac3.decoder" />
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</Type>
<Type name="audio/eac3">
<Alias name="OMX.dolby.eac3.decoder" />
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Type name="audio/eac3-joc">
<Alias name="OMX.dolby.eac3-joc.decoder" />
<Limit name="channel-count" max="16" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Attribute name="software-codec" />
</MediaCodec>

So I'm afraid that we cannot isolate this "disabling" to the specific EAC3 decoder.

@microkatz

Copy link
Copy Markdown
Contributor

@ybai001

Thank you for the quick response and noted! I see the understanding of the product decision and I will work to submit your suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants