Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th November 2009, 19:16 | #9262 | Link | |
Registered User
Join Date: Jan 2005
Posts: 171
|
Quote:
A WASAPI+exclusive renderer may still be a way for devices that don't have explicit support to bitstream the new HD formats (by spoofing as Multichannel PCM). I loaded up the old beta 9 build and even with all the changes to the renderer this still gives me a stream out of my 4870 that is detected as TrueHD by my receiver. It doesn't make any sound, but it's something. Also, an open source WASAPI+exclusive renderer is a worthy project for its own sake. |
|
16th November 2009, 19:18 | #9263 | Link | |
Registered User
Join Date: May 2004
Posts: 5,351
|
Quote:
|
|
16th November 2009, 19:25 | #9264 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
16th November 2009, 20:01 | #9266 | Link |
Registered User
Join Date: May 2004
Posts: 5,351
|
Absolutely agree that wasapi excl would be nice for LPCM, but, in order to get past the bitstreaming hurdles it might make sense to forget about it for the moment and revisit it when bitstreaming support is done. Is there a way to test this theory? What audio renderer could I use to try bitstreaming without wasapi excl mode? It'd still need to know about the bitstream types and pass them, right? So, I'm guessing we still need some custom renderer to do this? (As you can probably tell, my knowledge on this stuff is pretty much near 0. )
|
16th November 2009, 20:08 | #9267 | Link |
Registered User
Join Date: May 2004
Posts: 5,351
|
Well, removing the MPC audio renderer that albain gave us and using MPC-HC's default (output to system default), I get the exact same results as with the custom renderer, except, in the case of DTS-HD MA, I actually get DTS core audio bitstreamed. So no audio in TrueHD, but, the TrueHD light comes on. So it would seem that you are correct that wasapi excl does not seem to be necessary, but, there's still a bug somewhere preventing it from working. And why is it only seeing DTS on DTS-HD MA tracks?
|
16th November 2009, 20:58 | #9268 | Link | |
Registered User
Join Date: Jan 2005
Posts: 171
|
Quote:
|
|
16th November 2009, 21:01 | #9269 | Link |
Registered User
Join Date: May 2004
Posts: 5,351
|
Yea, that was my thought, too. I figured it couldn't hurt to try it. And sure enough, the TrueHD light lit up just fine. So that would indicate the current issue isn't a timing problem in the custom renderer I would think. Something else seems to be awry here. Hopefully by being able to eliminate the custom renderer, albain can figure it out.
|
16th November 2009, 22:06 | #9270 | Link |
Registered User
Join Date: Mar 2008
Posts: 2,021
|
For THD i get DolbyDigital light and sound.
Here is the log: http://www.mediafire.com/?wvyvanmxoo4 Sample: Code:
[4424] TffdshowDecAudio::deliverSampleBistream Delivering IEC sample format type 1 - sample size 2560 - buffer length 6144 00000106 0.06650028 [4424] Media Type Structure 00000107 0.06650028 [4424] Format type : FORMAT_WaveFormatEx 00000108 0.06650028 [4424] Sub type : MEDIASUBTYPE_PCM 00000109 0.06650028 [4424] 00000110 0.06650028 [4424] WAVEFORMATEXTENSIBLE : 00000111 0.06650028 [4424] subFormat : {00000000-0000-0000-0000-000000000000} 00000112 0.06650028 [4424] 00000113 0.06650028 [4424] wSamplesPerBlock : 0 00000114 0.06650028 [4424] Valid bits per sample : 0 00000115 0.06650028 [4424] 00000116 0.06650028 [4424] WAVEFORMATEX : 00000117 0.06650028 [4424] wFormatTag : Dolby AC3 SPDIF 00000118 0.06650028 [4424] Channels : 2 00000119 0.06650028 [4424] Bits per sample : 16 00000120 0.06650028 [4424] Samples per second : 48000 00000121 0.06650028 [4424] nBlockAlign : 4 00000122 0.06650028 [4424] 00000123 0.06689384 [4424] Write 3236 bytes (809 frames), total available 3236 bytes, frame size 4 bytes, maximum size in buffer 2048 frames 00000124 0.06696528 [4424] CMpcAudioRenderer::DoRenderSampleWasapi Sleep2 for 21 ms 00000125 0.08739735 [4424] Write 2908 bytes (727 frames), total available 3888 bytes, frame size 4 bytes, maximum size in buffer 2048 frames 00000126 0.08768014 [4424] Subframe : 218, Last edited by rica; 16th November 2009 at 22:13. |
16th November 2009, 22:14 | #9272 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
I will release a custom version of ffdshow that output the same media structure as TMT. I hope that it will work with arcsoft renderer and confirm that ffdshow implementation is correct To use it you will have to register asaudiorenderer.dll file (with regsvr32) and it will appear in the renderers list @Rica : do you have more logs before the beginning point because it seems that ffsdshow switched back to AC3 core which happens if the output filter (renderer) will refuse the bitstream format. But I can confirm that ffdshow sees the true hd frames because of all the major frame/subframe traces (specific to truehd) |
|
16th November 2009, 22:22 | #9274 | Link | |
Registered User
Join Date: Mar 2008
Posts: 2,021
|
Quote:
But if it works i'll return back to Vista SP1 and TMT2; i mean can i use TMT audio renderer with your ffdshow? Another question albain: what if i give it a go with a pure thd (without an ac3 core) like an HD-DVD track? EDIT: as for the second q; sorry... I haven't noticed your response to samuri. Last edited by rica; 16th November 2009 at 22:40. |
|
16th November 2009, 22:42 | #9276 | Link | |
Registered User
Join Date: May 2004
Posts: 5,351
|
Quote:
|
|
16th November 2009, 22:44 | #9278 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
In Ffdshow I strip off the ac3 blocks already (as well as tmt).
For dtshd this is different as the dts core is complementary to hd blocks Concerning arcsoft renderer I don't think it holds any protection but I may be wrong. |
16th November 2009, 22:53 | #9279 | Link |
Registered User
Join Date: May 2004
Posts: 5,351
|
So, I try to use the ArcSoft renderer with what I have now. I get some freaky results. ffdshow defaults back to libavcodec and decodes it to LPCM. I'm guessing it no likey the fact that I'm using an ATI card with it. I guess I'll have to switch to the Xonar to try this.
|
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
Thread Tools | Search this Thread |
Display Modes | |
|
|