AW: MediaPortal Audio renderer - better video playback quality
Hi,
I have a problem playing a DVD.
The DVD has only one Track: 2.0 LPCM
In MP I get only cracked sound and ffdshow thinks it is 5.1 PCM as input.
I think thats the problem.
Graphsudio seems to be fine. Only ffdshow Audio -> MP Audio renderer.
With Graphsudio, MPC and so on, no problems. All is correct, ffdshow detects 2.0 input and the sound is fine.
Audio Media Info from VOB:
Hi,
I have a problem playing a DVD.
The DVD has only one Track: 2.0 LPCM
In MP I get only cracked sound and ffdshow thinks it is 5.1 PCM as input.
I think thats the problem.
Graphsudio seems to be fine. Only ffdshow Audio -> MP Audio renderer.
With Graphsudio, MPC and so on, no problems. All is correct, ffdshow detects 2.0 input and the sound is fine.
Code:
20-10-2010 15:09:57.742 [ e6c] MP Audio Renderer - v0.97
20-10-2010 15:09:57.742 [ e6c] Loading settings from registry
20-10-2010 15:09:57.743 [ e6c] ForceDirectSound: 0
20-10-2010 15:09:57.743 [ e6c] EnableTimestrecthing: 1
20-10-2010 15:09:57.743 [ e6c] WASAPIExclusive: 1
20-10-2010 15:09:57.743 [ e6c] WASAPIUseEventMode: 1
20-10-2010 15:09:57.743 [ e6c] EnableAC3Encoding: 0
20-10-2010 15:09:57.743 [ e6c] AC3bitrate: 448
20-10-2010 15:09:57.743 [ e6c] MaxBias: 11000
20-10-2010 15:09:57.743 [ e6c] MinBias: 9000
20-10-2010 15:09:57.743 [ e6c] ChannelMaskOverride_5_1: 0
20-10-2010 15:09:57.743 [ e6c] ChannelMaskOverride_7_1: 0
20-10-2010 15:09:57.743 [ e6c] LogSampleTimes: 0
20-10-2010 15:09:57.743 [ e6c] HWBasedRefClock: 1
20-10-2010 15:09:57.743 [ e6c] EnableSyncAdjustment: 1
20-10-2010 15:09:57.743 [ e6c] DevicePeriod: 500000 (1 == minimal, 0 == driver default, other user defined)
20-10-2010 15:09:57.743 [ e6c] WASAPIPreferredDevice:
20-10-2010 15:09:57.743 [ e6c] CMPAudioRenderer - instance 0x13f837a0
20-10-2010 15:09:57.743 [ e6c] WASAPIRenderer::ResetClockData
20-10-2010 15:09:57.743 [ e6c] WASAPIRenderer::GetAvailableAudioDevices
20-10-2010 15:09:57.752 [ e6c]
20-10-2010 15:09:57.752 [ e6c] Audio endpoint 0:
20-10-2010 15:09:57.752 [ e6c] Kopfhörer (SoundMAX Integrated Digital HD Audio)
20-10-2010 15:09:57.752 [ e6c] {0.0.0.00000000}.{0178bfd6-2d05-4fe0-85be-3d46b9b6829b}
20-10-2010 15:09:57.752 [ e6c] supports pull mode: 1
20-10-2010 15:09:57.752 [ e6c] speaker mask: 0
20-10-2010 15:09:57.754 [ e6c]
20-10-2010 15:09:57.754 [ e6c] Audio endpoint 1:
20-10-2010 15:09:57.754 [ e6c] ATI HDMI Output (2- ATI High Definition Audio Device)
20-10-2010 15:09:57.754 [ e6c] {0.0.0.00000000}.{66a43767-1a98-46ff-929e-ae47a8949898}
20-10-2010 15:09:57.754 [ e6c] supports pull mode: 1
20-10-2010 15:09:57.754 [ e6c] speaker mask: 3
20-10-2010 15:09:57.754 [ e6c]
20-10-2010 15:09:57.755 [ 498] Resampler thread - starting up - thread ID: 1176
20-10-2010 15:09:57.755 [ e6c] CheckMediaType
20-10-2010 15:09:57.755 [ e6c] CheckMediaType Not supported
20-10-2010 15:09:57.755 [ e6c] CheckMediaType
20-10-2010 15:09:57.755 [ e6c] CheckMediaType Not supported
20-10-2010 15:09:57.755 [ e6c] CheckMediaType
20-10-2010 15:09:57.755 [ e6c] CheckMediaType Not supported
20-10-2010 15:09:57.783 [ e6c] CheckMediaType
20-10-2010 15:09:57.783 [ e6c] CheckMediaType Not supported
20-10-2010 15:09:57.783 [ e6c] CheckMediaType
20-10-2010 15:09:57.783 [ e6c] CheckMediaType Not supported
20-10-2010 15:09:57.783 [ e6c] CheckMediaType
20-10-2010 15:09:57.783 [ e6c] WAVEFORMATEX - CheckMediaType
20-10-2010 15:09:57.783 [ e6c] nAvgBytesPerSec 0
20-10-2010 15:09:57.783 [ e6c] nBlockAlign 768
20-10-2010 15:09:57.783 [ e6c] nChannels 6
20-10-2010 15:09:57.783 [ e6c] nSamplesPerSec 48000
20-10-2010 15:09:57.783 [ e6c] wBitsPerSample 16
20-10-2010 15:09:57.783 [ e6c] wFormatTag 0
20-10-2010 15:09:57.791 [ e6c] CheckMediaType
20-10-2010 15:09:57.791 [ e6c] WAVEFORMATEX - CheckMediaType
20-10-2010 15:09:57.791 [ e6c] nAvgBytesPerSec 576000
20-10-2010 15:09:57.791 [ e6c] nBlockAlign 12
20-10-2010 15:09:57.791 [ e6c] nChannels 6
20-10-2010 15:09:57.791 [ e6c] nSamplesPerSec 48000
20-10-2010 15:09:57.791 [ e6c] wBitsPerSample 16
20-10-2010 15:09:57.791 [ e6c] wFormatTag 65534
20-10-2010 15:09:57.791 [ e6c] WAVE_FORMAT_EXTENSIBLE
20-10-2010 15:09:57.791 [ e6c] dwChannelMask 63
20-10-2010 15:09:57.791 [ e6c] GUID {00000001-0000-0010-8000-00AA00389B71}
20-10-2010 15:09:57.791 [ e6c] WASAPIRenderer::CheckAudioClient
20-10-2010 15:09:57.791 [ e6c] WAVEFORMATEX - WASAPIRenderer::CheckAudioClient
20-10-2010 15:09:57.791 [ e6c] nAvgBytesPerSec 576000
20-10-2010 15:09:57.791 [ e6c] nBlockAlign 12
20-10-2010 15:09:57.791 [ e6c] nChannels 6
20-10-2010 15:09:57.791 [ e6c] nSamplesPerSec 48000
20-10-2010 15:09:57.791 [ e6c] wBitsPerSample 16
20-10-2010 15:09:57.791 [ e6c] wFormatTag 65534
20-10-2010 15:09:57.791 [ e6c] WAVE_FORMAT_EXTENSIBLE
20-10-2010 15:09:57.791 [ e6c] dwChannelMask 63
20-10-2010 15:09:57.791 [ e6c] GUID {00000001-0000-0010-8000-00AA00389B71}
20-10-2010 15:09:57.791 [ e6c] WASAPIRenderer::GetAudioDevice
20-10-2010 15:09:57.791 [ e6c] Target end point:
20-10-2010 15:09:57.791 [ e6c] WASAPIRenderer::GetAvailableAudioDevices
20-10-2010 15:09:57.792 [ e6c] Unable to find selected audio device, using the default end point!
20-10-2010 15:09:57.797 [ e6c] Default audio endpoint: "ATI HDMI Output (2- ATI High Definition Audio Device)" ({0.0.0.00000000}.{66a43767-1a98-46ff-929e-ae47a8949898}) - pull mode: 1 sprk mask: 3
20-10-2010 15:09:57.797 [ e6c] WASAPIRenderer::CreateAudioClient
20-10-2010 15:09:57.797 [ e6c] WASAPIRenderer::CreateAudioClient success
20-10-2010 15:09:57.800 [ e6c] WASAPIRenderer::CheckMediaType WASAPI client accepted the format
20-10-2010 15:09:57.800 [ e6c] CheckMediaType - request old samples to be flushed
20-10-2010 15:09:57.800 [ e6c] SetMediaType
20-10-2010 15:09:57.800 [ e6c] CompleteConnect
20-10-2010 15:09:57.800 [ e6c] CompleteConnect - audio decoder: ffdshow Audio Decoder
20-10-2010 15:09:57.800 [ e6c] CompleteConnect Success
20-10-2010 15:09:57.809 [ e6c] Pause
20-10-2010 15:10:00.969 [ e6c] BeginFlush
20-10-2010 15:10:00.969 [ e6c] WASAPIRenderer::BeginFlush
20-10-2010 15:10:00.969 [ e6c] WASAPIRenderer::ResetClockData
20-10-2010 15:10:00.969 [ e6c] EndFlush
20-10-2010 15:10:00.969 [ e6c] WASAPIRenderer::EndFlush
20-10-2010 15:10:01.019 [ e6c] BeginFlush
20-10-2010 15:10:01.019 [ e6c] WASAPIRenderer::BeginFlush
20-10-2010 15:10:01.019 [ e6c] WASAPIRenderer::ResetClockData
20-10-2010 15:10:01.019 [ e6c] EndFlush
20-10-2010 15:10:01.019 [ e6c] WASAPIRenderer::EndFlush
20-10-2010 15:10:01.041 [ e6c] Run
20-10-2010 15:10:01.041 [ e6c] Flushing samples
20-10-2010 15:10:01.041 [ e6c] WASAPIRenderer::Run
20-10-2010 15:10:01.041 [ e6c] WASAPIRenderer::ResetClockData
20-10-2010 15:10:01.041 [ e6c] WASAPIRenderer::CheckAudioClient
20-10-2010 15:10:01.041 [ e6c] WAVEFORMATEX - WASAPIRenderer::CheckAudioClient
20-10-2010 15:10:01.041 [ e6c] nAvgBytesPerSec 576000
20-10-2010 15:10:01.041 [ e6c] nBlockAlign 12
20-10-2010 15:10:01.041 [ e6c] nChannels 6
20-10-2010 15:10:01.041 [ e6c] nSamplesPerSec 48000
20-10-2010 15:10:01.041 [ e6c] wBitsPerSample 16
20-10-2010 15:10:01.041 [ e6c] wFormatTag 65534
20-10-2010 15:10:01.041 [ e6c] WAVE_FORMAT_EXTENSIBLE
20-10-2010 15:10:01.041 [ e6c] dwChannelMask 63
20-10-2010 15:10:01.041 [ e6c] GUID {00000001-0000-0010-8000-00AA00389B71}
20-10-2010 15:10:01.041 [ e6c] WASAPIRenderer::CheckAudioClient First initialization of the audio renderer
20-10-2010 15:10:01.041 [ e6c] WASAPIRenderer::InitAudioClient
20-10-2010 15:10:01.044 [ e6c] WASAPIRenderer::InitAudioClient format supported
20-10-2010 15:10:01.061 [ e6c] WASAPIRenderer::InitAudioClient service initialization success
20-10-2010 15:10:01.061 [ e6c] WASAPIRenderer::InitAudioClient device reported latency 50 ms - buffer based latency 50 ms
20-10-2010 15:10:01.063 [ e6c] SetBias: 1.0000000000
20-10-2010 15:10:01.063 [ e6c] SetBias - updated SoundTouch tempo
20-10-2010 15:10:01.254 [ a84] WASAPIRenderer::StartAudioClient
20-10-2010 15:10:01.255 [ a84] WASAPIRenderer::StartRendererThread
20-10-2010 15:10:01.255 [ 614] WASAPIRenderer::Render thread - starting up - thread ID: 1556
20-10-2010 15:10:01.256 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:01.256 [ 614] WASAPIRenderer::EnableMMCSS Putting thread in higher priority for WASAPI mode
20-10-2010 15:10:01.256 [ 614] UpdateAudioClock: prevPos: 195991458 > ullHwClock: 0 diff: 195991458
20-10-2010 15:10:01.354 [ 614] UpdateAudioClock: prevPos: 500000 > ullHwClock: 491458 diff: 8542
20-10-2010 15:10:01.411 [ a84] Dropped audio data detected: diff: 106.147 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:01.576 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:01.654 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:01.727 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:02.045 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:02.104 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:02.202 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:02.254 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:02.354 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:02.515 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:02.604 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:02.667 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:02.828 [ a84] Dropped audio data detected: diff: 106.147 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:02.904 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:02.982 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:03.054 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:03.139 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:03.300 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:03.354 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:03.452 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:03.613 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:03.704 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:03.765 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:03.927 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:04.004 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:04.083 [ a84] Dropped audio data detected: diff: 106.147 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:04.154 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:04.237 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:04.398 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:04.454 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:04.550 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:04.712 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:04.804 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:04.863 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:04.954 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:05.020 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:05.182 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:05.254 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:05.334 [ a84] Dropped audio data detected: diff: 106.147 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:05.497 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:05.554 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:05.649 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:05.810 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:05.904 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:05.967 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:06.054 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:06.119 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:06.280 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:06.354 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:06.432 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:06.594 [ a84] Dropped audio data detected: diff: 106.147 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:06.654 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:06.746 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:06.804 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:06.903 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:07.065 [ a84] Dropped audio data detected: diff: 104.480 ms MAX_SAMPLE_TIME_ERROR: 1.000 ms
20-10-2010 15:10:07.154 [ 614] WASAPIRenderer::Render thread: Buffer underrun, no new samples available!
20-10-2010 15:10:07.177 [ e6c] Pause
20-10-2010 15:10:07.177 [ e6c] WASAPIRenderer::StopAudioClient
20-10-2010 15:10:07.177 [ e6c] WASAPIRenderer::PauseRendererThread
20-10-2010 15:10:07.177 [ 614] WASAPIRenderer::Render thread - pausing
20-10-2010 15:10:07.229 [ e6c] Stop
20-10-2010 15:10:07.229 [ e6c] WASAPIRenderer::Stop - releasing WASAPI resources
20-10-2010 15:11:05.575 [ e6c] MP Audio Renderer - destructor - instance 0x13f837a0
20-10-2010 15:11:05.575 [ e6c] Stop
20-10-2010 15:11:05.575 [ 498] Resampler thread - closing down - thread ID: 1176
20-10-2010 15:11:05.575 [ e6c] WASAPIRenderer::StopRendererThread
20-10-2010 15:11:05.575 [ 614] WASAPIRenderer::Render thread - closing down - thread ID: 1556
20-10-2010 15:11:05.576 [ e6c] WASAPIRenderer - destructor - instance 0x13f830d0
20-10-2010 15:11:05.576 [ e6c] WASAPIRenderer - destructor - instance 0x13f830d0 - end
20-10-2010 15:11:05.576 [ e6c] MP Audio Renderer - destructor - instance 0x13f837a0 - end
Audio Media Info from VOB:
Code:
Audio
ID : 160 (0xA0)
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Signed
Muxing mode : DVD-Video
Duration : 15mn 3s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 165 MiB (16%)