Log in

View Full Version : AC3Filter destroys 6ch/24bit PCM streams when dumped to file


mellon
27th May 2007, 21:46
I used AC3Filter in PCM-mode. Input is PCM, AC3Filter performs DRC, output is PCM.

Possible bug: AC3Filter writes additional 4 bytes of zero to the begin of the output stream. This will distort audio data when dumped to raw file.


Details:
Input is PCM, 6ch, 24bit, 48000Hz
Output is exactly the same ("AS IS" and 24bit in AC3Filter configuration)
Output pin is connected to dump filter of platform SDK.

I found this when trying to imitate eac3to.exe. When AC3filter is not in the filter graph the resulting raw file is fine.

You cannot observe this if you connect AC3Filter to an audio renderer.

Regards,
mellon

clsid
28th May 2007, 13:45
Report it to valex:
http://www.ac3filter.net

mellon
31st May 2007, 21:35
Problem found and solved.
This occurs only when enabling the option "Force soundcard to reinit after seek/pause"

Although there was no seek or pause AC3Filter forces a reinit at begin of streaming. Disabling this option will prevent the extra bytes on the stream.

Best regards
mellon