8000 Unknown audio input format error · Issue #61580 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unknown audio input format error #61580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dieugab opened this issue Dec 12, 2021 · 18 comments · Fixed by #62691
Closed

Unknown audio input format error #61580

dieugab opened this issue Dec 12, 2021 · 18 comments · Fixed by #62691
Assignees

Comments

@dieugab
Copy link
dieugab commented Dec 12, 2021

The problem

As of updating to 2021.12.0 I keep getting a Unknown audio input format error (has shown up more than 300 times since updating last night).

What version of Home Assistant Core has the issue?

2021.12.0

What was the last working version of Home Assistant Core?

2021.11.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Unknown

Link to integration documentation on our website

Unknown

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: root
Source: /usr/local/lib/python3.9/site-packages/soco/core.py:1273
First occurred: December 11, 2021, 21:04:10 (312 occurrences)
Last logged: 16:23:14

Unknown audio input format: 84934658
Unknown audio input format: 84934678

Additional information

No response

@dieugab
Copy link
Author
dieugab commented Dec 12, 2021

This could be due to the Sonos integration

@probot-home-assistant
Copy link

Hey there @cgtobi, @jjlawren, mind taking a look at this issue as it has been labeled with an integration (sonos) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)


sonos documentation
sonos source
(message by IssueLinks)

@jjlawren
Copy link
Contributor

Do you know what the Sonos app was showing for the audio format when each of these were playing? The underlying library needs to be updated for any missing formats: SoCo/SoCo#871

@dieugab
Copy link
Author
dieugab commented Dec 12, 2021

@jjlawren I've noticed at least the one below. Is there anywhere else where I need to report these?
image
image

@jjlawren
Copy link
Contributor

Thanks! Either here or the linked PR if you find more examples would be great. 👍

@dieugab
Copy link
Author
dieugab commented Dec 14, 2021

Found another example:
Format 63 = Dolby Atmos
image
image

@jjlawren
Copy link
Contributor

@gvssr interesting that it's such a short code for a modern format. Can you confirm it wasn't truncated on that screen? It should have also written it out into the HA logs at a warning level.

I'm starting to wonder if the format of these bitmasks contains information besides just the audio codec, like the transport (HDMI/optical), speaker layout, etc.

@dieugab
Copy link
Author
dieugab commented Dec 14, 2021

@jjlawren yep! The log displays the following:


Logger: root
Source: /usr/local/lib/python3.9/site-packages/soco/core.py:1273 
First occurred: 08:59:31 (680 occurrences) 
Last logged: 18:35:33

Unknown audio input format: 63

@theetron
Copy link

I have also some unknown audio input formats and I have Sonos speakers:

33554490
59
84934714

If I need to do some testing let me know.

@jjlawren
Copy link
Contributor

@theetron in order for these to be of use, I'd need to know what input format is displayed in the Sonos app. See the screenshots above for some examples.

@theetron
Copy link

@theetron in order for these to be of use, I'd need to know what input format is displayed in the Sonos app. See the screenshots above for some examples.

I will examine it tomorrow.

@theetron
Copy link

In my setup I get these results:

Audio Input Format Sonos Audio Format
33554490 Dolby Digital Plus 2.0
84934714 Dolby Digital Plus 5.1
59 Dolby Atmos

@jjlawren
Copy link
Contributor
jjlawren commented 8000 Dec 15, 2021

Hmm. @theetron and @gvssr you both show Dolby Atmos, but with different values (59 and 63). What are your setups? Do you have surrounds and/or a sub? What is the "primary" device in your home theater setup? I see that @gvssr is reporting this from an Arc.

I'm trying to understand if there is more information than just the audio codec in the provided value.

@theetron
Copy link
theetron commented Dec 15, 2021

My Livingroom setup:

  • Beam 2nd gen Primary device
  • Sub 3rd gen
  • 2 Ones 1st gen (surround)

@dieugab
Copy link
Author
dieugab commented Dec 15, 2021

Tested it again to be certain with “Lost in Space” on Netflix, which has Atmos. Still reporting codec 63.
As for my setup:

  • Sonos Arc (Primary device)
  • 2 Ones SL 2nd gen (surround)

@theetron
Copy link

Tested it again to be certain with “Lost in Space” on Netflix, which has Atmos. Still reporting codec 63. As for my setup:

  • Sonos Arc (Primary device)
  • 2 Ones SL 2nd gen (surround)

Must be the setup than. This series gives me 59.

@cpuks
Copy link
cpuks commented Dec 20, 2021

On Beam 2 I've got 59 and 63 as unknown source format

@theetron
Copy link

On Beam 2 I've got 59 and 63 as unknown source format

Can you also provide the Sonos audio format in the app for both of them?

@jjlawren jjlawren mentioned this issue Dec 23, 2021
22 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
0