Log in

View Full Version : How to config ffdshow/LAV and reclock for HD audio,


Pages : [1] 2 3 4 5

rica
1st February 2010, 21:43
Last edited on: twenty-ninth of October 2011:

LAV Filters+ReClock Bitexact streaming via MPC-HC:

http://forum.doom9.org/showthread.php?p=1534720#post1534720


Previous edit:thirtieth of May 2010: Solveig mkv Splitter usage in MPC-HC

http://forum.doom9.org/showthread.php?p=1403836#post1403836[/COLOR]


Hi guys,

I've decided to open a new thread to show how to config ffdshow and reclock on MPC-HC otherwise it might be lost amongs the other posts.

So the aim is to get LPCM passthrough and to get bitstreaming for the other lossy, lossless SD and HD audio formats over ffdshow.

After the configuration you will get:

LPCM,
Flac, THD,
DTSHD-MA,
DD+ (haven't checked yet so not sure for now)
DTSHD-HR,
DD,
DTS.

In none of those cases, Window's mixer will not interfere at all.


What we need:

ReClock 1.8.6.7
ffdshow rev 3351
MadFlac
MPC-HC 1779 x86
DX enduser runtime

Caution: Install ffdshow and reclock and MadFlac before MPC-HC. If you change ffdshow or reclock version by time first uninstall MPC and reinstall it after the installation of the others.

Here is my config:

Vista32/Ati5770 over HDMI to my Denon 1910.(with tully's override)

Seven64/Ati 5770 over HDMI to my Denon.(with tully's override)

Seven64/Clarkdale(i3 540/H55) over HDMI to my Denon.

nVidia 9600GT+(i3 540/H55) combo over HDMI to my Denon.

Ati 5*** series users: i'd advise you not to use Realtek but original Ati drivers.

For Denon, Sony or some Onkyo owners may need tully's override with their Ati cards:

http://www.avsforum.com/avs-vb/showthread.php?p=18138259#post18138259

Clarkdale owners wouldn't need any override btw.

Even i don't have a Xonar card, it is reported it's working with ArcSoft Audio Renderer.

FOR VISTA USERS: Install and register MPC-Audio Renderer. MPC-HC is gonna use this renderer on bitstreaming. All the setup is the same as 7 btw.


Here we go:

MPC-HC Config:

http://img687.imageshack.us/img687/1364/0028v.png (http://img687.imageshack.us/i/0028v.png/)

http://img176.imageshack.us/img176/9054/0030.png (http://img176.imageshack.us/i/0030.png/)

http://img169.imageshack.us/img169/7180/0029.png (http://img169.imageshack.us/i/0029.png/)



FfdShow Config: (Thanks to albain lots of times)

ffdshow > Codec:

Leave the default setup as is except flac. If you want to use MadFlac decoder, select flac > disabled.

http://img72.imageshack.us/img72/8121/0026.png (http://img72.imageshack.us/i/0026.png/)

ffdshow > output:

http://www.freeimagehosting.net/uploads/de4dd4327b.png (http://www.freeimagehosting.net/)

You should only change "Output for uncompressed or decoded streams" option while PCM streaming (if it's inside an m2ts container) in according to the source file (16 or 24 bits). For bitstreaming you don't need to re-config anything at all.
BTW, you don't need to change the bitrate of the audio everytime when you are able to connect it directly to ReClock; since ReClock automatically selects what the source file is but you may need Haali this time (Cause Gabest needs an additional LPCM decoder) if it is inside an m2ts container.
In this case just untick "MPEG ts/ps/pva" option under "internal filters" of MPC-HC and Haali will be automatically selected.



ReClock config: (Thanks to James indeed)

ReClock config for bitstreaming:

Over Direct Sound: (Bitstream without ReClock)

In this case, ReClock doesn't interfare in bitstreaming.

You should adjust "advanced settings" like this:

http://www.freeimagehosting.net/uploads/5e09d29c2c.png (http://www.freeimagehosting.net/)

Audio Settings:

http://www.freeimagehosting.net/uploads/15bcc43e29.png (http://www.freeimagehosting.net/)


Over WASAPI Exclusive or WaveOut: (Bitstream with ReClock)

In this case ReClock does bitstreaming via WASAPI or WaveOut.

You should adjust "advanced settings" for both like this:

http://www.freeimagehosting.net/uploads/1d39bd32ec.png (http://www.freeimagehosting.net/)

Audio Settings:

via WASAPI:

http://www.freeimagehosting.net/uploads/8f45ea4269.png (http://www.freeimagehosting.net/)

via WaveOut:

http://www.freeimagehosting.net/uploads/23c28b030b.png (http://www.freeimagehosting.net/)

WASAPI in operate:

http://www.freeimagehosting.net/uploads/7d6bc9c363.png (http://www.freeimagehosting.net/)

WaveOut in operate:

http://www.freeimagehosting.net/uploads/21c88228b0.png (http://www.freeimagehosting.net/)


ReClock config for streaming PCM or FLAC:

Over WASAPI Exclusive: (Streaming or bitexact streaming with ReClock)

Offline Config:

http://www.freeimagehosting.net/uploads/b1187fe817.png (http://www.freeimagehosting.net/)

Inline Config:

Non-bitexact streaming:

Leave ReClock properties as is and in this case molested PCM/Flac streaming by ReClock will be trasmitted to your AVR without 7/Vista mixer's interfaring.
This is a WASAPI Exclusive mode for sure but it is not bitexact. (ReClock icon is green)

http://www.freeimagehosting.net/uploads/40410cc59b.png (http://www.freeimagehosting.net/)

Bitexact streaming:

Config inline properties of ReClock and "select original speed", "locked" and "slave reference to audio".
In this case, ReClock transmits unmolasted decoded pcm/flac stream to your AVR. And this is gonna WASAPI exclusive-bitexact(bitperfect) mode. (ReClock icon is yellow)

http://www.freeimagehosting.net/uploads/42de24ff98.png (http://www.freeimagehosting.net/)


LPCM bitperfect streaming over ReClock -inside m2ts or mkv-:


16 bit LPCM bitperfect streaming :

http://thumbnails27.imagebam.com/7794/cceb3677935482.gif (http://www.imagebam.com/image/cceb3677935482)

24 bit LPCM bitperfect streaming :

http://thumbnails17.imagebam.com/7794/dbb56977935800.gif (http://www.imagebam.com/image/dbb56977935800)


Flac bitperfect streaming over ReClock:

Flac, even it is a lossless format, can not be streamed as bitstream since none of the commercial AVRs can decode (or lets say uncomppress) it.
So flac inside an mkv container is decoded in PC by Madflac and we get bitperfect streaming over Reclock.

http://thumbnails25.imagebam.com/7794/b6178077935901.gif (http://www.imagebam.com/image/b6178077935901)


Bitstreaming dtshd, thd -inside m2ts or mkv-:

m2ts:

http://img535.imageshack.us/img535/1892/0035.png (http://img535.imageshack.us/i/0035.png/)


mkv:

http://img684.imageshack.us/img684/7505/0036.png (http://img684.imageshack.us/i/0036.png/)


Comparison of Haali with Gabest's MPEG or Matroska Source:

http://forum.doom9.org/showthread.php?p=1382497#post1382497


m2ts with Gabest:

LPCM:

Gabest MPEG Source needs a decoder like ffdshow or internal LPCM decoder.

THD:
It can bitstream over ffdshow.

DTSHD:
It can bitstream over ffdshow.

m2ts with Haali:

LPCM:
Haali will be directly linked to ReClock and stream the audio. It doesn't need any additional LPCM decder.


THD:
It can transfer only core ac3.

DTSHD:
No audio output at all.



mkv with Gabest:

LPCM:
LPCM works with ReClock directly without an additional decoder.

THD:
It can bitstream over ffdshow.

DTSHD:
It can bitstream over ffdshow.


mkv with Haali:

LPCM:
Haali will be directly linked to ReClock and stream the audio. It doesn't need any additional LPCM decoder.

THD:
Gives blue light and no problem in bitsreaming THD inside mkv.

DTSHD:
Gives blue light but it's problematic: lots of drop-outs in video and audio.







EDIT: So as to clarify the confusion;

Formats:

Uncompressed LPCM: this is the pure audio uncompressed.
Lossless FLAC, THD and DTSHD-MA: Those are similar to zipped uncompreesed audio; there is no loss when they are unzipped. Those are lossless HD formats.
Lossy DD+ and DTSHD-HR: those are lossy compressed HD audio formats.
Lossy DD and DTS: those are compressed SD audio formats.


ReClocK:

Normally ReClock, by it's author James has been constucted to PAL speedup of NTSC films.
But by time James was forced to apply WASAPI exlusive mode to ReClock Audio Renderer (i must admit it was me one of those who forced him to do this, thx James one more time)
So ReClock has been using almost for a year as a WASAPI renderer as well, as it is adjusted right.
ReClock send PCM to Windows mixer when it is used for PAL speedup or NTSC slowdown reasons.
Or ReClock send touched PCM stream directly to your AVR over HDMI (WASAPI exclusive mode) when it's used for passthrough stream.
Or ReClock transmits unmolested PCM /flac stream directly over HDMI (WASAPI exclusive bitexact mode) when it's used for passthrough unmolested stream. (bitexact-bitperfect)

FfdShow Tryouts by Albain:

Albain has been trying to get the best results in bitstreaming of lossless and lossy HD-SD formats for months; thanks a lot to him for his hard work.
FFDShow tryouts by Albain gives us free bitstreaming via both Ati 5*** series and Xonar cards and Clarkdale.
Ffdshow directly pass undecoded bitstream to your AVR to be decoded over there. So the quality is up to your AVR's decoder capability which is supposed to be better than any SW decoder.





_ _ _ _ _ _ _

dbone1026
2nd February 2010, 00:04
Thanks for the guide. Couple quick question:

1. You show that for External Filters there are no filters. However, to get MPC HC to bitstream properly on my 5670 I needed to add ffdshow Audio Decoder (set to Prefer) and Microsoft DTV-DVD Audio Decoder (set to Block). Is this not necessary when using ReClock?

2. You mention "Finally when you open an LPCM source, ReClock will never ask any question anymore but when you open any other compressed source you will see this popup window and simply tick "No not this time" box." By clicking "No not this time" for a compressed source won't this box pop up every time you play a DTS(MA) or TrueHD track?

rica
2nd February 2010, 00:15
Thanks for the guide. Couple quick question:

1. You show that for External Filters there are no filters. However, to get MPC HC to bitstream properly on my 5670 I needed to add ffdshow Audio Decoder (set to Prefer) and Microsoft DTV-DVD Audio Decoder (set to Block). Is this not necessary when using ReClock?

2. You mention "Finally when you open an LPCM source, ReClock will never ask any question anymore but when you open any other compressed source you will see this popup window and simply tick "No not this time" box." By clicking "No not this time" for a compressed source won't this box pop up every time you play a DTS(MA) or TrueHD track?

You're welcome.

1) In my previous posts, i suggested it should be selected as an external filter. But i suppose MPC-HC selects it by default and you can't select it anymore under external filters. It's not up to ReClock.

2) You will see this popup window whenever you open a DTSHD-MA and THD cause they are lossless formats not pure PCM.
And you will see the same popup with DD+, DTSHD-HR and DD, DTS as well for sure.

davinleeds
2nd February 2010, 02:35
Thanks Rica, this really helps.

joikd
2nd February 2010, 17:02
LPCM was the last unknown for me (how to set up), so thanks again!

Which MPEG-2 decoder is the best to use for best PQ? I notice that you don't have one checked, and there seems to be 4 or 5 different MPEG-2 deocders to choose from between MPC-HC and FFDShow.

rica
2nd February 2010, 20:57
LPCM was the last unknown for me (how to set up), so thanks again!

Which MPEG-2 decoder is the best to use for best PQ? I notice that you don't have one checked, and there seems to be 4 or 5 different MPEG-2 deocders to choose from between MPC-HC and FFDShow.

That would be subjective saying "this decoder is the best".
MPC-HC will select the default MPEG-2 decoder if any other filter wasn't selected under external filters.

In my case i see this graph behind the MPC-HC: (source "Ultraviolet" BD)

http://img40.imageshack.us/img40/2591/008vy.png (http://img40.imageshack.us/i/008vy.png/)

joikd
5th February 2010, 01:40
I spoke too soon. With the settings in the guide, LPCM works perfectly. But, TrueHD & DTS-MA do not work--I get no sound. When I check the filters while the blu-ray iso is playing, it does not show MPC Audio Renderer, which is the only setting that works. In MPC, if I change the audio renderer from Reclock to MPC Audio Renderer it works fine, but then LPCM does not work.

Any help would be appreciated.

rica
5th February 2010, 14:13
I spoke too soon. With the settings in the guide, LPCM works perfectly. But, TrueHD & DTS-MA do not work--I get no sound. When I check the filters while the blu-ray iso is playing, it does not show MPC Audio Renderer, which is the only setting that works. In MPC, if I change the audio renderer from Reclock to MPC Audio Renderer it works fine, but then LPCM does not work.

Any help would be appreciated.

I think you are on Vista?

kjoy064
5th February 2010, 15:33
Hi Rica,

using the settings above i get the dts-HD MA on my receiver and the sound is good but the picture is very choppy, if i select yes on the reclock the video works in normal speed but no sound. any ideas? this is using a mkv file.

mackworth
5th February 2010, 16:06
New to this bitstreaming stuff. What do you need LPCM for? If you don't need LPCM, do you need reclock?

joikd
5th February 2010, 16:18
I think you are on Vista?

Sorry--should have listed everything.

--Windows 7 x86
--ATI 5750
--Catalyst 10.2 beta (video drivers only)
--Realtek ATI HDMI 2.39
--Tulli's Denon EDID
--ReClock 1.8.6.2
--ffdshow rev 3251
--MPC-HC 1586 x86

rica
5th February 2010, 20:50
I spoke too soon. With the settings in the guide, LPCM works perfectly. But, TrueHD & DTS-MA do not work--I get no sound. When I check the filters while the blu-ray iso is playing, it does not show MPC Audio Renderer, which is the only setting that works. In MPC, if I change the audio renderer from Reclock to MPC Audio Renderer it works fine, but then LPCM does not work.

Any help would be appreciated.

Check out your filters:

http://img526.imageshack.us/img526/5186/009d.png (http://img526.imageshack.us/i/009d.png/)


Hi Rica,

using the settings above i get the dts-HD MA on my receiver and the sound is good but the picture is very choppy, if i select yes on the reclock the video works in normal speed but no sound. any ideas? this is using a mkv file.

You never get bitstreaming from compressed formats when you say "yes" to ReClock. Reclock is for pure LPCM..

For the video, weird; what video decoder are you using? Are you sure "DXVA" selected?

New to this bitstreaming stuff. What do you need LPCM for? If you don't need LPCM, do you need reclock?

If you don't need LPCM, you don't need ReClock; it is for LPCM audio streaming. (i don't mean the other features of ReClock.)

mochevolete
6th February 2010, 18:09
Hi, thanks for the tutorial,
now I have Bitstreaming on everything but ... not with Reclock installed,
if I have Reclock installed ffdshow does not work as primary audio decoder, some strange Microsoft DTV decoder comes in and nothing works.
I set up Reclock as shown but something does not "plugs in" properly
Win 7 x86
ATi 5670
Catalyst 10.1
latest ffdshow and MPC-HC

Nik

rica
6th February 2010, 21:11
Hi, thanks for the tutorial,
now I have Bitstreaming on everything but ... not with Reclock installed,
if I have Reclock installed ffdshow does not work as primary audio decoder, some strange Microsoft DTV decoder comes in and nothing works.
I set up Reclock as shown but something does not "plugs in" properly
Win 7 x86
ATi 5670
Catalyst 10.1
latest ffdshow and MPC-HC

Nik

Go to view > Options > External Filters > add filter and select ffdshow audio decoder and set it to "prefer"
Restart MPC-HC and try again.

BTW, afaik 56** users prefer to install Realtek 239 drivers over Ati drivers. (btw i suggest original drivers for 5700 series.)

kjoy064
7th February 2010, 00:31
OK fixed my problem by ticking the Matroska box under source filters

rica
7th February 2010, 01:12
OK fixed my problem by ticking the Matroska box under source filters

It's good.
But if you don't have problematic Haali loaded, MPC-HC would automatically select matroska splitter :)

mochevolete
7th February 2010, 09:08
Go to view > Options > External Filters > add filter and select ffdshow audio decoder and set it to "prefer"
Restart MPC-HC and try again.
already tried :(

it's clear that Reclock breaks something in the chain

rica
7th February 2010, 12:31
already tried :(

it's clear that Reclock breaks something in the chain

Weird!

Do you have DirectX End-User Runtime?

And can you connect to remote graph and take a screen shot?

Start playing your disc or iso with MPC-HC.
Open GraphStudio.
Menu > File > Connect to remote graph.
Open the graph; now you should see the graph behind MPC-HC.
Take a SS and pls add here.

mochevolete
7th February 2010, 21:22
thanks for your support rica,
I'm unable to get the SS thru graphstudio ...
Connect to remote graph, click on Connect (on the MPC line), the little windows close and ... nothing happens :(

the DX runtime was installed yesterday to avoid the error that MPC gives the very first time it starts

Nik

mochevolete
7th February 2010, 21:42
ok, the trick was in Reclock:
http://img25.imageshack.us/img25/6602/reclock.jpg

but Iìm not sure if with the tick in the lower part I'm bypassing Reclock

mochevolete
7th February 2010, 21:50
erm .. no .. I broke the HD formats, it passes only AC3 and DTS, otherwise it stays mute

Nik

rica
7th February 2010, 22:20
but Iìm not sure if with the tick in the lower part I'm bypassing Reclock

No, you shouldn't have ticked that box. And "PCM" must have been selected as " WASAPI exlusive".
Check the sshots on my first post carefully and make sure to configure right the properties page of ReClock. So as to setup that, you must start playing your disc.
BTW if you can't connect to remote graph you don't have proppage.dll registered.
You have to register proppage.dll first.

nightfly
8th February 2010, 00:55
I am a Xonar user. I get my best results using the Arcsoft Audio Renderer.

Do you have that use that specific version of ffdshow v3251? Cause it causes issues for me and I use 3239.

rica
8th February 2010, 21:42
I am a Xonar user. I get my best results using the Arcsoft Audio Renderer.

Do you have that use that specific version of ffdshow v3251? Cause it causes issues for me and I use 3239.

It was alraedy reported before so i know the issue for Xonar owners.

mochevolete
8th February 2010, 22:20
No, you shouldn't have ticked that box. And "PCM" must have been selected as " WASAPI exlusive".
Check the sshots on my first post carefully and make sure to configure right the properties page of ReClock. So as to setup that, you must start playing your disc.
BTW if you can't connect to remote graph you don't have proppage.dll registered.
You have to register proppage.dll first.
Hi, at first, Reclock was set up in that way, like in your first post, then I tried to play with settings to make it work.

I can't get to work Graphstudio ... :mad: the "classic" way of regsvr32 gives an error message : 0x80070005
tried "dllregsvr", it says is ok but... Graphstudio still doesn't work yet .. :(
argh ...

rica
8th February 2010, 22:46
Moch,

second trial:

open graphstudio fist and then open MPC-HC and start playing with MPC.
And try to "connect to remote graph"

If you still don't get it, tell me the filters you see on MPC-HC menu;
play > filters.

rica
9th February 2010, 22:10
I've been awared that there is still a considerable confusion between ffdshow and reclock; so i edited my first post.

mochevolete
10th February 2010, 20:27
Moch,

second trial:

open graphstudio fist and then open MPC-HC and start playing with MPC.
And try to "connect to remote graph"

If you still don't get it, tell me the filters you see on MPC-HC menu;
play > filters.

and BTW ... thanks for your patience

http://img682.imageshack.us/img682/9471/filtersm.jpg (http://img682.imageshack.us/i/filtersm.jpg/)

rica
10th February 2010, 22:02
and BTW ... thanks for your patience

http://img682.imageshack.us/img682/9471/filtersm.jpg (http://img682.imageshack.us/i/filtersm.jpg/)

OK thx.
It's clear for me now.
You need Gabest splitter for m2ts or ts and Matroska Splitter for mkv.
But you are using avi and ffdshow never accepts avi container for bitstreaming and finally you can not use ffdshow audio decoder. (So you can not get bitstream at all.)

mochevolete
11th February 2010, 16:44
that shot was taken from an MKV, really I don't have AVIs, and I have installed the Haali splitter

Nik

ausvette
12th February 2010, 13:33
Thanks very much for the "How to Guide", very timely for me and a neat solution. All we need now is an option in reclock to be able to change the countdown timer on the prompt to 0 or 1 second and would be real neat.

I'm using a ATI 5670 on W7 and am just wondering how 24bit flac should be best configured. I was using madflac, but I get an error when I attempt to play a 24bit flac mkv with mpc, about not being able to handle the 24bit. 16 bit and bitstreaming was fine.

A bit of experimenting and I found that without madflac, checking lpcm in mpc and changing the lpcm sample bit rate changed what was output to reclock. 16 and 32 bit went through OK and 24 bit didn't. I guess either the Realtek drivers for the ATI or wasapi don't accept 24 bit ?

Am I then best going back to using madflac which correctly outputs 16 and 24bit to reclock depending on source, and then changing the PCM Output format in reclock to 24 bit padded ? I have a lot of flac mkvs and am keen to get bitperfect audio from them.

Thanks,
Dave.

rica
12th February 2010, 22:00
that shot was taken from an MKV, really I don't have AVIs, and I have installed the Haali splitter

Nik

Nik,

Uninstall Haali, unregister DTS/AC3 Source filter, restart and try again.

rica
12th February 2010, 22:06
Thanks very much for the "How to Guide", very timely for me and a neat solution. All we need now is an option in reclock to be able to change the countdown timer on the prompt to 0 or 1 second and would be real neat.

I'm using a ATI 5670 on W7 and am just wondering how 24bit flac should be best configured. I was using madflac, but I get an error when I attempt to play a 24bit flac mkv with mpc, about not being able to handle the 24bit. 16 bit and bitstreaming was fine.

A bit of experimenting and I found that without madflac, checking lpcm in mpc and changing the lpcm sample bit rate changed what was output to reclock. 16 and 32 bit went through OK and 24 bit didn't. I guess either the Realtek drivers for the ATI or wasapi don't accept 24 bit ?

Am I then best going back to using madflac which correctly outputs 16 and 24bit to reclock depending on source, and then changing the PCM Output format in reclock to 24 bit padded ? I have a lot of flac mkvs and am keen to get bitperfect audio from them.

Thanks,
Dave.

Thanks.

Check out this thread started by myself a year ago:

http://www.avsforum.com/avs-vb/showthread.php?p=15770959#post15770959

And i'll check the latest situation with Ati HDMI with flac and report back.
Cheers.

ausvette
13th February 2010, 10:46
Thanks.

Check out this thread starded by myself a year ago:

http://www.avsforum.com/avs-vb/showthread.php?p=15770959#post15770959

And i'll check the latest situation with Ati HDMI with flac and report back.
Cheers.

Thanks for that I'll have a read and your research will be much appreciated.

nightfly
13th February 2010, 20:05
Well, following rica's instructions the best I could using my Xonar setup with the Windows PB devices set to s\pd-if passthrough, I get "multi ch in" showing up on my AVR and get audio, however, it seems as a channel is missing and/or the channels are shifted somehow.

rica
17th February 2010, 01:13
Thanks very much for the "How to Guide", very timely for me and a neat solution. All we need now is an option in reclock to be able to change the countdown timer on the prompt to 0 or 1 second and would be real neat.

I'm using a ATI 5670 on W7 and am just wondering how 24bit flac should be best configured. I was using madflac, but I get an error when I attempt to play a 24bit flac mkv with mpc, about not being able to handle the 24bit. 16 bit and bitstreaming was fine.

A bit of experimenting and I found that without madflac, checking lpcm in mpc and changing the lpcm sample bit rate changed what was output to reclock. 16 and 32 bit went through OK and 24 bit didn't. I guess either the Realtek drivers for the ATI or wasapi don't accept 24 bit ?

Am I then best going back to using madflac which correctly outputs 16 and 24bit to reclock depending on source, and then changing the PCM Output format in reclock to 24 bit padded ? I have a lot of flac mkvs and am keen to get bitperfect audio from them.

Thanks,
Dave.

Ok, i did my homework finally.

Yes you're right.

And thanks for getting me awared of 48/24 LPCM tracks have issues with ReClock+Ati Drivers as well. (i have only 48/16 PCM BDs btw.)

After the investigation i've found ReClock is living issues with Ati or Realtek drivers in uncompressed (PCM) or lossless (FLAC) 24 bit formats. - not with 16 bit (which what we are trying to get bitperfect streaming as well.)

As you pointed out you have to configure ReClock format to 24 bit padded (if the source is 24 bit) or leave it in default settings if the source is 16 bit.
If you are using madflac decoder (you have to disable flac option on internal filters this time) -and your Madflac decoder has to be registered of course- you don't need to change your Madfac settings; just changing ReClock config (24 bit padded) will be enough.

But i must say it's really boring enough; i never lived any bitperfect streaming issues with my ex Creative Xi-Fi over analog outputs.

But anyway, TMT 170 patch never lives any issues with Ati Drivers (with 24 bit PCM- or the others) btw; so it means James has to solve this issue with Ati ? :)

I'd be happy if i would leave the ReClock "format" setting as default.

Dunno if it is possible :)

Samuri, what do you think?

ausvette
18th February 2010, 01:09
Ok, i did my homework finally.

Yes you're right.

And thanks to getting me awared of even 48/24 LPCM tracks have issues with ReClock+Ati Drivers. (i have only 48/16 PCM BDs btw.)

After the investigation i've found ReClock is living issues with Ati or Realtek drivers in uncompressed (PCM) or lossless (FLAC) 24 bit formats. - not with 16 bit (which what we are trying to get bitperfect streaming as well.)

As you pointed out you have to configure ReClock format to 24 bit padded (if the source is 24 bit) or leave it in default settings if the source is 16 bit.
If you are using madflac decoder (you have to disable flac option on internal filters this time) -and your Madflac decoder has to be registered of course- you don't need to change your Madfac settings; just changing ReClock config (24 bit padded) will be enough.

But i must say it's really boring enough; i never lived any bitperfect streaming issues with my ex Creative Xi-Fi over analog outputs.

But anyway, TMT 170 patch never lives any issues with Ati Drivers (with 24 bit PCM- or the others) btw; so it means James has to solve this issue with Ati ? :)

I'd be happy if i would leave the ReClock "format" setting as default.

Dunno if it is possible :)

Samuri, what do you think?

Thanks for checking that !

rica
19th February 2010, 23:30
Well, following rica's instructions the best I could using my Xonar setup with the Windows PB devices set to s\pd-if passthrough, I get "multi ch in" showing up on my AVR and get audio, however, it seems as a channel is missing and/or the channels are shifted somehow.

Sorry i can't check it out but i hope any other Xonar user will do this and report back.

rica
21st February 2010, 22:17
First post has been edited.

Kali-
24th February 2010, 13:12
This work only for Intel H5x, ATI 5xxx and Asus Xonar?

rica
24th February 2010, 21:01
This work only for Intel H5x, ATI 5xxx and Asus Xonar?

This is based on Ati 5*** series cards but you can use the same tutorial for Xonar Cards; the different thing is audio renderer (afaik, don't have a Xonar btw); you have to use Arcsoft Audio Renderer in this case.
I have no idea if it works on Intel?

David602
24th February 2010, 21:31
This is based on Ati 5*** series cards but you can use the same tutorial for Xonar Cards; the different thing is audio renderer (afaik, don't have a Xonar btw); you have to use Arcsoft Audio Renderer in this case.
I have no idea if it works on Intel?

I'll test this tonight on my Intel clarkdale H55 setup and report back.

1) In the guide, you posted seperate instructions for 16bit LPCM and 24bit LPCM. I have tracks in both, does that mean i need to change my settings in reclock every time I switch between the files?

2) I noticed that you don't have any 24bit LPCM clips. Would you like me to post a 50MB sample?

3) One of the pictures in your guide is not displaying (has a red X). It's the 2nd picture in the Reclock configuration.

Thanks!

rica
24th February 2010, 22:27
I'll test this tonight on my Intel clarkdale H55 setup and report back.

1) In the guide, you posted seperate instructions for 16bit LPCM and 24bit LPCM. I have tracks in both, does that mean i need to change my settings in reclock every time I switch between the files?

2) I noticed that you don't have any 24bit LPCM clips. Would you like me to post a 50MB sample?

3) One of the pictures in your guide is not displaying (has a red X). It's the 2nd picture in the Reclock configuration.

Thanks!

Thanks a lot for your contribution.

1) Unfortunately, yes. You have to configure both Reclock and LPCM decoder every time you switch to another bit clip.

Reclock Configuration:,

PCM Output > Format > Same as input (or- 24 bit padded)

LPCM Decoder config:
(you can change this after starting to play the cilip. See: menu: Play > Filters > LPCM Decoder)

Output Sample Format > PCM 16 bit (or- PCM 24 bit)

This is boring i know.

2) I don't have any but i did my test with a 24/48 bit PCM clip which i ripped from a DTSHD-MA 24/48 original. But i'd like to get an original PCM sample as well; thanks.

3) Yes i've been awared and renewed the cap.

David602
26th February 2010, 00:28
Okay - I did my testing and have some interesting results to share.

First I need to mention that this is a new HTPC Intel clarkdale build and I haven't had a lot of success with LPCM so far (before reclock). I think there may be some driver issues to be worked out.

Up until now there were only 2 ways I got PCM:

A) By using HAALI to connect directly to the Direct Sound renderer but it was only 2 CH Stereo and playback was bad.

B) Using MPC Splitter -> FFDSHOW by enabling "Uncompressed" under Codecs but it was still only 2 CH Stereo PCM. Enabling LPCM didn't do anything.

Using reclock and your guide, I was able to do multi-channel LPCM bit-perfect @ 24 bit through WASAPI!

http://img718.imageshack.us/img718/794/reclock2sm.jpg

http://img18.imageshack.us/img18/3329/ffdshow1sm.jpg

The only catch is that it only worked when FFDSHOW "Uncompressed" was enabled under Codecs.

http://img412.imageshack.us/img412/7610/ffdshow2sm.jpg


If I don't use FFDSHOW (Codecs-> Uncompressed), Reclock generates an error:

http://img171.imageshack.us/img171/8310/error1sm.jpg


Great guide but I'm not following it exactly - Is it okay to use FFDSHOW with this?

The DTS HD MA and TrueHD still work fine when selecting "no, not this time" when reclock pops up but that's a real problem. I don't want that popping up every time I watch a movie that's not LPCM. Is there any way around it???

Thanks!

rica
26th February 2010, 01:28
Great guide but I'm not following it exactly - Is it okay to use FFDSHOW with this?


Thanks for giving it a go; yes, i suppose it works with this as well. I'll try this tomorrow and report back.


The DTS HD MA and TrueHD still work fine when selecting "no, not this time" when reclock pops up but that's a real problem. I don't want that popping up every time I watch a movie that's not LPCM. Is there any way around it???



No, no way else i know, sorry.

BTW thanks one more time; at least we know anymore with your contribution, ffdshow and reclock config is working under MPC-HC with Intel stuff.

PS: Sorry, but i don't think you get bitperfect streaming unless you tick "slave reference to audio clock" option. Otherwise you get just something like that but not a real bitperfect streaming.

David602
26th February 2010, 03:16
Thanks for giving it a go; yes, i suppose it works with this as well. I'll try this tomorrow and report back.





No, no way else i know, sorry.

BTW thanks one more time; at least we know anymore with your contribution, ffdshow and reclock config is working under MPC-HC with Intel stuff.

PS: Sorry, but i don't think you get bitperfect streaming unless you tick "slave reference to audio clock" option. Otherwise you get just something like that but not a real bitperfect streaming.


I'll try selecting that option and see how it does. If I end up not using that option, is there any harm or degradation in audio quality?

BTW, I found a work-around for the issue of using Reclock with LPCM and then not using Reclock for other bitstreaming.

XBMC's DSPlayer (integrated into the system) added an option to allow you to use a different audio filter and audio renderer based on the audio stream in the file!

For LPCM, play ffdshow with reclock.
For DTS HT MA, play ffdshow with default direct show renderer (or Arcsoft for Xonar).

http://forum.xbmc.org/showpost.php?p=518884&postcount=2477

I love XBMC!

Here is a clip from POTC3 - which is an original 24bit LPCM track. I used this in my testing...

http://www.filefactory.com/file/b058ch0/n/POTC3-LPCM24-001.mkv

mackworth
26th February 2010, 20:31
Is that something that James could add? It can passthrough ac3/dts, does it just need to be upgraded?

rica
26th February 2010, 21:58
I'll try selecting that option and see how it does. If I end up not using that option, is there any harm or degradation in audio quality?
[/url]

No but it's not a real bitperfect streaming even our ears can not differ. You will see Reclock icon as yellow while it's bitperfect streaming and if it is green it is not bitperfect streaming since it is adjusting the audio.

The DTS HD MA and TrueHD still work fine when selecting "no, not this time" when reclock pops up but that's a real problem. I don't want that popping up every time I watch a movie that's not LPCM. Is there any way around it???



BTW, I found a work-around for the issue of using Reclock with LPCM and then not using Reclock for other bitstreaming.

For DTS HT MA, play ffdshow with default direct show renderer (or Arcsoft for Xonar).


If you think this is a work-around, then you may think selecting "default direct sound device-for Ati" or "arcsoft renderer -for Xonar- in MPC-Hc is a work-around as well?
Options > Output > Audio Renderer > Default Direct Sound Device.

I'd prefer to tick simply "No" on popup window.

rica
26th February 2010, 22:35
http://img18.imageshack.us/img18/3329/ffdshow1sm.jpg

The only catch is that it only worked when FFDSHOW "Uncompressed" was enabled under Codecs.

http://img412.imageshack.us/img412/7610/ffdshow2sm.jpg




BTW, if i don't select LPCM decoder in MPC-HC and select ffdshow with its "uncompressed: all supported formats" ; (with my Ati)

MKV : Get Sound over ReClock, no ffdshow existent between Source filter and renderer.

Filter Chain:

MKV Source (gabest) > ReClock Audio Renderer


m2ts: Get static only, no ffdshow existent between Source filter and renderer.

Filter Chain:

MPC Mpeg Source (gabest) > ReClock Audio Renderer.

Please check your filter chain.

I really wonder if it comes from Intel?

rica
26th February 2010, 23:35
OK guys, i think you will never see this boring popup window anymore.

Open ReClock Configuration Window:

Go to "Advanced Settings" and untick " Force ReClock to be loaded instead of default renderers"

And all the rest of the settings in my first post is valid btw.

:) :) :)



PS: I'll edit my first post tomorrow.
_ _ _ _ _ _