View Full Version : How to config ffdshow/LAV and reclock for HD audio,
rica
12th August 2010, 02:50
Somehow I missed you saying that? Well that brings up a different issue. When I try to use Arcsoft's audio decoder my framerate drops to like one frame per second...
Have you ever given it a go with vladd's TMT hack?
İ think you may use TMT 2's audio renderer with your card?
http://www.avsforum.com/avs-vb/showpost.php?p=18884347&postcount=3065
_ _ _ _ _ _
nevcairiel
12th August 2010, 07:06
You don't have to use the Arcsoft Audio Decoder, you have to use the their Audio Renderer. Big difference. I haven't managed to get it to work with any renderer since TMT3.170, the versions before (specifically 161) worked fine.
ManiacDC
12th August 2010, 10:24
I meant renderer, not decoder, sorry.
I have not used vladd's method, but I don't have TMT2. Do I need to install a trial version to do this?
My AsAudioRenderer.dll is 3.0.1.25, and my TMT3 version is the Asus version, 3.0.13.143.
Thanks
rica
12th August 2010, 20:33
I meant renderer, not decoder, sorry.
I have not used vladd's method, but I don't have TMT2. Do I need to install a trial version to do this?
My AsAudioRenderer.dll is 3.0.1.25, and my TMT3 version is the Asus version, 3.0.13.143.
Thanks
I don't have a XONAR.
The question is;
Can you register AS Audio Renderer and select under MPC-HC's external filters?
_ _ _ _ _
ManiacDC
12th August 2010, 20:49
Yes, I can select it. It even shows DTS HD MA on my receiver. The problem is the video only plays at a couple frames per second, if even. I tried several different video renderers and that did not help.
rica
12th August 2010, 20:55
Yes, I can select it. It even shows DTS HD MA on my receiver. The problem is the video only plays at a couple frames per second, if even. I tried several different video renderers and that did not help.
Sorry it might be a stupid question?
The connection.
Your VGA's HDMI out > your Xonars HDMI input and
Xonar's HDMI output > AVR's HDMI input, correct?
Second stupid question?
Did you select h264 (DXVA) and VC1 (DXVA) on MPC_HC's internal filters?
This is important...
rica
12th August 2010, 21:22
I meant renderer, not decoder, sorry.
This was my typo, sorry
not yours :o
rica
12th August 2010, 22:29
Tulli gave the support and he says the latest working retail version of TMT is 3.161 (thx tulli) and this post might help to Xonar users:
http://www.avsforum.com/avs-vb/showpost.php?p=18757541&postcount=8977
_ _ _ _ _
makakam
12th August 2010, 23:26
I'm 100% sure I set everything like it's shown in the guide. I even tried different catalyst versions including the newest one with no luck. I have no idea what to do now to get it working.
rica
12th August 2010, 23:51
would you post screen caps from:
playback devices
MPC settings
ffdshow settings?
pls use thumbnails.
makakam
13th August 2010, 00:09
Here are the screenshots:
http://a.imageshack.us/img337/2866/63884241.th.jpg (http://img337.imageshack.us/i/63884241.jpg/) http://a.imageshack.us/img337/6963/26938573.th.jpg (http://img337.imageshack.us/i/26938573.jpg/) http://a.imageshack.us/img442/5097/61051865.th.jpg (http://img442.imageshack.us/i/61051865.jpg/) http://a.imageshack.us/img337/7435/14037996.th.jpg (http://img337.imageshack.us/i/14037996.jpg/)
http://a.imageshack.us/img337/2223/60635226.th.jpg (http://img337.imageshack.us/i/60635226.jpg/) http://a.imageshack.us/img442/6829/32530854.th.jpg (http://img442.imageshack.us/i/32530854.jpg/) http://a.imageshack.us/img337/595/23242492.th.jpg (http://img337.imageshack.us/i/23242492.jpg/) http://a.imageshack.us/img291/8357/24843569.th.jpg (http://img291.imageshack.us/i/24843569.jpg/)
rica
13th August 2010, 00:24
Thanks for the scs.
It's more understandable to me now.
Lets give it a go again:
1) Uninstall ReClock first since you won't need it for bitstreaming.
2) Select "Direct Sound Ati HDMI Output" under "Output" option of MPC.
3) Unselect Madvr and select EVR Custom Presenter.
4) And here is your ffdshow settings:
http://img32.imageshack.us/img32/50/ffdshow.png (http://img32.imageshack.us/i/ffdshow.png/)
And give it a go again.
(i assume you've installed 10.6 ır 10.7 Catalist.)
_ _ _ _ _ _
ManiacDC
13th August 2010, 02:20
Sorry it might be a stupid question?
The connection.
Your VGA's HDMI out > your Xonars HDMI input and
Xonar's HDMI output > AVR's HDMI input, correct?
Second stupid question?
Did you select h264 (DXVA) and VC1 (DXVA) on MPC_HC's internal filters?
This is important...
yes, that is how my HDMI is setup.
No, I'm not using DXVA for decoding h264, I'm using ffdshow.
Anyway, I figured it out thanks to your other post! It was due to haali media splitter. I enabled the internal matroska splitter and it started playing fine. Thanks for your help with this. Sigh, it even says it in the first post, lol.
makakam
13th August 2010, 09:16
Thanks rica but still no luck with bitstreaming...and yes I've got Cat 10.7 installed.
rica
14th August 2010, 00:22
In this case i think you are gonna make a fresh install.
makakam
14th August 2010, 16:07
In this case i think you are gonna make a fresh install.
I've just done it and there's no change. I wrote to ATI and Onkyo yesterday . Maybe they will help somehow.
rica
14th August 2010, 20:10
Really weird. :mad:
makakam
30th August 2010, 12:08
Contacting ATI didn't get me anywhere, the best thing they advised me was EDID override which I had already tried before with no luck. I think my onkyo ht-r538 may be to blame here but ppl at onkyo don't support gpu streaming (at least so they told me),but only non-computer sources and I don't have a blu-ray player to test it with my avr. I guess I'll have to stick to non-hd audio as I don't want to change my hardware yet.
rica
30th August 2010, 20:43
Sorry, check out this:
http://www.eu.onkyo.com/press/press_release_en_8688430.html
_ _ _ _
makakam
31st August 2010, 00:20
Sorry, check out this:
http://www.eu.onkyo.com/press/press_release_en_8688430.html
_ _ _ _
Yes, surround channels are swapped in my avr when I for example test the speakers in windows but only then. But can it influence the bitstream?
rica
31st August 2010, 00:36
Dunno?
There seem to be an issue on those receivers anyway.
Make sure you are making your AVR's setup well?
ManiacDC
31st August 2010, 02:30
Yes, surround channels are swapped in my avr when I for example test the speakers in windows but only then. But can it influence the bitstream?
BTW, I have that problem in MPC when using reclock for non-bitstreaming (sub and center channel are swapped I think). I used MPC's channel remapper to fix it (though it can be fixed in reclock registry settings if needed).
rica
31st August 2010, 20:11
FYI, makakam's issue has been fixed by tulli:
http://www.avsforum.com/avs-vb/showpost.php?p=19124401&postcount=58
_ __ _
makakam
31st August 2010, 20:56
FYI, makakam's issue has been fixed by tulli:
http://www.avsforum.com/avs-vb/showpost.php?p=19124401&postcount=58
_ __ _
Yup, that is true and I am really happy about it :)
kiccolsd
20th September 2011, 01:29
My HTPC:
i72600K
Asus P8H67-V
8Gb di Ram
Video Intel HD3000 HDMI linked to Panasonic L42D25
Audio M2tech Young DAC USB linked (WASAPI compatible)
My goal is to have HQ audio (if possible multichannel downmixed to 2.0) at its best quality sended to my DAC in wasapi mode (wich is the best for this DAC). I'm interested both in MKV (with MPCHC) and BR (with TMT5).
Can anyone address me to the right config??
PS. Little OT is there anyway to have iTunes working in WASAPI exclusive mode? Something like what reclock do with TMT5...
ManiacDC
20th September 2011, 02:13
My HTPC:
i72600K
Asus P8H67-V
8Gb di Ram
Video Intel HD3000 HDMI linked to Panasonic L42D25
Audio M2tech Young DAC USB linked (WASAPI compatible)
My goal is to have HQ audio (if possible multichannel downmixed to 2.0) at its best quality sended to my DAC in wasapi mode (wich is the best for this DAC). I'm interested both in MKV (with MPCHC) and BR (with TMT5).
Can anyone address me to the right config??
PS. Little OT is there anyway to have iTunes working in WASAPI exclusive mode? Something like what reclock do with TMT5...
For MPCHC, you could use ffdshow to downmux the audio to 2.0 channel and then use reclock to send it. I'm not sure how you'd do it with TMT5.
I'm not sure why you'd use iTunes when you could just use foobar2000 ;), but iTunes apparently does support WASAPI:
http://www.head-fi.org/t/444468/itunes-9-has-wasapi-updated-zune-4-also-has-bitperfect-out
kiccolsd
20th September 2011, 10:20
For MPCHC, you could use ffdshow to downmux the audio to 2.0 channel and then use reclock to send it. I'm not sure how you'd do it with TMT5.
I'm not sure why you'd use iTunes when you could just use foobar2000 ;), but iTunes apparently does support WASAPI:
http://www.head-fi.org/t/444468/itunes-9-has-wasapi-updated-zune-4-also-has-bitperfect-out
Thx for both of your reply... I prefer iTunes because of its gui and Auto-Playlist (mix genius). I readed this link but when i try to play 24\96 alac files the DAC detect those files as 44khz. According to dac manual this means that it's not wasapi exclusive output.
nevcairiel
20th September 2011, 11:31
A common misconception is that WASAPI alone already means "bit perfect". You can have WASAPI without exclusive mode, which means it'll still mix the audio to the "shared" mode config.
kiccolsd
20th September 2011, 13:18
A common misconception is that WASAPI alone already means "bit perfect". You can have WASAPI without exclusive mode, which means it'll still mix the audio to the "shared" mode config.
Sorry man i dont wont to move this thread to OT... if someone know how to output iTunes with WASAPI bitperfect please PM me. Coming back IT someone can help me with "My goal is to have HQ audio at its best quality sended to my DAC in wasapi exclusive mode (wich is the best for this DAC). I'm interested both in MKV (with MPCHC) and BR (with TMT5). "
rica
10th October 2011, 22:53
I think what you mean is to send the audio to your DAC as bitexact but whenever you touch the audio (you are trying to downmix to two channels) you loose bitexact streaming even you use WASAPI exclusive mode.
WASAPI (non-exlusive- shared mode)
Always Vista/7 mixer interfares even it is not molested by ReClock; so bitexact streaming is never possible in this case.
WASAPI exclusive:
Vista/7 mixer doesn't interfare at all but it doesn't mean it is bitexact streaming in any case:
Either it is molested by ReClock. (Non-bitexact streaming)
Or it is not molested by ReClock. (bitexact streaming)
Pls see the last section of my first post:
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)
Finally we may consider an audio as bitperfect if it is not touched by any decoder or renderer or/and shared by a mixer; it must be as is and it mustn't be interfared.
_ _ _ _
rica
11th October 2011, 23:31
Do you think we should update this thread?
Lav Splitter,
Solveig Splitter, etc.
Even i haven't tried new ReClock.
dbone1026
11th October 2011, 23:32
Do you think we should update this thread?
Lav Splitter,
Solveig Splitter, etc.
Even i haven't tried new ReClock.
I think that would be helpful. ReClock is still a mystery for many, so having an updated thread with some of the newer options would be useful
rica
11th October 2011, 23:34
Thanks Damian, lets do it together, shall we?
dbone1026
11th October 2011, 23:36
Thanks Damian, lets do it together, do we?
I can help where possible. I don't use ReClock currently though so not sure if I can be of help there. I did document some of the basics on setting up LAV (although I think some new features have been updated since that i need to revisit):
http://www.mediasmartserver.net/2011/06/30/guide-setting-up-lav-filters-mpc-hc-for-all-your-splitter-and-audio-needs/
rica
11th October 2011, 23:42
I can help where possible. I don't use ReClock currently though so not sure if I can be of help there. I did document some of the basics on setting up LAV (although I think some new features have been updated since that i need to revisit):
http://www.mediasmartserver.net/2011/06/30/guide-setting-up-lav-filters-mpc-hc-for-all-your-splitter-and-audio-needs/
Dude.
I gonna try to update the thread this weekend and i know i gonna need your contributions.
Thanks in advance.
Best!
dbone1026
11th October 2011, 23:47
Dude.
I gonna try to update the thread this weekend and i know i gonna need your contributions.
Thanks in advance.
Best!
I knew I should have answered no to your original question :p
I will definitely be checking in here as well, do what I can to help update
rica
11th October 2011, 23:50
I knew I should have answered no to your original question :p
I will definitely be checking in here as well, do what I can to help update
Thanks man!
rica
28th October 2011, 23:27
Here is LAV Filters/ReClock bitexact streaming route:
Lav Filters 0.42
ReClock 1.8.7.7
MPC-HC latest SVN.
MadFlac (optional)
BTW:
I have a GeForce GTX 550 TI on Clarkdale (i3 540/H55)
nVidia driver version: 285.62.
MPC Config:
Output:
http://img248.imageshack.us/img248/8999/000mr.png (http://imageshack.us/photo/my-images/248/000mr.png/)
Disable all internal filters:
http://img256.imageshack.us/img256/1015/002ar.png (http://imageshack.us/photo/my-images/256/002ar.png/)
Enable LAV Filters under "external filters":
http://img89.imageshack.us/img89/7256/003jz.png (http://imageshack.us/photo/my-images/89/003jz.png/)
CAUTION: If you have Haali loaded, don't forget to select it under external filters and "block" it.
Enable Madflac too for decoding flac: (i prefer madflac instead of lav audio. In this case you have to untick flac decoding option on lavaudio formats selection in properties page.)
http://img811.imageshack.us/img811/4406/0000ig.png (http://imageshack.us/photo/my-images/811/0000ig.png/)
_ _ _ _ _____ _ ___
ReClock Config:
Off-line config:
http://img545.imageshack.us/img545/175/001iy.png (http://imageshack.us/photo/my-images/545/001iy.png/)
http://img220.imageshack.us/img220/9370/002jw.png (http://imageshack.us/photo/my-images/220/002jw.png/)
Note: You don't need to use ReClock for bitstreaming since you may use any renderer for bitstreaming. But selecting ReClock is needed for compatibility so as not to touch MPC's setup everytime.
Reclock will only pass the stream to the selected renderer on ReClock setup- here default WaveOut is selected for example. (and whatever renderer you select on ReClock's bitstream option, it is gonna bitstream in WASAPI exclusive mode.)
In-line config:
http://img695.imageshack.us/img695/373/005yq.png (http://imageshack.us/photo/my-images/695/005yq.png/)
You can manage this only while streaming PCM (needed for the first time playing, after ReClock will remember this setup). You are not able to setup this while bitstreaming since ReClock, even it is selected for bitstreaming doesn't interfere with the stream (cuz it's compressed) . (nor Windows' mixer can interfere with compressed lossless or lossy formats). Sure you have to use appropriate audio filters like lavaudio or ffdshow audio to pass compressed formats as is.
_ _ __ __
LAV Filters config:
Leave them as they are. As for lavaudio, you can untick any bitstream format to switch decoding mode, even while you are playing the media.
NOTE: YOU will need dtsdecoderdll.dll of TMT3 or TMT5. Just put this file on lav filters folder.
http://img18.imageshack.us/img18/8748/003hdp.png (http://imageshack.us/photo/my-images/18/003hdp.png/)
Lavaudio vs ffdshow audio:
In bitstreaming there is no difference but in passthrough streaming you are awared of the difference:
Even configuration of both decoders is similar, lav audio always select the right bit while ffdshow always need to be ticked appropriate to the original file's bit to pass it as it is:
http://img443.imageshack.us/img443/5366/ffdshowlavconfig.png (http://imageshack.us/photo/my-images/443/ffdshowlavconfig.png/)
When i send the same audio over both decoders, lav audio selects it as is (24 bit) while ffdshow selects it as 32 bit.
You can compare ffdshow and lavaudio with these sample files i'm adding:
96_24 flac mkv:
http://www.mediafire.com/?u0dh194e0q74tyt
96_24 pcm mkv:
http://www.mediafire.com/?het2xcoug60hvni
Note: For bit-exact streaming, do not forget to set MPC_HC's volume bar to 100 %.
_ _ __
Windows' "playback devices" config:
http://img407.imageshack.us/img407/144/006ok.png (http://imageshack.us/photo/my-images/407/006ok.png/)
(It is Denon AVR in my case)
http://img833.imageshack.us/img833/2686/007mn.png (http://imageshack.us/photo/my-images/833/007mn.png/)
_ _ _ __
And here is the result:
DTS-HD/THD bitexact bitstreaming:
http://img17.imageshack.us/img17/6499/testeuz.png (http://imageshack.us/photo/my-images/17/testeuz.png/)
PCM bitexact passthrough:
http://img210.imageshack.us/img210/43/0005p.png (http://imageshack.us/photo/my-images/210/0005p.png/)
NOTE: You may open mpls or m2ts on BD over Lav Splitter.
_ _ __
rica
29th October 2011, 00:19
First post has been edited:
Lav Filters+ReClock > Bitexact wasapi exclusive streaming over MPC-HC...
mindbomb
29th October 2011, 02:18
rica, why did you circle EVR CP in the mpc hc output options?
It should work with any video renderer, right?
nevcairiel
29th October 2011, 07:17
You should never turn off any sample formats in LAV Audio, unless your hardware has trouble with it. With ReClock, there is no reason to ever turn anything off.
The only thing it does is force LAV Audio to convert it, but LAV Audios conversion might not be the best - its only a fallback. Let ReClock convert 32-bit float/32-bit Integer to 24-bit Integer for you.
rica
29th October 2011, 22:43
rica, why did you circle EVR CP in the mpc hc output options?
It should work with any video renderer, right?
Yes, you're right, video renderer is not related with audio stuff. Lets say i did it by mistake.
mindbomb
29th October 2011, 23:35
You should never turn off any sample formats in LAV Audio, unless your hardware has trouble with it. With ReClock, there is no reason to ever turn anything off.
The only thing it does is force LAV Audio to convert it, but LAV Audios conversion might not be the best - its only a fallback. Let ReClock convert 32-bit float/32-bit Integer to 24-bit Integer for you.
I can see why he did that though, cause if you have reclock doing the conversion, it is obviously not going to be bit exact.
Reclock doesnt dither afaik, so i think lav and reclock may have pretty similiar audio conversions.
nevcairiel
29th October 2011, 23:49
If the decoder modifys the audio, its obviously not "bit exact" either, even if ReClock would claim it is. If that claim gives you some comfort... go for it, but its false.
rica
30th October 2011, 00:24
If the decoder modifys the audio, its obviously not "bit exact" either, even if ReClock would claim it is.
Right.
This is why i have to touch ReClock for real bitexact streaming. (assuming the audio is not touched by decoder previously.)
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)
And i tried to explain here:
I think what you mean is to send the audio to your DAC as bitexact but whenever you touch the audio (you are trying to downmix to two channels) you loose bitexact streaming even you use WASAPI exclusive mode.
WASAPI (non-exlusive- shared mode)
Always Vista/7 mixer interfares even it is not molested by ReClock; so bitexact streaming is never possible in this case.
WASAPI exclusive:
Vista/7 mixer doesn't interfare at all but it doesn't mean it is bitexact streaming in any case:
Either it is molested by ReClock. (Non-bitexact streaming)
Or it is not molested by ReClock. (bitexact streaming)
Pls see the last section of my first post:
Finally we may consider an audio as bitperfect if it is not touched by any decoder or renderer or/and shared by a mixer; it must be as is and it mustn't be interfared.
clubby
28th November 2011, 21:52
Works like a charm with ReClock, LAV Filter .40, MPC HC and madVR with my XFX 6670 video card. Thanks!
rica
4th December 2011, 21:57
Updated this post:
http://forum.doom9.org/showpost.php?p=1534720&postcount=188
And started a new thread on avsforum:
http://www.avsforum.com/avs-vb/showthread.php?t=1376533
stinman
8th December 2011, 20:41
The question I have is if I play a mkv remux with DTSHD-MA,it is Bit depth 24 bit and Bit Rate 48.0 khz not 96.0 this is with flac music,right? I have a ATI HD5850 with 11.11 drivers and the ATI Realtec hdmi driver, I use mpc-hc and ffdshow to pass through.It says DTSHD-MA on my Onkyo TX-NR809, is this not bitstreaming? Does windows 7 filter this audio in any way before it gets to the Onkyo thru the hdmi cable? If I play flac audio that is 24/96 and have Windows set at 24/96,does it mess with the audio? I'm getting confused, it would be nice to let the Onkyo do all the decoding with the burr brown dac's.Thanks
rica
8th December 2011, 21:28
The question I have is if I play a mkv remux with DTSHD-MA,it is Bit depth 24 bit and Bit Rate 48.0 khz not 96.0 this is with flac music,right? I have a ATI HD5850 with 11.11 drivers and the ATI Realtec hdmi driver, I use mpc-hc and ffdshow to pass through.It says DTSHD-MA on my Onkyo TX-NR809, is this not bitstreaming? Does windows 7 filter this audio in any way before it gets to the Onkyo thru the hdmi cable? If I play flac audio that is 24/96 and have Windows set at 24/96,does it mess with the audio? I'm getting confused, it would be nice to let the Onkyo do all the decoding with the burr brown dac's.Thanks
Hi.
First check out if the audio is really 96/24 with mediainfo.
If it tells it is, you don't need to set windows mixer to any sample rate, just check out your AVR's info.
If your original media is 96 and your AVR says it is 96, it means you are passing through as is.
If you are bitstreaming (without decoding on pC), your AVR will tell you it is 96 if it really is.
For more info, pls take a look at this link:
http://www.avsforum.com/avs-vb/showthread.php?t=1376533
stinman
8th December 2011, 23:50
I been there,just come back! Thanks by the way. I got a Onkyo and it will not decode flac files over the network as some have stated over there,maybe the higherend will. I wish so,I been trying to get it to for last hr or so through streaming. I always had problems with reclock. But I have a lot of 96/24 flac audio needle drops and some hybrid disks converted to flac, I do have mediainfo installed. I just didn't see what the benifits of lav filters over ffdshow was for bitstreaming or passthrough with hdmi to receiver from ATI HD5850.I am going to try and see if it does. I always put windows playback devices on what ever the stream is 96/24,48/24,48/16 etc...Thanks.
I'm going to convert a few songs that are 96/24 flac to pcm and see how they are played over the network and if it is still 96/24
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.