[mythtv-users] HDMI audio to TV - only 2-channel PCM available
Phil Bridges
gravityhammer at gmail.com
Sun Aug 26 17:18:13 UTC 2012
On Sat, Aug 25, 2012 at 9:29 AM, Phil Bridges <gravityhammer at gmail.com> wrote:
> On Sat, Aug 25, 2012 at 5:45 AM, Jean-Yves Avenard
> <jean-yves at avenard.org> wrote:
>> On 25 August 2012 05:07, Phil Bridges <gravityhammer at gmail.com> wrote:
>>> I have had to set up my Zotac Ion disk less frontend again. I have the
>>> 295.71 nVidia drivers.
>>>
>>> I have an LG LCD connected via HDMI. For some reason, the video card is now
>>> only reporting 2.0 PCM available. As a result, the videos I have with only
>>> DTS-HD audio are silent. I was able to play these on my previous install.
>>> Any suggestions on where to look to fix this?
>>
>> A TV will typically only support PCM 2.0... It's perfectly normal that
>> is all myth is showing.
>>
>> DTS-HD will usually contain a DTS-Core stream that myth/ffmpeg can
>> decode. There are no open-source DTS-HD decoder. So unless you can do
>> passthrough, you will get at best DTS Core 5.1
>>
>> You shouldn't hear silence, unless it's a DTS-HD only stream, in which
>> case, at this stage, there's nothing you can do
>
> Thanks for the response. In contrast, my other diskless frontend
> (connected to a Panasonic plasma) has no problem playing the same
> file. What is interesting is that the frontend with the LG is listing
> the ALSA connection as "connected", but the Panasonic is not.
>
> Here's what mediainfo lists about audio:
>
> Audio
> ID : 2
> Format : DTS
> Format/Info : Digital Theater Systems
> Format profile : MA / Core
> Codec ID : A_DTS
> Duration : 1h 33mn
> Bit rate mode : Variable
> Bit rate : 1 561 Kbps / 1 510 Kbps
> Channel(s) : 6 channels
> Channel positions : Front: L C R, Side: L R, LFE
> Sampling rate : 48.0 KHz
> Bit depth : 24 bits
> Compression mode : Lossless / Lossy
> Language : English
> Default : Yes
> Forced : No
>
> Might this be a case where I need to go through the "plughw" route?
and here is a log (important, general, audio) when I try to play the above file:
2012-08-26 13:12:54.510374 I [15063/15063] CoreContext
tv_play.cpp:2121 (HandleStateChange) - TV: Attempting to change from
None to WatchingVideo
2012-08-26 13:12:54.518701 I [15063/15063] CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) - Using protocol version
72
2012-08-26 13:12:54.520797 I [15063/15063] CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) - Using protocol version
72
2012-08-26 13:12:54.888694 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:139 (TryOpenDevice) - ALSA: OpenDevice
hdmi:CARD=NVidia,DEV=1
2012-08-26 13:12:55.128061 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:80 (AddSupportedRate) - AOS: Sample rate
32000 is supported
2012-08-26 13:12:55.128148 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:80 (AddSupportedRate) - AOS: Sample rate
44100 is supported
2012-08-26 13:12:55.128185 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:80 (AddSupportedRate) - AOS: Sample rate
48000 is supported
2012-08-26 13:12:55.128240 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:135 (AddSupportedFormat) - AOS: Format
signed 16 bit is supported
2012-08-26 13:12:55.128264 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:135 (AddSupportedFormat) - AOS: Format
signed 24 bit MSB is supported
2012-08-26 13:12:55.128285 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:135 (AddSupportedFormat) - AOS: Format
signed 32 bit is supported
2012-08-26 13:12:55.128319 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:208 (AddSupportedChannels) - AOS: 2
channel(s) are supported
2012-08-26 13:12:55.129038 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:443 (GetOutputSettings) - ALSA: Successfully
retrieved ELD data
2012-08-26 13:12:55.129172 I [15063/15063] CoreContext
audio/eldutils.cpp:469 (show) - ELDUTILS: Detected monitor LG TV at
connection type HDMI
2012-08-26 13:12:55.129232 I [15063/15063] CoreContext
audio/eldutils.cpp:474 (show) - ELDUTILS: available speakers: FL/FR
LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW FLH/FRH TC FCH
2012-08-26 13:12:55.129256 I [15063/15063] CoreContext
audio/eldutils.cpp:476 (show) - ELDUTILS: max LPCM channels = 2
2012-08-26 13:12:55.129278 I [15063/15063] CoreContext
audio/eldutils.cpp:477 (show) - ELDUTILS: max channels = 2
2012-08-26 13:12:55.129298 I [15063/15063] CoreContext
audio/eldutils.cpp:478 (show) - ELDUTILS: supported codecs = LPCM
2012-08-26 13:12:55.129359 I [15063/15063] CoreContext
audio/eldutils.cpp:481 (show) - ELDUTILS: supports coding type LPCM:
channels = 2, rates = 32000 44100 48000, bits = 16 20 24
2012-08-26 13:12:55.184545 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:312 (GetCleaned) - AOS: may be AC3 or
DTS capable
2012-08-26 13:12:55.184579 I [15063/15063] CoreContext
audio/audiooutputsettings.cpp:208 (AddSupportedChannels) - AOS: 6
channel(s) are supported
2012-08-26 13:12:55.189434 N [15063/15063] CoreContext
audioplayer.cpp:167 (ReinitAudio) - AudioPlayer: Enabling Audio
2012-08-26 13:12:55.700964 I [15063/15063] CoreContext
avformatdecoder.cpp:2102 (ScanStreams) - AFD: Opened codec 0x5a5d180,
id(H264) type(Video)
2012-08-26 13:12:55.700996 I [15063/15063] CoreContext
avformatdecoder.cpp:1960 (ScanStreams) - AFD: codec DTS has 6 channels
2012-08-26 13:12:55.701190 I [15063/15063] CoreContext
avformatdecoder.cpp:2102 (ScanStreams) - AFD: Opened codec 0x5a5d610,
id(DTS) type(Audio)
2012-08-26 13:12:55.701345 I [15063/15063] CoreContext
avformatdecoder.cpp:2163 (ScanStreams) - AFD: Audio Track #1, with
type 0 is A/V stream #1 and has 6 channels in the English
language(6647399).
2012-08-26 13:12:55.701415 I [15063/15063] CoreContext
avformatdecoder.cpp:2102 (ScanStreams) - AFD: Opened codec 0x5a62380,
id(DVD_SUBTITLE) type(Subtitle)
2012-08-26 13:12:55.718309 I [15063/15063] CoreContext
avformatdecoder.cpp:4019 (AutoSelectAudioTrack) - AFD: Selected track
1: English DCA 5.1ch (A/V Stream #1)
2012-08-26 13:12:55.718394 I [15063/15063] CoreContext
avformatdecoder.cpp:4764 (SetupAudioStream) - AFD: Initializing audio
parms from audio track #1
2012-08-26 13:12:55.718518 I [15063/15063] CoreContext
avformatdecoder.cpp:4770 (SetupAudioStream) - AFD: Audio format
changed
from id(NONE) -1Hz -1ch -1bps (profile
0) to id( DTS) 48000Hz 6ch 16bps pt (profile 60)
2012-08-26 13:12:55.718632 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:443 (SetupPassthrough) - AO: Setting DTS
Core passthrough
2012-08-26 13:12:55.721029 I [15063/15063] CoreContext
audio/spdifencoder.cpp:88 (SPDIFEncoder) - SPDIFEncoder: Creating
spdif encoder (for DTS)
2012-08-26 13:12:55.721070 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:882 (KillAudio) - AO: Killing AudioOutputDSP
2012-08-26 13:12:55.721137 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:648 (Reconfigure) - AO: Original codec was
DTS, signed 16 bit, 48 kHz, 6 channels
2012-08-26 13:12:55.721195 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:666 (Reconfigure) - AO: enc(0), passthru(1),
features (AC3,DTS) configured_channels(2), 6 channels supported(0)
max_channels(2)
2012-08-26 13:12:55.721237 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:791 (Reconfigure) - AO: Opening audio device
'hdmi:CARD=NVidia,DEV=1' ch 2(6) sr 48000 sf signed 16 bit reenc 0
2012-08-26 13:12:55.721265 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:121 (TryOpenDevice) - ALSA: OpenDevice
hdmi:CARD=NVidia,DEV=1,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01 for
passthrough
2012-08-26 13:12:55.730243 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:731 (SetParameters) - ALSA:
SetParameters(format=2, channels=2, rate=48000, buffer_time=500000,
period_time=4)
2012-08-26 13:12:55.730464 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:789 (SetParameters) - ALSA: Buffer size
range from 64 to 16384
2012-08-26 13:12:55.730489 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:792 (SetParameters) - ALSA: Period size
range from 32 to 8192
2012-08-26 13:12:55.730552 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:805 (SetParameters) - ALSA: Requested
500000us got 341333 buffer time
2012-08-26 13:12:55.731425 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:264 (IncPreallocBufferSize) - ALSA: Hardware
audio buffer cur: 64 need: 128 max allowed: 32768
2012-08-26 13:12:55.731515 E [15063/15063] CoreContext
audio/audiooutputalsa.cpp:195 (SetPreallocBufferSize) - ALSA: Setting
hardware audio buffer size to 128
2012-08-26 13:12:55.734462 E [15063/15063] CoreContext
audio/audiooutputalsa.cpp:211 (SetPreallocBufferSize) - ALSA: Error
opening /proc/asound/card1/pcm7p/sub0/prealloc: Permission denied.
2012-08-26 13:12:55.734625 E [15063/15063] CoreContext
audio/audiooutputalsa.cpp:213 (SetPreallocBufferSize) - ALSA: Try to
manually increase audio buffer with: echo 128 | sudo tee
/proc/asound/card1/pcm7p/sub0/prealloc
2012-08-26 13:12:55.734733 E [15063/15063] CoreContext
audio/audiooutputalsa.cpp:545 (OpenDevice) - ALSA: Unable to
sufficiently increase ALSA hardware buffer size - underruns are likely
2012-08-26 13:12:55.734765 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:121 (TryOpenDevice) - ALSA: OpenDevice
hdmi:CARD=NVidia,DEV=1,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01 for
passthrough
2012-08-26 13:12:55.739786 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:731 (SetParameters) - ALSA:
SetParameters(format=2, channels=2, rate=48000, buffer_time=500000,
period_time=4)
2012-08-26 13:12:55.739893 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:789 (SetParameters) - ALSA: Buffer size
range from 64 to 16384
2012-08-26 13:12:55.739932 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:792 (SetParameters) - ALSA: Period size
range from 32 to 8192
2012-08-26 13:12:55.739970 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:809 (SetParameters) - ALSA: Buffer time =
341333 us
2012-08-26 13:12:55.740034 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:815 (SetParameters) - ALSA: Period time = 4
periods
2012-08-26 13:12:55.776272 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:824 (SetParameters) - ALSA: Buffer size =
16384 | Period size = 4096
2012-08-26 13:12:55.816083 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:965 (OpenMixer) - ALSA: found playback
control PCM on mixer device default
2012-08-26 13:12:55.816171 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:992 (OpenMixer) - ALSA: mixer volume range
on mixer device default/PCM - min 0, max 255, range 255
2012-08-26 13:12:55.816188 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:995 (OpenMixer) - ALSA: mixer device
default/PCM set up successfully
2012-08-26 13:12:55.818229 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:901 (SetVolumeChannel) - ALSA: channel 0
volume set 77 => 196
2012-08-26 13:12:55.818281 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:901 (SetVolumeChannel) - ALSA: channel 1
volume set 77 => 196
2012-08-26 13:12:55.818311 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:808 (Reconfigure) - AO: Audio fragment size:
8192
2012-08-26 13:12:55.818419 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:882 (GetVolumeChannel) - ALSA: get volume
channel 0: 77
2012-08-26 13:12:55.818464 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:901 (SetVolumeChannel) - ALSA: channel 0
volume set 77 => 196
2012-08-26 13:12:55.818492 I [15063/15063] CoreContext
audio/audiooutputalsa.cpp:901 (SetVolumeChannel) - ALSA: channel 1
volume set 77 => 196
2012-08-26 13:12:55.818559 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:838 (Reconfigure) - AO: Audio Stretch
Factor: 1
2012-08-26 13:12:55.818762 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:851 (Reconfigure) - AO: Ending Reconfigure()
2012-08-26 13:12:55.819772 I [15063/15101] AudioOutputBase
audio/audiooutputbase.cpp:1818 (run) - AO: kickoffOutputAudioLoop: pid
= 15063
2012-08-26 13:12:55.819846 I [15063/15101] AudioOutputBase
audio/audiooutputbase.cpp:1668 (OutputAudioLoop) - AO:
OutputAudioLoop: Play Event
2012-08-26 13:12:55.878802 I [15063/15063] CoreContext
mythpainter_ogl.cpp:62 (ClearCache) - Clearing OpenGL painter cache.
2012-08-26 13:12:56.613057 I [15063/15063] CoreContext
mythrender_vdpau.cpp:1675 (CreatePresentationSurfaces) - VDPAU:
Created 2 output surfaces.
2012-08-26 13:12:56.613214 I [15063/15063] CoreContext
mythrender_vdpau.cpp:1709 (CheckHardwareSupport) - VDPAU: Version 1
2012-08-26 13:12:56.613242 I [15063/15063] CoreContext
mythrender_vdpau.cpp:1716 (CheckHardwareSupport) - VDPAU: Information
NVIDIA VDPAU Driver Shared Library 295.71 Thu Aug 2 19:48:54 PDT
2012
2012-08-26 13:12:56.613281 I [15063/15063] CoreContext
mythrender_vdpau.cpp:401 (Create) - VDPAU: Created VDPAU render device
1920x1080
2012-08-26 13:12:56.904009 N [15063/15063] CoreContext
mythplayer.cpp:506 (CheckExtraAudioDecode) - Player(0): Forcing decode
extra audio option on (Video method requires it).
2012-08-26 13:12:56.919294 I [15063/15101] AudioOutputBase
audio/audiooutputbase.cpp:1668 (OutputAudioLoop) - AO:
OutputAudioLoop: Play Event
2012-08-26 13:12:57.090962 I [15063/15101] AudioOutputBase
audio/audiooutputbase.cpp:1668 (OutputAudioLoop) - AO:
OutputAudioLoop: Play Event
2012-08-26 13:12:57.094996 I [15063/15063] CoreContext
mythplayer.cpp:1737 (InitAVSync) - Player(0): Video timing method:
USleep with busy wait
2012-08-26 13:12:57.095822 I [15063/15063] CoreContext
tv_play.cpp:5169 (StartPlayer) - TV: Created player.
2012-08-26 13:12:57.095916 I [15063/15063] CoreContext
tv_play.cpp:2360 (HandleStateChange) - TV: Changing from None to
WatchingVideo
2012-08-26 13:12:57.108709 I [15063/15063] CoreContext
tv_play.cpp:2451 (HandleStateChange) - TV: Main UI disabled.
2012-08-26 13:12:57.108766 I [15063/15063] CoreContext tv_play.cpp:378
(StartTV) - TV: Entering main playback loop.
2012-08-26 13:12:57.145432 I [15063/15102] Decoder
videoout_vdpau.cpp:627 (DrawSlice) - VidOutVDPAU: Added 1 new buffers.
New buffer size 15 (3 decode and 12 process)
2012-08-26 13:12:57.202502 I [15063/15063] CoreContext
mythrender_vdpau.cpp:587 (CheckOutputSurfaces) - VDPAU: Added 2 output
surfaces (total 4, max 4)
2012-08-26 13:12:57.269471 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:924 (Pause) - AO: Pause 1
2012-08-26 13:12:57.269944 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:924 (Pause) - AO: Pause 1
2012-08-26 13:12:57.270177 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:924 (Pause) - AO: Pause 1
2012-08-26 13:12:57.270284 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:924 (Pause) - AO: Pause 1
2012-08-26 13:12:57.270364 I [15063/15063] CoreContext
audio/audiooutputbase.cpp:924 (Pause) - AO: Pause 0
2012-08-26 13:12:57.273157 I [15063/15101] AudioOutputBase
audio/audiooutputbase.cpp:1668 (OutputAudioLoop) - AO:
OutputAudioLoop: Play Event
2012-08-26 13:13:01.336389 I [15063/15063] CoreContext
tv_play.cpp:2121 (HandleStateChange) - TV: Attempting to change from
WatchingVideo to None
More information about the mythtv-users
mailing list