[mythtv-users] Audio issues with ALSA (works in mplayer not in MythTV)

Colin Haubrich colin.haubrich at gmail.com
Wed May 19 06:17:41 UTC 2010


All,

My live TV and recordings are not producing any audio. The sound card is
producing sound in the OS and if I watch a pre-recorded show through mplayer
I am getting sound. Just no luck in MythTV. I've tried the various audio
options for Alsa, enabled buffering and also switched between Stereo and 5.1
to no avail.

Attached is the log from running the MythTV frontend with the -v
audio,playback option.

Note, I'm working on trying to get just plain stereo sound working through
the audio out jack. Next step would be to actually get sound through my new
Video/HDMI card which apparently is supported (GeForce 210)

Any help is appreciated.

- Colin
-- 
What's gmail? Well it's a gig of email space... if your interested in having
a gmail account send me an email and I'll hook you up!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100519/f8ef1608/attachment.htm>
-------------- next part --------------
2010-05-19 02:10:13.495 Opening ALSA audio device 'default'.
2010-05-19 02:10:13.500 in SetParameters(format=2, channels=6, rate=48000, buffer_time=400000, period_time=25000)
2010-05-19 02:10:13.501 ALSA, Warning: mmap not available, attempting to fall back to slow writes.
2010-05-19 02:10:13.501 get_buffer_size returned 19200
2010-05-19 02:10:13.501 set_period_time_near returned 25000
2010-05-19 02:10:13.501 get_period_size returned 1200
2010-05-19 02:10:13.506 Opening mixer default
2010-05-19 02:10:13.522 Setting Master volume to 80
2010-05-19 02:10:13.522 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.529 channel 0 vol set to 52429
2010-05-19 02:10:13.529 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.529 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.529 Mixer unable to find control Master 2
2010-05-19 02:10:13.529 Mixer unable to find control Master 3
2010-05-19 02:10:13.530 Mixer unable to find control Master 4
2010-05-19 02:10:13.530 Mixer unable to find control Master 5
2010-05-19 02:10:13.530 ALSA: channel 0 playback switch set to 1
2010-05-19 02:10:13.530 Setting Master volume to 80
2010-05-19 02:10:13.530 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.536 channel 1 vol set to 52429
2010-05-19 02:10:13.537 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.537 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.537 Mixer unable to find control Master 2
2010-05-19 02:10:13.537 Mixer unable to find control Master 3
2010-05-19 02:10:13.537 Mixer unable to find control Master 4
2010-05-19 02:10:13.537 Mixer unable to find control Master 5
2010-05-19 02:10:13.537 ALSA: channel 1 playback switch set to 1
2010-05-19 02:10:13.538 Setting PCM volume to 70
2010-05-19 02:10:13.538 Mixer unable to find control PCM
2010-05-19 02:10:13.538 Setting PCM volume to 70
2010-05-19 02:10:13.538 Mixer unable to find control PCM
2010-05-19 02:10:13.538 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.538 Setting Master volume to 80
2010-05-19 02:10:13.538 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.538 channel 0 vol set to 52429
2010-05-19 02:10:13.538 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.538 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.538 Mixer unable to find control Master 2
2010-05-19 02:10:13.538 Mixer unable to find control Master 3
2010-05-19 02:10:13.538 Mixer unable to find control Master 4
2010-05-19 02:10:13.538 Mixer unable to find control Master 5
2010-05-19 02:10:13.539 ALSA: channel 0 playback switch set to 1
2010-05-19 02:10:13.539 Setting Master volume to 80
2010-05-19 02:10:13.539 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.539 channel 1 vol set to 52429
2010-05-19 02:10:13.539 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.539 Volume range is 0 to 65536, mult=0.00152588
2010-05-19 02:10:13.539 Mixer unable to find control Master 2
2010-05-19 02:10:13.539 Mixer unable to find control Master 3
2010-05-19 02:10:13.539 Mixer unable to find control Master 4
2010-05-19 02:10:13.539 Mixer unable to find control Master 5
2010-05-19 02:10:13.539 ALSA: channel 1 playback switch set to 1
2010-05-19 02:10:13.539 AO: Audio fragment size: 18432
2010-05-19 02:10:13.540 AO: Audio Stretch Factor: 1
2010-05-19 02:10:13.540 AO: Ending reconfigure
2010-05-19 02:10:13.540 AO: no change exiting
2010-05-19 02:10:13.540 Dec: Trying to select track (w/lang)
2010-05-19 02:10:13.540 Dec: Selecting first track
2010-05-19 02:10:13.540 Dec: Selected track #1 in the Unknown language(0)
2010-05-19 02:10:13.540 AO: kickoffOutputAudioLoop: pid = 24617
2010-05-19 02:10:13.540 Dec: Selected track #1 in the English language(6647399)
2010-05-19 02:10:13.540 AO: OutputAudioLoop: Play Event
2010-05-19 02:10:13.540 Dec: Resyncing position map. posmapStarted = 0 livetv(0) watchingRec(0)
2010-05-19 02:10:13.567 Position map filled from DB to: 81399
2010-05-19 02:10:13.568 Dec: SyncPositionMap prerecorded, from DB: 5428 entries
2010-05-19 02:10:13.568 Dec: SyncPositionMap, new totframes: 81399, new length: 2716, posMap size: 5428
2010-05-19 02:10:13.568 AFD: Position map found
2010-05-19 02:10:13.568 AFD: Successfully opened decoder for file: "/share/1051_20100506231500.mpg". novideo(0)
2010-05-19 02:10:13.571 AO: no change exiting
2010-05-19 02:10:13.571 AO: Pause 1
2010-05-19 02:10:13.571 VideoOutput: Allowed renderers: vdpau
2010-05-19 02:10:13.571 VideoOutput: Allowed renderers (filt: vdpau): vdpau
2010-05-19 02:10:13.572 AO: OutputAudioLoop: audio paused
2010-05-19 02:10:13.574 VDP: Accepting: cmp(> 0 0) dec(vdpau) cpus(1) rend(vdpau) osd(vdpau) osdfade(disabled) deint(vdpaubobdeint,vdpauonefield) filt(vdpauskipchroma)
2010-05-19 02:10:13.574 VDP: LoadBestPreferences(2048x2048, 0)
2010-05-19 02:10:13.574 VDP: LoadBestPreferences(2048x2048, 60)
2010-05-19 02:10:13.574 VDP: LoadBestPreferences(1920x1080, 60)
2010-05-19 02:10:13.574 VideoOutput: Preferred renderer: vdpau
2010-05-19 02:10:13.574 VideoOutput: Trying video renderer: 'vdpau'
2010-05-19 02:10:13.587 VDP: Accepting: cmp(> 0 0) dec(vdpau) cpus(1) rend(vdpau) osd(vdpau) osdfade(disabled) deint(vdpaubobdeint,vdpauonefield) filt(vdpauskipchroma)
2010-05-19 02:10:13.587 VDP: LoadBestPreferences(2048x2048, 0)
2010-05-19 02:10:13.587 VDP: LoadBestPreferences(2048x2048, 60)
2010-05-19 02:10:13.592 VideoOutWindow::SetPIPState. pip_state: 0]
2010-05-19 02:10:13.592 Snapping width to avoid scaling: width: 1920, left: 0
2010-05-19 02:10:13.592 Display Rect  left: 0, top: 135, width: 1920, height: 810, aspect: 1.33333
2010-05-19 02:10:13.592 Video Rect    left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2010-05-19 02:10:13.592 VDP: LoadBestPreferences(1920x1088, 60)
2010-05-19 02:10:13.593 Snapping width to avoid scaling: width: 1920, left: 0
2010-05-19 02:10:13.593 Display Rect  left: 0, top: 135, width: 1920, height: 810, aspect: 1.33333
2010-05-19 02:10:13.593 Video Rect    left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2010-05-19 02:10:13.593 VDP: SetVideoRenderer(vdpau)
2010-05-19 02:10:13.593 VDP: SetVideoRender(vdpau) == GetVideoRenderer()
2010-05-19 02:10:13.594 VideoOutput: Pixel dimensions: Screen 1920x1080, window 1920x1080
2010-05-19 02:10:13.595 VideoOutput: Actual display dimensions: 473x261 mm  Aspect: 1.81226
2010-05-19 02:10:13.595 VideoOutput: Estimated window dimensions: 473x261 mm  Aspect: 1.81226
2010-05-19 02:10:13.595 VidOutVDPAU: Enabling SkipChromaDeinterlace.
2010-05-19 02:10:13.675 VDPAU: Created 2 output surfaces.
2010-05-19 02:10:13.675 VDPAU: Set colorkey to 0x20202
2010-05-19 02:10:13.675 VDPAU: Version 1
2010-05-19 02:10:13.675 VDPAU: Information NVIDIA VDPAU Driver Shared Library  195.36.24  Thu Apr 22 19:52:55 PDT 2010
2010-05-19 02:10:13.675 VDPAU: HQ scaling level 1 of 9 available.
2010-05-19 02:10:13.675 VDPAU: MPEG4 hardware acceleration supported.
2010-05-19 02:10:13.675 VDPAU: Created VDPAU render device 1920x1080
2010-05-19 02:10:13.679 VidOutVDPAU: Created VDPAU osd (1920x1080)
2010-05-19 02:10:13.827 Snapping height to avoid scaling: height: 1080, top: 0
2010-05-19 02:10:13.827 Snapping width to avoid scaling: width: 1920, left: 0
2010-05-19 02:10:13.827 Display Rect  left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2010-05-19 02:10:13.827 Video Rect    left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2010-05-19 02:10:13.827 VidOutVDPAU: Created VDPAU context (GPU decode)
2010-05-19 02:10:13.830 Over/underscan. V: 0, H: 0
2010-05-19 02:10:13.830 Snapping height to avoid scaling: height: 1080, top: 0
2010-05-19 02:10:13.830 Snapping width to avoid scaling: width: 1920, left: 0
2010-05-19 02:10:13.830 Display Rect  left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2010-05-19 02:10:13.830 Video Rect    left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2010-05-19 02:10:13.830 VDP: LoadBestPreferences(1920x1088, 29.97)
2010-05-19 02:10:13.830 NVP(0): Forcing decode extra audio option on (Video method requires it).
2010-05-19 02:10:13.831 FilterManager: GetFilterInfo(convert) returning: 0x0
2010-05-19 02:10:13.831 NVP(0): LoadFilters('vdpauskipchroma'..) -> 0x0
2010-05-19 02:10:13.833 OSD Theme Dimensions W: 1280 H: 720
2010-05-19 02:10:14.042 NVP(0): ClearAfterSeek(1)
2010-05-19 02:10:14.042 playCtx: StartDecoderThread(): took 471 ms to start player.
2010-05-19 02:10:14.042 VidOutVDPAU: ClearAfterSeek()
2010-05-19 02:10:14.042 VidOutVDPAU: DiscardFrames(0)
2010-05-19 02:10:14.042 TV: StartPlayer(0, WatchingPreRecorded, main) -- end ok
2010-05-19 02:10:14.042 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAA
2010-05-19 02:10:14.042 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAA -- done
2010-05-19 02:10:14.042 VidOutVDPAU: DiscardFrames() 3: AAAAAAAAAAAAAAAAA -- done()
2010-05-19 02:10:14.042 AO: Pause 1
2010-05-19 02:10:14.043 TV: Changing from None to WatchingPreRecorded
2010-05-19 02:10:14.044 Using realtime priority.
2010-05-19 02:10:14.045 AO: OutputAudioLoop: audio paused
2010-05-19 02:10:14.045 VDP: GetFilteredDeint() : vdpau -> 'vdpaubobdeint'
2010-05-19 02:10:14.045 VidOutVDPAU: Enabled deinterlacing.
2010-05-19 02:10:14.046 DRMVideoSync: Could not open device /dev/dri/card0, No such file or directory
2010-05-19 02:10:14.047 Set video sync frame interval to 33366
2010-05-19 02:10:14.048 AFD: AC3 changed from 0 to 1 channels (frame 0)
2010-05-19 02:10:14.048 TV: HandleStateChange(0) -- end
2010-05-19 02:10:14.049 Video timing method: RTC
2010-05-19 02:10:14.050 Refresh rate: 16676, frame interval: 33366
2010-05-19 02:10:14.050 NVP(0): Waiting for prebuffer..  0 AAAAAAAAAAAAAAAAA
2010-05-19 02:10:14.051 AFD: AC3 changed from 1 to 6 channels (frame 0)
2010-05-19 02:10:14.051 AFD: AC3 changed from 6 to 1 channels (frame 0)
2010-05-19 02:10:14.069 VidOutVDPAU: Created VDPAU decoder (2 ref frames)
2010-05-19 02:10:14.099 Detect Letterbox: The source is not a supported frame format (was 11)
2010-05-19 02:10:14.100 AFD: AC3 changed from 1 to 6 channels (frame 4)
2010-05-19 02:10:14.101 AFD: AC3 changed from 6 to 1 channels (frame 4)
2010-05-19 02:10:14.103 AFD: AC3 changed from 1 to 6 channels (frame 4)
2010-05-19 02:10:14.103 ScreenSaverX11Private: ResetTimer -- begin
2010-05-19 02:10:14.103 ScreenSaverX11Private: StopTimer
2010-05-19 02:10:14.105 ScreenSaverX11Private: StartTimer
2010-05-19 02:10:14.105 ScreenSaverX11Private: ResetTimer -- end
2010-05-19 02:10:14.106 AFD: AC3 changed from 6 to 1 channels (frame 4)
2010-05-19 02:10:14.107 AFD: AC3 changed from 1 to 6 channels (frame 4)
2010-05-19 02:10:14.108 Set video sync frame interval to 33366
2010-05-19 02:10:14.108 Enabled deinterlacing
2010-05-19 02:10:14.108 AO: Pause 0
2010-05-19 02:10:14.110 AO: OutputAudioLoop: Play Event
2010-05-19 02:10:14.111 VDPAU: Added 2 output surfaces (total 4, max 4)
2010-05-19 02:10:14.139 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.218 AFD: AC3 changed from 6 to 1 channels (frame 11)
2010-05-19 02:10:14.220 AFD: AC3 changed from 1 to 6 channels (frame 11)
2010-05-19 02:10:14.238 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.269 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.300 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.305 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.335 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.341 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.346 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.351 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.357 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.361 AFD: AC3 changed from 6 to 1 channels (frame 19)
2010-05-19 02:10:14.362 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.362 AFD: AC3 changed from 1 to 6 channels (frame 19)
2010-05-19 02:10:14.367 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.372 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.377 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.382 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.388 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.393 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.398 AO: dropping back audio_buffer_unused
2010-05-19 02:10:14.494 AFD: AC3 changed from 6 to 1 channels (frame 26)
2010-05-19 02:10:14.495 AFD: AC3 changed from 1 to 6 channels (frame 26)
2010-05-19 02:10:14.520 NVP(0): Video is 3.10037 frames ahead of audio,
			doubling video frame interval to slow down.
2010-05-19 02:10:14.587 NVP(0): Video is 3.26935 frames ahead of audio,
			doubling video frame interval to slow down.
2010-05-19 02:10:14.653 NVP(0): Video is 3.1563 frames ahead of audio,
			doubling video frame interval to slow down.
2010-05-19 02:10:14.887 AFD: AC3 changed from 6 to 1 channels (frame 34)
2010-05-19 02:10:14.890 AFD: AC3 changed from 1 to 6 channels (frame 34)
2010-05-19 02:10:15.157 AFD: AC3 changed from 6 to 1 channels (frame 42)
2010-05-19 02:10:15.158 AFD: AC3 changed from 1 to 6 channels (frame 42)
2010-05-19 02:10:15.388 AFD: AC3 changed from 6 to 1 channels (frame 49)
2010-05-19 02:10:15.391 AFD: AC3 changed from 1 to 6 channels (frame 49)
2010-05-19 02:10:15.655 AFD: AC3 changed from 6 to 1 channels (frame 57)
2010-05-19 02:10:15.657 AFD: AC3 changed from 1 to 6 channels (frame 57)
2010-05-19 02:10:15.922 AFD: AC3 changed from 6 to 1 channels (frame 65)
2010-05-19 02:10:15.925 AFD: AC3 changed from 1 to 6 channels (frame 65)
2010-05-19 02:10:16.157 AFD: AC3 changed from 6 to 1 channels (frame 72)
2010-05-19 02:10:16.158 AFD: AC3 changed from 1 to 6 channels (frame 72)
2010-05-19 02:10:16.426 AFD: AC3 changed from 6 to 1 channels (frame 80)
2010-05-19 02:10:16.427 AFD: AC3 changed from 1 to 6 channels (frame 80)
2010-05-19 02:10:16.690 AFD: AC3 changed from 6 to 1 channels (frame 88)
2010-05-19 02:10:16.692 AFD: AC3 changed from 1 to 6 channels (frame 88)
2010-05-19 02:10:16.855 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:16.890 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:16.924 AFD: AC3 changed from 6 to 1 channels (frame 95)
2010-05-19 02:10:16.926 AFD: AC3 changed from 1 to 6 channels (frame 95)
2010-05-19 02:10:16.926 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:16.956 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:16.989 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:17.023 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:17.056 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:17.171 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:17.176 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:17.207 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2010-05-19 02:10:17.239 AFD: AC3 changed from 6 to 1 channels (frame 103)
2010-05-19 02:10:17.241 AFD: AC3 changed from 1 to 6 channels (frame 103)


More information about the mythtv-users mailing list