[mythtv-users] Digital Audio Passthrough not working Mythtv 0.24-fixes

Jean-Yves Avenard jyavenard at gmail.com
Tue Nov 9 23:28:24 UTC 2010


Hi again

On 10 November 2010 07:48, David Knight <dlknight at sdf.lonestar.org> wrote:
> 2010-11-09 20:42:58.590 AudioOutput Error: Aborting Audio Reconfigure.
> Invalid audio parameters ch 2 fmt 0 @ 44100Hz
> 2010-11-09 20:42:58.591 AudioPlayer: Disabling Audio, reason is: Aborting
> Audio Reconfigure. Invalid audio parameters ch 2 fmt 0 @ 44100Hz
> 2010-11-09 20:42:58.591 playCtx, Error: Aborting Audio Reconfigure.
> Invalid audio parameters ch 2 fmt 0 @ 44100Hz

That's nothing to worry about ; it's just the way myth configure the
audio the first time round.

There should be another line in the log actually showing how the audio
is being configured

> 2010-11-09 20:42:59.186 [h264 @ 0x3890d95f40]non-existing SPS 0 referenced
> in buffering period
> 2010-11-09 20:42:59.186 [h264 @ 0x3890d95f40]non-existing PPS referenced
> 2010-11-09 20:42:59.186 [h264 @ 0x3890d95f40]non-existing SPS 0 referenced
> in buffering period
> 2010-11-09 20:42:59.186 [h264 @ 0x3890d95f40]non-existing PPS 0 referenced
> 2010-11-09 20:42:59.187 [h264 @ 0x3890d95f40]decode_slice_header error
>
> THE ABOVE ERRORS CONTINUE SEVERAL TENS OF TIMES THEN:

that's an issue with the video your are trying to play ; nothing to do
with the audio configuration.
Either the video you are trying to play is corrupted or isn't
supported by ffmpeg

It's most likely the start of the video is crap.

>
> 2010-11-09 20:42:59.526 AFD: Opened codec 0x7ca7240, id(H264) type(Video)
> 2010-11-09 20:42:59.527 AFD: codec MP2 has 2 channels
> 2010-11-09 20:42:59.527 AFD: Opened codec 0x7ca78c0, id(MP2) type(Audio)
> 2010-11-09 20:42:59.527 AFD: Opened codec 0x7f39eb0, id(DVB_SUBTITLE)
> type(Subtitle)
> 2010-11-09 20:42:59.527 AFD: codec AC3 has 2 channels
> 2010-11-09 20:42:59.529 AFD: Opened codec 0x7f3a530, id(AC3) type(Audio)
> 2010-11-09 20:42:59.743 Pulse: PulseAudio resume OK
> 2010-11-09 20:42:59.944 Pulse: PulseAudio suspend OK
> 2010-11-09 20:42:59.985 AO: Opening audio device 'default' ch 2(2) sr
> 48000 sf signed 32 bit reenc 1
> 2010-11-09 20:42:59.985 Opening ALSA audio device 'default'.
> 2010-11-09 20:43:00.049 AudioPlayer: Enabling Audio
> 2010-11-09 20:43:00.303 Clearing OpenGL painter cache.
> 2010-11-09 20:43:00.976 VDPAU: Created 2 output surfaces.
> 2010-11-09 20:43:00.976 VDPAU: Version 1
> 2010-11-09 20:43:00.976 VDPAU: Information NVIDIA VDPAU Driver Shared
> Library  260.19.12  Fri Oct  8 11:46:03 PDT 2010
> 2010-11-09 20:43:00.976 VDPAU: Created VDPAU render device 1920x1080
> 2010-11-09 20:43:01.202 Player(0): Forcing decode extra audio option on
> (Video method requires it).
> 2010-11-09 20:43:01.621 AFD: Audio stream changed
> 2010-11-09 20:43:01.631 AO: Opening audio device 'default' ch 6(6) sr
> 48000 sf signed 32 bit reenc 1

That's the line I was referring to above...

> 2010-11-09 20:43:01.632 Opening ALSA audio device 'default'.
> 2010-11-09 20:43:01.646 ALSA, Error: Channels count 6 not available:
> Invalid argument
> 2010-11-09 20:43:01.646 ALSA, Error: Unable to set ALSA parameters:
> Invalid argument

Myth isn't trying to do passthrough here but instead use 5.1 LPCM...
You have checked the LPCM box in the audio settings ; uncheck it as
your hardware doesn't support it.

LPCM is only supported with analog or hdmi ; SPDIF doesn't support
multichannels LPCM

> 2010-11-09 20:43:01.646 AudioOutput Error: Aborting reconfigure
> 2010-11-09 20:43:01.808 Player(0): Video timing method: USleep with busy wait
> 2010-11-09 20:43:01.850 TV: Changing from None to WatchingPreRecorded
> 2010-11-09 20:43:02.118 ALSA, Error: getBufferedOnSoundcard() called with
> pcm_handle == NULL!
> 2010-11-09 20:43:02.143 VDPAU: Added 2 output surfaces (total 4, max 4)
> 2010-11-09 20:43:02.160 ALSA, Error: getBufferedOnSoundcard() called with
> pcm_handle == NULL!
>

Fix your settings, and it should work fine.

JY


More information about the mythtv-users mailing list