Quote:
|
Originally Posted by strider68744
"I've tried getting AC-3 encoding working through FFDShow (no success, with all honesty), and went with the latest version of AC3filter (1.01a RC5), which works perfectly.
However, these are DirectShow filters, and only provide AC-3 encoding for anything DirectShow-enabled (media players).
So movies and music are fine. Things get up-mixed when appropriate (mp3s), and movies get the proper surround sound treatment if they already have the encoding (or not!  ). "
|
Can you tell me what are the settings of AC3filter and what is the filters chain for mp3(drag an mp3 to GraphEdit and tell me what are the filters and how they are connected). When I tried AC3filter, the encoding for spdif only worked for ac3 files. It did not work with mp3 or wav files. It would be great if it worked.
If I knew that it did work, I would try to code something to make it work. My idea is to make a directsound source filter with a built-in asio host. It could be called "ASIO Source". To test it, you would load "ASIO Source" in GrpahEdit, connect it to AC3filter (and activate spdif encoding) and connect AC3filter to directsound output. I'm not sure if it is possible as I've never coded any directshow filters. Using the ASIO SDK and the Windows Platform SDK I know that I could maybe get something working.
EDIT : I'm not entirely sure but I think that AC3filter encoding only works for me for files encoded at 48 kHz. I probably have to find a direcshow resampler (to resample to 48 kHz) filter and place it before AC3filter to get it to work.