[mythtv-users] Audio settings for older Panasonic

Matthew Zimmerman mzimmerman at gmail.com
Wed Sep 19 03:10:39 UTC 2012


I recently bought a used TV and in the upgrade process I can't get
hdmi audio working for recordings.  MythVideo plays fine, but I can't
get any recordings to play.

aplay, mplayer, and paplay all work with no special parameters on
sample wav files, but every setting I've tried in myth fails.  The
best I get is static or white noise output.  mplayer even works to
play the recordings if I download them to play them on the frontend.

Here's a sample -v audio log output of playing a working video, then a
few spaces, and the output of a static/white noise recording.

Thanks, and as a user of Myth since about 0.22 and successfully
getting hdmi to work then, the audio has gotten significantly better,
so please don't take this as complaining :)  I'm just dumbfounded I
can't get this!
Matt
-------------- next part --------------
****Output from MythVideo****
2012-09-18 22:55:14.608374 I  TV: Creating TV object
2012-09-18 22:55:14.640088 N  Suspending idle timer
2012-09-18 22:55:14.643887 I  TV: Created TvPlayWindow.
2012-09-18 22:55:14.660019 I  TV: Attempting to change from None to WatchingVideo
2012-09-18 22:55:14.676327 I  Using protocol version 72
2012-09-18 22:55:14.678736 I  Using protocol version 72
2012-09-18 22:55:14.937316 I  Pulse: Operation: success 1 remaining 1
2012-09-18 22:55:14.957654 I  Pulse: Operation: success 1 remaining 0
2012-09-18 22:55:14.967782 I  Pulse: PulseAudio suspend OK
2012-09-18 22:55:14.974853 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7
2012-09-18 22:55:14.984774 I  AOS: Sample rate 32000 is supported
2012-09-18 22:55:14.984845 I  AOS: Sample rate 44100 is supported
2012-09-18 22:55:14.984902 I  AOS: Sample rate 48000 is supported
2012-09-18 22:55:14.984922 I  AOS: Format signed 16 bit is supported
2012-09-18 22:55:14.984944 I  AOS: 2 channel(s) are supported
2012-09-18 22:55:14.985311 I  ALSA: Successfully retrieved ELD data
2012-09-18 22:55:14.985356 I  ELDUTILS: Detected monitor PANASONIC-TV at connection type HDMI
2012-09-18 22:55:14.985414 I  ELDUTILS: available speakers: FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW FLH/FRH TC FCH
2012-09-18 22:55:14.985441 I  ELDUTILS: max LPCM channels = 2
2012-09-18 22:55:14.985473 I  ELDUTILS: max channels = 2
2012-09-18 22:55:14.985489 I  ELDUTILS: supported codecs = LPCM
2012-09-18 22:55:14.985530 I  ELDUTILS: supports coding type LPCM: channels = 2, rates = 32000 44100 48000, bits = 16
2012-09-18 22:55:15.071635 I  AOS: may be AC3 or DTS capable
2012-09-18 22:55:15.071689 I  AOS: 6 channel(s) are supported
2012-09-18 22:55:15.080883 N  AudioPlayer: Enabling Audio
2012-09-18 22:55:15.137816 I  AFD: codec AAC has 2 channels
2012-09-18 22:55:15.142156 I  AFD: Opened codec 0x7999b20, id(AAC) type(Audio)
2012-09-18 22:55:15.142367 I  AFD: Audio Track #1, with type 0 is A/V stream #0 and has 2 channels in the English language(6647399).
2012-09-18 22:55:15.171644 I  AFD: Opened codec 0x3f42b20, id(MPEG4) type(Video)
2012-09-18 22:55:15.171670 W  Enabling buffering optimisations for low bitrate stream.
2012-09-18 22:55:15.171715 I  AFD: Selected track 1: English AAC 2ch (A/V Stream #0)
2012-09-18 22:55:15.171741 I  AFD: Initializing audio parms from audio track #1
2012-09-18 22:55:15.171791 I  AFD: Audio format changed 
			from id(NONE)     -1Hz -1ch -1bps     (profile 0) to id( AAC)  48000Hz  2ch 16bps     (profile 0)
2012-09-18 22:55:15.171814 I  AO: Killing AudioOutputDSP
2012-09-18 22:55:15.171840 I  AO: Original codec was AAC, signed 16 bit, 48 kHz, 2 channels
2012-09-18 22:55:15.171875 I  AO: enc(0), passthru(0), features (AC3) configured_channels(2), 2 channels supported(1) max_channels(2)
2012-09-18 22:55:15.171909 I  AO: Opening audio device 'plughw:CARD=NVidia,DEV=7' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2012-09-18 22:55:15.171927 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7
2012-09-18 22:55:15.183150 I  ALSA: SetParameters(format=2, channels=2, rate=48000, buffer_time=500000, period_time=4)
2012-09-18 22:55:15.183881 I  ALSA: Buffer size range from 64 to 16384
2012-09-18 22:55:15.183905 I  ALSA: Period size range from 32 to 8192
2012-09-18 22:55:15.184011 I  ALSA: Requested 500000us got 341333 buffer time
2012-09-18 22:55:15.184351 I  ALSA: Hardware audio buffer cur: 64 need: 128 max allowed: 32768
2012-09-18 22:55:15.184873 E  ALSA: Setting hardware audio buffer size to 128
2012-09-18 22:55:15.192548 E  ALSA: Error opening /proc/asound/card0/pcm7p/sub0/prealloc: Permission denied. 
2012-09-18 22:55:15.192589 E  ALSA: Try to manually increase audio buffer with: echo 128 | sudo tee /proc/asound/card0/pcm7p/sub0/prealloc
2012-09-18 22:55:15.192633 E  ALSA: Unable to sufficiently increase ALSA hardware buffer size - underruns are likely
2012-09-18 22:55:15.192656 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7
2012-09-18 22:55:15.200570 I  ALSA: SetParameters(format=2, channels=2, rate=48000, buffer_time=500000, period_time=4)
2012-09-18 22:55:15.201512 I  ALSA: Buffer size range from 64 to 16384
2012-09-18 22:55:15.201541 I  ALSA: Period size range from 32 to 8192
2012-09-18 22:55:15.201625 I  ALSA: Buffer time = 341333 us
2012-09-18 22:55:15.201816 I  ALSA: Period time = 4 periods
2012-09-18 22:55:15.312285 I  ALSA: Buffer size = 16384 | Period size = 4096
2012-09-18 22:55:15.408275 I  AO: Audio fragment size: 8192
2012-09-18 22:55:15.408310 I  AO: Audio Stretch Factor: 1
2012-09-18 22:55:15.408424 I  AO: Ending Reconfigure()
2012-09-18 22:55:15.408803 I  AO: kickoffOutputAudioLoop: pid = 2349
2012-09-18 22:55:15.408845 I  AO: OutputAudioLoop: Play Event
2012-09-18 22:55:15.474581 I  Clearing OpenGL painter cache.
2012-09-18 22:55:15.646920 I  VDPAU: Created 2 output surfaces.
2012-09-18 22:55:15.646962 I  VDPAU: Created VDPAU render device 1280x720
2012-09-18 22:55:15.673744 N  Player(4): Forcing decode extra audio option on (Video method requires it).
2012-09-18 22:55:15.782312 I  AO: OutputAudioLoop: Play Event
2012-09-18 22:55:15.789297 I  Player(4): Video timing method: USleep with busy wait
2012-09-18 22:55:15.790210 I  TV: Created player.
2012-09-18 22:55:15.790335 I  TV: Changing from None to WatchingVideo
2012-09-18 22:55:15.805615 I  TV: Main UI disabled.
2012-09-18 22:55:15.805643 I  TV: Entering main playback loop.
2012-09-18 22:55:15.814509 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-09-18 22:55:15.824873 I  VDPAU: Added 2 output surfaces (total 4, max 4)
2012-09-18 22:55:16.056449 I  AO: Pause 1
2012-09-18 22:55:16.056623 I  AO: Pause 1
2012-09-18 22:55:16.056779 I  AO: Pause 1
2012-09-18 22:55:16.056920 I  AO: Pause 1
2012-09-18 22:55:16.057058 I  AO: Pause 1
2012-09-18 22:55:16.057198 I  AO: Pause 1
2012-09-18 22:55:16.057331 I  AO: Pause 1
2012-09-18 22:55:16.057460 I  AO: Pause 1
2012-09-18 22:55:16.057594 I  AO: Pause 1
2012-09-18 22:55:16.057724 I  AO: Pause 1
2012-09-18 22:55:16.057861 I  AO: Pause 1
2012-09-18 22:55:16.065323 I  AO: OutputAudioLoop: audio paused
2012-09-18 22:55:16.066865 I  AO: Pause 0
2012-09-18 22:55:16.134759 I  AO: OutputAudioLoop: Play Event
2012-09-18 22:55:17.652727 I  TV: Attempting to change from WatchingVideo to None
2012-09-18 22:55:17.667995 I  VDPAU Painter: Clearing VDPAU painter cache.
2012-09-18 22:55:17.743656 I  AO: Killing AudioOutputDSP
2012-09-18 22:55:17.776304 I  AO: OutputAudioLoop: Stop Event
2012-09-18 22:55:17.776335 I  AO: kickoffOutputAudioLoop exiting
2012-09-18 22:55:18.155637 I  Pulse: Operation: success 1 remaining 1
2012-09-18 22:55:18.176099 I  Pulse: Operation: success 1 remaining 0
2012-09-18 22:55:18.186309 I  Pulse: PulseAudio resume OK
2012-09-18 22:55:18.190359 I  TV: Changing from WatchingVideo to None
2012-09-18 22:55:18.190464 I  TV: Exiting main playback loop.
2012-09-18 22:55:18.194231 I  ScreenSaverX11Private: DPMS Reactivated 1
2012-09-18 22:55:18.218747 N  Resuming idle timer



***Output from playing a recording****
2012-09-18 22:55:53.574944 I  TV: Creating TV object
2012-09-18 22:55:53.587767 N  Suspending idle timer
2012-09-18 22:55:53.589983 I  TV: Created TvPlayWindow.
2012-09-18 22:55:53.609296 I  TV: Attempting to change from None to WatchingPreRecorded
2012-09-18 22:55:53.627453 I  Using protocol version 72
2012-09-18 22:55:53.630473 I  Using protocol version 72
2012-09-18 22:55:53.959641 I  Pulse: Operation: success 1 remaining 1
2012-09-18 22:55:53.979993 I  Pulse: Operation: success 1 remaining 0
2012-09-18 22:55:53.990137 I  Pulse: PulseAudio suspend OK
2012-09-18 22:55:53.992333 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7
2012-09-18 22:55:54.000693 I  AOS: Sample rate 32000 is supported
2012-09-18 22:55:54.000766 I  AOS: Sample rate 44100 is supported
2012-09-18 22:55:54.000825 I  AOS: Sample rate 48000 is supported
2012-09-18 22:55:54.000846 I  AOS: Format signed 16 bit is supported
2012-09-18 22:55:54.000869 I  AOS: 2 channel(s) are supported
2012-09-18 22:55:54.001281 I  ALSA: Successfully retrieved ELD data
2012-09-18 22:55:54.001326 I  ELDUTILS: Detected monitor PANASONIC-TV at connection type HDMI
2012-09-18 22:55:54.001389 I  ELDUTILS: available speakers: FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW FLH/FRH TC FCH
2012-09-18 22:55:54.001435 I  ELDUTILS: max LPCM channels = 2
2012-09-18 22:55:54.001457 I  ELDUTILS: max channels = 2
2012-09-18 22:55:54.001477 I  ELDUTILS: supported codecs = LPCM
2012-09-18 22:55:54.001521 I  ELDUTILS: supports coding type LPCM: channels = 2, rates = 32000 44100 48000, bits = 16
ALSA lib conf.c:4571:(parse_args) Unknown parameter AES0
ALSA lib conf.c:4704:(snd_config_expand) Parse arguments error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM plughw:CARD=NVidia,DEV=7,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01
ALSA lib conf.c:4571:(parse_args) Unknown parameter AES0
ALSA lib conf.c:4704:(snd_config_expand) Parse arguments error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM plughw:CARD=NVidia,DEV=7,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01
2012-09-18 22:55:54.109433 I  AOS: may be AC3 or DTS capable
2012-09-18 22:55:54.109483 I  AOS: 6 channel(s) are supported
2012-09-18 22:55:54.109587 N  AudioPlayer: Enabling Audio
2012-09-18 22:55:54.166763 I  AFD: Opened codec 0x56262e0, id(MPEG2VIDEO) type(Video)
2012-09-18 22:55:54.166806 I  AFD: codec AC3 has 2 channels
2012-09-18 22:55:54.167876 I  AFD: Opened codec 0x3fd9bd0, id(AC3) type(Audio)
2012-09-18 22:55:54.167978 I  AFD: Audio Track #1, with type 0 is A/V stream #1 and has 2 channels in the English language(6647399).
2012-09-18 22:55:54.168014 I  AFD: codec AC3 has 1 channels
2012-09-18 22:55:54.169140 I  AFD: Opened codec 0x4c199c0, id(AC3) type(Audio)
2012-09-18 22:55:54.169231 I  AFD: Audio Track #2, with type 0 is A/V stream #2 and has 1 channels in the Unknown language(6648684).
2012-09-18 22:55:54.169276 I  AFD: Trying to select default track
2012-09-18 22:55:54.169300 I  AFD: Trying to select audio track (w/lang)
2012-09-18 22:55:54.169395 I  AFD: Selected track 1: English AC3 2ch (A/V Stream #1)
2012-09-18 22:55:54.169432 I  AFD: Initializing audio parms from audio track #1
2012-09-18 22:55:54.169525 I  AFD: Audio format changed 
			from id(NONE)     -1Hz -1ch -1bps     (profile 0) to id( AC3)  48000Hz  2ch 16bps  pt (profile 0)
2012-09-18 22:55:54.169566 I  AO: Setting AC3 passthrough
2012-09-18 22:55:54.171990 I  SPDIFEncoder: Creating spdif encoder (for AC3)
2012-09-18 22:55:54.172030 I  AO: Killing AudioOutputDSP
2012-09-18 22:55:54.172075 I  AO: Original codec was AC3, signed 16 bit, 48 kHz, 2 channels
2012-09-18 22:55:54.172139 I  AO: enc(0), passthru(1), features (AC3) configured_channels(2), 2 channels supported(1) max_channels(2)
2012-09-18 22:55:54.172244 I  AO: Opening audio device 'plughw:CARD=NVidia,DEV=7' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2012-09-18 22:55:54.172298 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01 for passthrough
2012-09-18 22:55:54.175764 I  ALSA: Auto setting passthrough failed (No such file or directory), defaulting to main device
2012-09-18 22:55:54.175836 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7
2012-09-18 22:55:54.184581 I  ALSA: SetParameters(format=2, channels=2, rate=48000, buffer_time=500000, period_time=4)
2012-09-18 22:55:54.185433 I  ALSA: Buffer size range from 64 to 16384
2012-09-18 22:55:54.185481 I  ALSA: Period size range from 32 to 8192
2012-09-18 22:55:54.185587 I  ALSA: Requested 500000us got 341333 buffer time
2012-09-18 22:55:54.185922 I  ALSA: Hardware audio buffer cur: 64 need: 128 max allowed: 32768
2012-09-18 22:55:54.186038 E  ALSA: Setting hardware audio buffer size to 128
2012-09-18 22:55:54.192583 E  ALSA: Error opening /proc/asound/card0/pcm7p/sub0/prealloc: Permission denied. 
2012-09-18 22:55:54.192636 E  ALSA: Try to manually increase audio buffer with: echo 128 | sudo tee /proc/asound/card0/pcm7p/sub0/prealloc
2012-09-18 22:55:54.192696 E  ALSA: Unable to sufficiently increase ALSA hardware buffer size - underruns are likely
2012-09-18 22:55:54.192749 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01 for passthrough
2012-09-18 22:55:54.193182 I  ALSA: Auto setting passthrough failed (No such file or directory), defaulting to main device
2012-09-18 22:55:54.193227 I  ALSA: OpenDevice plughw:CARD=NVidia,DEV=7
2012-09-18 22:55:54.200552 I  ALSA: SetParameters(format=2, channels=2, rate=48000, buffer_time=500000, period_time=4)
2012-09-18 22:55:54.201444 I  ALSA: Buffer size range from 64 to 16384
2012-09-18 22:55:54.207328 I  ALSA: Period size range from 32 to 8192
2012-09-18 22:55:54.207483 I  ALSA: Buffer time = 341333 us
2012-09-18 22:55:54.207665 I  ALSA: Period time = 4 periods
2012-09-18 22:55:54.320380 I  ALSA: Buffer size = 16384 | Period size = 4096
2012-09-18 22:55:54.416294 I  AO: Audio fragment size: 8192
2012-09-18 22:55:54.416337 I  AO: Audio Stretch Factor: 1
2012-09-18 22:55:54.416653 I  AO: Ending Reconfigure()
2012-09-18 22:55:54.416962 I  AO: kickoffOutputAudioLoop: pid = 2349
2012-09-18 22:55:54.417049 I  AO: OutputAudioLoop: Play Event
2012-09-18 22:55:54.595007 I  Clearing OpenGL painter cache.
2012-09-18 22:55:54.827042 I  VDPAU: Created 2 output surfaces.
2012-09-18 22:55:54.827085 I  VDPAU: Created VDPAU render device 1280x720
2012-09-18 22:55:54.879471 N  Player(5): Forcing decode extra audio option on (Video method requires it).
2012-09-18 22:55:55.013184 I  AO: OutputAudioLoop: Play Event
2012-09-18 22:55:55.024585 I  Player(5): Video timing method: USleep with busy wait
2012-09-18 22:55:55.025649 I  TV: Created player.
2012-09-18 22:55:55.032412 I  TV: Changing from None to WatchingPreRecorded
2012-09-18 22:55:55.041878 I  TV: Main UI disabled.
2012-09-18 22:55:55.041909 I  TV: Entering main playback loop.
2012-09-18 22:55:55.104330 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-09-18 22:55:55.113720 I  VDPAU: Added 2 output surfaces (total 4, max 4)
2012-09-18 22:55:56.041374 I  TV: Attempting to change from WatchingPreRecorded to None
2012-09-18 22:55:56.057316 I  VDPAU Painter: Clearing VDPAU painter cache.
2012-09-18 22:55:56.108984 I  AO: Killing AudioOutputDSP
2012-09-18 22:55:56.114636 I  AO: OutputAudioLoop: Stop Event
2012-09-18 22:55:56.114671 I  AO: kickoffOutputAudioLoop exiting
2012-09-18 22:55:56.475407 I  Pulse: Operation: success 1 remaining 1
2012-09-18 22:55:56.495699 I  Pulse: Operation: success 1 remaining 0
2012-09-18 22:55:56.505852 I  Pulse: PulseAudio resume OK
2012-09-18 22:55:56.506074 I  TV: Changing from WatchingPreRecorded to None
2012-09-18 22:55:56.506138 I  TV: Exiting main playback loop.
2012-09-18 22:55:56.506748 I  ScreenSaverX11Private: DPMS Reactivated 1
2012-09-18 22:55:56.535434 N  Resuming idle timer


More information about the mythtv-users mailing list