[AppleTv] Audio issues
#1
Whenever I play a file with AAC of AC3 I see those lines in the log
NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
DEBUG: Error: Requested setting (audiooutput.passthroughdevice) was not found. It must be case-sensitive

I think this was reported before. it looks like XBMC thinks the AC3 audio is only 2 channels whilst is actually 6

The Dolby Digital indicator on my receiver stays ON and everything seems to be playing fine but this is weird
Reply
#2
Hi There
22:35:02 T:51720704 M: 10514432 NOTICE: Opening audio stream: 0 source: 256
22:35:02 T:51720704 M: 10530816 NOTICE: Finding audio codec for: 86020
22:35:02 T:51720704 M: 10440704 DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opening
22:35:02 T:51720704 M: 10440704 INFO: CDVDAudioCodecPassthroughFFmpeg::SetupMuxer - Trying to setup spdif muxer
22:35:02 T:51720704 M: 10440704 INFO: CDVDAudioCodecPassthroughFFmpeg::SetupMuxer - spdif muxer ready
22:35:02 T:51720704 M: 10436608 DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opened
22:35:02 T:51720704 M: 10436608 NOTICE: Creating audio thread
22:35:02 T:51780096 M: 10432512 DEBUG: thread start, auto delete: 0
22:35:02 T:51780096 M: 10432512 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
22:35:02 T:52607488 M: 10358784 DEBUG: LinuxRendererGL: Cleaning up GL resources
22:35:02 T:52607488 M: 10375168 NOTICE: running thread: video_thread
22:35:02 T:51720704 M: 10371072 DEBUG: ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: /mnt/Scratch/Volumes/LaCie/MediaStore/Tv Shows/Caprica/Caprica.S01E06.720p.HDTV.x264-CTU.mkv
22:35:02 T:51720704 M: 10371072 DEBUG: CDVDPlayer::SetCaching - caching state 2
22:35:02 T:51780096 M: 10362880 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
22:35:02 T:52607488 M: 10362880 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
22:35:02 T:52607488 M: 9875456 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(125000.000000, 0)
22:35:02 T:51780096 M: 9801728 DEBUG: Error: Requested setting (audiooutput.passthroughdevice) was not found. It must be case-sensitive
22:35:02 T:51780096 M: 9805824 INFO: AudioRendererFactory: not a explicit device, trying to autodetect.
22:35:02 T:51780096 M: 9842688 DEBUG: SetActiveDevice - SetActiveDevice from 1 to 4
22:35:02 T:51780096 M: 9846784 DEBUG: RemoveActiveDevice - Removing device 1
22:35:02 T:51780096 M: 9842688 DEBUG: CCoreAudioHardware::FindAudioDevice: Returning default device [0x0102].
22:35:02 T:51780096 M: 9846784 DEBUG: CCoreAudioStream::Open: Opened stream 0x0103.
22:35:02 T:51780096 M: 9838592 DEBUG: CoreAudioRenderer::InitializeEncoded: Found Output stream - id: 0x0103, Terminal Type: 0x0000
22:35:02 T:51720704 M: 9842688 DEBUG: CheckPlayerInit - dropping packet type:2 dts:83000.000000 to get to start point at 125000.000000
22:35:02 T:51720704 M: 9740288 DEBUG: CheckPlayerInit - dropping packet type:2 dts:42000.000000 to get to start point at 125000.000000
22:35:02 T:2684407808 M: 9707520 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
22:35:02 T:51780096 M: 9728000 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 20-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 20-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 24-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 24-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CCoreAudioStream::Close: Closed stream 0x0103.
22:35:02 T:51780096 M: 9719808 DEBUG: CCoreAudioStream::Open: Opened stream 0x0104.
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Found Output stream - id: 0x0104, Terminal Type: 0x0000
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CCoreAudioStream::Close: Closed stream 0x0104.
22:35:02 T:51780096 M: 9715712 ERROR: CoreAudioRenderer::InitializeEncoded: Unable to identify suitable output format.

This is the whole story
How can I get rid of those annoying messagesHuh?
Reply
#3
interceptor121 Wrote:Hi There
22:35:02 T:51720704 M: 10514432 NOTICE: Opening audio stream: 0 source: 256
22:35:02 T:51720704 M: 10530816 NOTICE: Finding audio codec for: 86020
22:35:02 T:51720704 M: 10440704 DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opening
22:35:02 T:51720704 M: 10440704 INFO: CDVDAudioCodecPassthroughFFmpeg::SetupMuxer - Trying to setup spdif muxer
22:35:02 T:51720704 M: 10440704 INFO: CDVDAudioCodecPassthroughFFmpeg::SetupMuxer - spdif muxer ready
22:35:02 T:51720704 M: 10436608 DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opened
22:35:02 T:51720704 M: 10436608 NOTICE: Creating audio thread
22:35:02 T:51780096 M: 10432512 DEBUG: thread start, auto delete: 0
22:35:02 T:51780096 M: 10432512 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
22:35:02 T:52607488 M: 10358784 DEBUG: LinuxRendererGL: Cleaning up GL resources
22:35:02 T:52607488 M: 10375168 NOTICE: running thread: video_thread
22:35:02 T:51720704 M: 10371072 DEBUG: ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: /mnt/Scratch/Volumes/LaCie/MediaStore/Tv Shows/Caprica/Caprica.S01E06.720p.HDTV.x264-CTU.mkv
22:35:02 T:51720704 M: 10371072 DEBUG: CDVDPlayer::SetCaching - caching state 2
22:35:02 T:51780096 M: 10362880 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
22:35:02 T:52607488 M: 10362880 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
22:35:02 T:52607488 M: 9875456 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(125000.000000, 0)
22:35:02 T:51780096 M: 9801728 DEBUG: Error: Requested setting (audiooutput.passthroughdevice) was not found. It must be case-sensitive
22:35:02 T:51780096 M: 9805824 INFO: AudioRendererFactory: not a explicit device, trying to autodetect.
22:35:02 T:51780096 M: 9842688 DEBUG: SetActiveDevice - SetActiveDevice from 1 to 4
22:35:02 T:51780096 M: 9846784 DEBUG: RemoveActiveDevice - Removing device 1
22:35:02 T:51780096 M: 9842688 DEBUG: CCoreAudioHardware::FindAudioDevice: Returning default device [0x0102].
22:35:02 T:51780096 M: 9846784 DEBUG: CCoreAudioStream::Open: Opened stream 0x0103.
22:35:02 T:51780096 M: 9838592 DEBUG: CoreAudioRenderer::InitializeEncoded: Found Output stream - id: 0x0103, Terminal Type: 0x0000
22:35:02 T:51720704 M: 9842688 DEBUG: CheckPlayerInit - dropping packet type:2 dts:83000.000000 to get to start point at 125000.000000
22:35:02 T:51720704 M: 9740288 DEBUG: CheckPlayerInit - dropping packet type:2 dts:42000.000000 to get to start point at 125000.000000
22:35:02 T:2684407808 M: 9707520 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
22:35:02 T:51780096 M: 9728000 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 20-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 20-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 24-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 24-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CCoreAudioStream::Close: Closed stream 0x0103.
22:35:02 T:51780096 M: 9719808 DEBUG: CCoreAudioStream::Open: Opened stream 0x0104.
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Found Output stream - id: 0x0104, Terminal Type: 0x0000
22:35:02 T:51780096 M: 9719808 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (48000Hz)
22:35:02 T:51780096 M: 9715712 DEBUG: CoreAudioRenderer::InitializeEncoded: Considering Physical Format: [lpcm] Mixable 2 Channel 16-bit Signed Integer (44100Hz)
22:35:02 T:51780096 M: 9719808 DEBUG: CCoreAudioStream::Close: Closed stream 0x0104.
22:35:02 T:51780096 M: 9715712 ERROR: CoreAudioRenderer::InitializeEncoded: Unable to identify suitable output format.

This is the whole story
How can I get rid of those annoying messagesHuh?

See that "DEBUG", those go away when we start doing release builds Smile
Reply
#4
What puzzles me is why when I set to analog I get this
Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
And when is on passthrough I get that
Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through

So in Analog is 6 channels the same files in passthrough is 2 channels and spits this error
Error: Requested setting (audiooutput.passthroughdevice) was not found. It must be case-sensitive
and then this other one
CoreAudioRenderer::InitializeEncoded: Unable to identify suitable output format.

Just to understand what the hell is going on would be nice

I guess the ERRORs will stay in the log?
Reply
#5
interceptor121 Wrote:What puzzles me is why when I set to analog I get this
Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
And when is on passthrough I get that
Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through

So in Analog is 6 channels the same files in passthrough is 2 channels and spits this error
Error: Requested setting (audiooutput.passthroughdevice) was not found. It must be case-sensitive
and then this other one
CoreAudioRenderer::InitializeEncoded: Unable to identify suitable output format.

Just to understand what the hell is going on would be nice

I guess the ERRORs will stay in the log?

passthrough is always 2 channels, it's a hack to SPDIF which is two channels.

"Error: Requested setting (audiooutput.passthroughdevice) was not found. It must be case-sensitive", I've seen that before. It's harmless.

"CoreAudioRenderer::InitializeEncoded: Unable to identify suitable output format." InitializeEncoded was passed an output format that did not match anything. This has been changed from an error to a debug logging as it's not an error per say.
Reply
#6
OK I put my mind at rest
Thanks for all your help!
Reply

Logout Mark Read Team Forum Stats Members Help
[AppleTv] Audio issues0