[1421] Seeking broken in .wav files with AC-3 or DTS [#8279]
Moderator: Gurus
[1421] Seeking broken in .wav files with AC-3 or DTS [#8279]
.wav files containing Dolby Digital or DTS audio plays fine, but if you try to seek the audio turns into stuttering white noise.
Test files:
Dolby Digital
DTS
I'm using wasapi, Win7 x64 SP1
Test files:
Dolby Digital
DTS
I'm using wasapi, Win7 x64 SP1
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
I'm a bit confused by that ticket. It doesn't mention that the files play perfectly fine as long as you don't seek. Is this not relevant?MiPi wrote:Thanks. Tracked as http://www.ventismedia.com/mantis/view.php?id=8279
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
I was not able to reproduce exactly this - I can play and seek all DTSWAV files with the correct header, and cannot play any file, that has PCM flag in the header. Can you reproduce it with the linked test files? Do you have HW DTS/AC3 decoder?sialivi wrote:I'm a bit confused by that ticket. It doesn't mention that the files play perfectly fine as long as you don't seek. Is this not relevant?MiPi wrote:Thanks. Tracked as http://www.ventismedia.com/mantis/view.php?id=8279
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
I can reproduce it with the linked files.MiPi wrote: I was not able to reproduce exactly this - I can play and seek all DTSWAV files with the correct header, and cannot play any file, that has PCM flag in the header. Can you reproduce it with the linked test files? Do you have HW DTS/AC3 decoder?
Yes, my PC is hooked up to a DTS/AC3 capable amplifier via TOSLINK and I'm using the wasapi output plugin (exclusive mode).
When I play the linked AC3 file the Dolby Digital indicator on the receiver light up and the audio plays fine. When I seek the audio turns into white noise and the Dolby Digital indicator shuts off.
When I play the linked DTS sample file the DTS indicator on the receiver lights up and the audio plays fine. When I seek the audio disappears (or possibly extremely low volume white noise, it's hard to tell) and the DTS indicator starts turning on and off, over and over.
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
OK. I cannot try this (have no hw decoder), but MM plays these files as raw PCM. Amplifier probably recognizes DTS and decodes and plays it (DTS has specific start-up sequence), but it loses synchronization and plays it as PCM after seek. I think, it will be hw decoder dependent :-/
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
Please try to replace in_wav.dll (MM4 Plugins folder) with this experimental version, if something will change. Thanks.
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
Unfortunatly it made no difference.MiPi wrote:Please try to replace in_wav.dll (MM4 Plugins folder) with this experimental version, if something will change. Thanks.
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
I thought so. It seems, the hw decoder does not fully support AC3/DTS stored in WAV this way. There are some differences in comparsion with "normal" AC3/DTS files. They could be decoded by software decoder, but there is problem with "PCM" indicator in the header.. I think, I cannot do much with it now. :-/sialivi wrote:Unfortunatly it made no difference.MiPi wrote:Please try to replace in_wav.dll (MM4 Plugins folder) with this experimental version, if something will change. Thanks.
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
Not sure it's a hw limitation since the DTS wav files work perfectly with "Media Player Classic - HomeCinema".MiPi wrote:I thought so. It seems, the hw decoder does not fully support AC3/DTS stored in WAV this way. There are some differences in comparsion with "normal" AC3/DTS files. They could be decoded by software decoder, but there is problem with "PCM" indicator in the header.. I think, I cannot do much with it now. :-/
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
When playing by MPC-HC, look in menu Play - Filters. Is there AC3Filter or ffdshow audio? It should be just above Wave Parser. It is "the thing", that reads DTS/AC3 from WAV and sends correct DTS/AC3 stream from it or decoded PCM stream to output (so your decoder will handle it correctly). As I wrote in the issue, I would like to use the same method, but it won't be before MM4.1.sialivi wrote:Not sure it's a hw limitation since the DTS wav files work perfectly with "Media Player Classic - HomeCinema".
Last edited by MiPi on Thu Aug 25, 2011 4:06 am, edited 1 time in total.
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
I don't have AC3Filter or ffdshow installed and Wave Parser isn't listed. The only entries under Play-Filters are:MiPi wrote:When playing by MPC-HC, look in menu Play - Filters. Is there AC3Filter or ffdshow audio? It should be just above Wave Parser.
- DirectSound:Digital Output
- DTS Decoder
- J:\dts_the_other_side_44khz.wav
Filter : DTS Decoder - CLSID : {3D446B6F-71DE-4437-BE15-8CE47174340F}
- Connected to:
CLSID: {B4A7BE85-551D-4594-BDC7-832B09185041}
Filter: J:\dts_the_other_side_44khz.wav
Pin: Output
- Connection media type:
Audio: PCM (DTS) 44100Hz 6ch 1411kbps
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_DTS {E06D8033-DB46-11CF-B4D1-00805F6CBBEA}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18
WAVEFORMATEX:
wFormatTag: 0x0001
nChannels: 6
nSamplesPerSec: 44100
nAvgBytesPerSec: 176400
nBlockAlign: 0
wBitsPerSample: 0
cbSize: 18 (extra bytes)
pbFormat:
0000: 01 00 06 00 44 ac 00 00 10 b1 02 00 00 00 00 00 ....D¬...±......
0010: 12 00 ..
Last edited by sialivi on Thu Aug 25, 2011 4:11 am, edited 3 times in total.
Re: [1421] Seeking broken in .wav files with AC-3 or DTS [#8
OK, this is the same with this internal filter as with Wave Parser+AC3Filter (see edited post above). Hope it will be working in MM4.1.