﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
8239	upconvert audio to 5.1 crashes mythfrontend	daniel.armbrust.list@…	JYA	"My configuration:

My asound.conf file consists of:

pcm.!default {
    type plug
    slave.pcm ""spdif""
 }

In my Myth frontend, I have:

Audio Output - ALSA:Default
Speakers - 5.1

Digital Output Device - ALSA:lec958 {AESO 0x02}

I also have the boxes checked for ""Dolby"" and ""DTS""

If I try to watch a show recorded by an analog tuner (actually, live
tv in this log), and I check the box for ""upconvert"", myth tv
crashes like so:

2010-03-28 10:36:42.363 ProgramInfo(): Updated pathname '':'' ->
'2104_20100328103642.mpg'
2010-03-28 10:36:43.789 AFD: Opened codec 0xa89d8d0, id(MPEG2VIDEO) type(Video)
2010-03-28 10:36:43.789 AFD: codec MP2 has 2 channels
2010-03-28 10:36:43.789 AFD: Opened codec 0xa89e5e0, id(MP2) type(Audio)
2010-03-28 10:36:43.845 AO: Using resampler. From: 32000 to 192000
2010-03-28 10:36:43.847 DEnc, Error: Could not open codec, invalid
bitrate or samplerate
2010-03-28 10:36:43.847 Opening audio device 'default'. ch 2(2) sr
192000 (reenc 0)
2010-03-28 10:36:43.847 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
2010-03-28 10:36:43.878 mixer unable to find control Master 1
2010-03-28 10:36:43.890 AO: Using resampler. From: 32000 to 192000
2010-03-28 10:36:43.891 DEnc, Error: Could not open codec, invalid
bitrate or samplerate
2010-03-28 10:36:43.891 Opening audio device 'default'. ch 2(2) sr
192000 (reenc 0)
2010-03-28 10:36:43.892 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
2010-03-28 10:36:43.928 mixer unable to find control Master 1
2010-03-28 10:36:43.946 AO: Using resampler. From: 32000 to 192000
2010-03-28 10:36:43.947 DEnc, Error: Could not open codec, invalid
bitrate or samplerate
2010-03-28 10:36:43.947 Opening audio device 'default'. ch 2(2) sr
192000 (reenc 0)
2010-03-28 10:36:43.948 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
2010-03-28 10:36:43.982 mixer unable to find control Master 1
2010-03-28 10:36:44.035 ProgramInfo(): Updated pathname '':'' ->
'2104_20100328103642.mpg'
2010-03-28 10:36:44.062 VDPAU: Created 2 output surfaces.
2010-03-28 10:36:44.062 VDPAU: Created VDPAU render device 1280x720
2010-03-28 10:36:44.078 NVP(1): Forcing decode extra audio option on
(Video method requires it).
2010-03-28 10:36:44.078 FilterManager: Failed to load filter
'colorspace', no such filter exists
2010-03-28 10:36:44.078 OSD Theme Dimensions W: 1280 H: 720
2010-03-28 10:36:44.097 ProgramInfo(): Updated pathname '':'' ->
'2104_20100328103642.mpg'
2010-03-28 10:36:44.134 Realtime priority would require SUID as root.
2010-03-28 10:36:44.136 ProgramInfo(): Updated pathname '':'' ->
'2104_20100328103642.mpg'
2010-03-28 10:36:44.148 LiveTVChain(live-myth-2010-03-28T10:36:18):
SwitchTo() not switching to current
2010-03-28 10:36:44.152 [mpegvideo_vdpau @ 0x431cc40]warning: first
frame is no keyframe
2010-03-28 10:36:44.163 OpenGLVideoSync()
2010-03-28 10:36:44.192 [mpegvideo_vdpau @ 0x431cc40]warning: first
frame is no keyframe
2010-03-28 10:36:44.231 Video timing method: SGI OpenGL
2010-03-28 10:36:44.259 VDPAU: Added 2 output surfaces (total 4, max 4)
2010-03-28 10:36:44.623 WriteAudio: buffer underrun
Segmentation fault

FYI - the mixer errors in this log don't seem to matter - I got rid of those by turning off the mixer in the myth configuration, that gets rid of the mixer errors.  But myth still crashes if I check the box for upconvert.

If I don't check the box for upconvert, I simply get no sound from an audio stream like this:

2010-03-28 10:36:43.789 AFD: Opened codec 0xa89d8d0, id(MPEG2VIDEO) type(Video)
2010-03-28 10:36:43.789 AFD: codec MP2 has 2 channels
2010-03-28 10:36:43.789 AFD: Opened codec 0xa89e5e0, id(MP2) type(Audio)
2010-03-28 10:36:43.845 AO: Using resampler. From: 32000 to 192000

This used to work fine in myth .22.
"	defect	closed	major	unknown	MythTV - Audio Output	head	medium	fixed	audio sound		0
