Log in

View Full Version : ffdshow tryout project : HD audio discussion


Pages : 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

rica
13th December 2009, 20:29
Beta 46 does not work either ?

Could this be a driver bug ? (catalyst 9.11 versus 9.10)

EDIT :
maybe the channel mask should be set to 0. On TrueHD it was a channel mask problem that would prevent sound to come out

1) 46 doesn't work either. (i mean like 53-54; gives THD bitstreaming but not DTSHD even logs show it is doing. I can't restore back where i was getting blu light in both cases.)
2) I don't think it's a driver bug since PDVD gives HD sound in both cases. (with EDID Override in my case.)
5) In every beta the problematic HD audio seems as DTSHD which doesn't give any light or sound to AVR even its debug log says it does bitstreaming.

So there must be something very easy to fix but dunno what it is?

I guess that only dumper logs on Vista+ATI+PDVD will be able to tell us more


It crashes at the beginning; you know. Maybe we need a new dumper.

albain
13th December 2009, 21:16
I don't have any other ideas about the dumper, I just don't know why it would crash

But whurlston managed to make it work with aero off. But you don't have that option right ?

Otherwise there is filtergraphspy

Otherwise(2), make blind tries until it works with beta builds

rica
13th December 2009, 21:23
I don't have any other ideas about the dumper, I just don't know why it would crash

But whurlston managed to make it work with aero off. But you don't have that option right ?



Now i renewed PDVD with version 19 (fake20 :D )
And i see that option now ;)

Lets look what is gonna be? :D

rica
13th December 2009, 22:06
Here it is:

http://img192.imageshack.us/img192/3784/aerog.th.png (http://img192.imageshack.us/i/aerog.png/)

But nothing has changed; look my log created at the beginning before the crash and finally no bitstreaming/non-bitstreaming info is available like browncoat's.
mine:

http://www.mediafire.com/?amydzmzgcj0

and here is the log gotten without aero box unticked:

http://www.mediafire.com/?znaqgnz2nrg



And browncoat's (owner of this idea):

http://forum.doom9.org/showthread.php?p=1351473#post1351473

And compare them with my previous logs.

EDIT: If PDVD would crash after we select the third option, we would see the btstreaming info.

albain
13th December 2009, 23:01
Ok, thanks for your efforts

Let's do the blind test if you are okay : first with channelMask set to 0, then with waveformatex structure, then we'll see

I will post the debug builds tomorrow after this "non day-off"

albain
13th December 2009, 23:06
Rica, just a though, your DTSHD sample was a 5.1 or 7.1 ?

rica
13th December 2009, 23:54
Rica, just a though, your DTSHD sample was a 5.1 or 7.1 ?

Wow!
I think you've found it :)

http://img192.imageshack.us/img192/4708/channels.th.png (http://img192.imageshack.us/i/channels.png/)

but log says:

http://img13.imageshack.us/img13/585/bitstream.th.png (http://img13.imageshack.us/i/bitstream.png/)



Let's do the blind test if you are okay : first with channelMask set to 0, then with waveformatex structure, then we'll see

I will post the debug builds tomorrow after this "non day-off"

:thanks:

first with channelmask set to 0, how?
Regedit?

whurlston
14th December 2009, 00:13
But whurlston managed to make it work with aero off. But you don't have that option right ?That wasn't me. Like rica, I don't have that option. I also couldn't get the dumper to record anything except the following:

16:51:03-471 dump::CoCreateInstanceExCallback on {079AA557-4A18-424A-8EEE-E39F0A8D41B9} interface
16:51:03-472 dump::CoCreateInstanceExCallback
16:51:03-472 dump::CoCreateInstanceExCallback on {079AA557-4A18-424A-8EEE-E39F0A8D41B9} interface


So I just kept loading up PDVD, attaching, playing something. I finally gave up and the next thing I know, the dumper had entries in it. Unfortunately, I'm not sure what I was playing at the time. I think I tried a 7.1 DTS-HD, a 5.1 DTS-HD and a 7.1 LPCM track. You can see the results using beta 53c at http://www.oshinetworks.com/DirectShow/ffdshow/bitstream.txt

I am going to try again after dinner with beta 54 and try to structure the results.

rica
14th December 2009, 00:31
albain,

If you meant this by channelMask trick, it didn't work:

http://img15.imageshack.us/img15/3115/channelmask.th.jpg (http://img15.imageshack.us/i/channelmask.jpg/)

rica
14th December 2009, 00:39
I am going to try again after dinner with beta 54 and try to structure the results.

Thanks whurlston :thanks:



BTW, to ffdshow beta Vista testers:

before give it a shot, make sure,

you:

1) are on SP2 ?
2) updated DirectX End-User Runtime ?
3) have MS NetFrameWork 3 or later ?
4) have registered proppage.dll and evoprop.dll coming with the latest Windows SDK ?

Sebastiii
14th December 2009, 01:03
Hi Rica,

I have made some test with dump tool :)
So can you try to make it work with powerdvdcinema ("C:\Program Files\CyberLink\PowerDVD9\PowerDVD Cinema\PowerDVDCinema.exe") with me it doesn't crash and make some log in bitstream.txt.

Maybe it works for you :)

I can't log more because i can't set 7.1 in HDMI but when my avr comes back, i think i have more luck :)
Thx,
Seb.

rica
14th December 2009, 01:05
Thanks seb,
it's interesting; worth a try:)

rica
14th December 2009, 01:39
Open PDVD Cinema
dpinpurr [audiodg PID]
dpinpurr [PDVD Cinema PID]
start launcher exe and tell him the PID of PDVD Cinema
load ISO to Virtual Clone Drive
start PDVD Cinema


Or

load ISO to VCD at the beginning.
Open PDVD Cinema
dpinpurr [audiodg PID]
dpinpurr [PDVD Cinema PID]
start launcher exe and tell him the PID of PDVD Cinema
start PDVD Cinema



PDVD Cinema never crashed in any case at all but i could never get any debug log under Temp Folder.

Or any other way you'd advise?

Thanks.

whurlston
14th December 2009, 02:13
Open PDVD Cinema
dpinpurr [audiodg PID]
dpinpurr [PDVD Cinema PID]
start launcher exe and tell him the PID of PDVD Cinema
load ISO to Virtual Clone Drive
start PDVD Cinema


That's the method I used but PDVD crashed on me.

@albain, I was able to grab logs for DTS-HD 7.1 though. I included a filter graph report from GraphStudio as well.

http://www.oshinetworks.com/DirectShow/ffdshow/PDVD-Vista-DTSHD.zip

I'll try with LPCM and 5.1 DTS-HD later.

rica
14th December 2009, 02:34
@albain, I was able to grab logs for DTS-HD 7.1 though. I included a filter graph report from GraphStudio as well.

http://www.oshinetworks.com/DirectShow/ffdshow/PDVD-Vista-DTSHD.zip

I'll try with LPCM and 5.1 DTS-HD later.

Sorry my friend but it doesn't give any bitstreaming information either. Just the beginning info before crash.

whurlston
14th December 2009, 04:39
Yeah, I thought it should have more info than that.

mikelebron
14th December 2009, 04:54
Has anyone tried using the latest HAALI splitter for MKVs with this solution (HD Audio)? It seems the developer has at least incorporated TrueHD.

whurlston
14th December 2009, 06:54
RE: Vista/ATI 5xxx

Albain, if I set nChannels = 2, I can connect to the WaveOut renderer and the DTS-HD light on the receiver stays lit and I get some click/pops. It no longer jumps between DTS-MA and PCM. However, the DTS-HD MA stream is being detected by the receiver as DTS-HD Hi-Res and not MA. It has the same behaviour with nSamplesPerSec=48000 or nSamplesPerSec=192000 with the only difference being the frequency of the clicks/pops (as expected). It did not like nSamplesPerSec=96000.

I don't know if that helps. I still can't get any valid info from a PDVD dump sorry.

Edit:
Changing dwChannelmask had no effect.

Sebastiii
14th December 2009, 07:36
Open PDVD Cinema
dpinpurr [audiodg PID]
dpinpurr [PDVD Cinema PID]
start launcher exe and tell him the PID of PDVD Cinema
load ISO to Virtual Clone Drive
start PDVD Cinema


Or

load ISO to VCD at the beginning.
Open PDVD Cinema
dpinpurr [audiodg PID]
dpinpurr [PDVD Cinema PID]
start launcher exe and tell him the PID of PDVD Cinema
start PDVD Cinema



PDVD Cinema never crashed in any case at all but i could never get any debug log under Temp Folder.

Or any other way you'd advise?

Thanks.

Hi,

I just change the path into dump tool and launch with hook. (that's all)
I didn't use dpinpurr [audiodg PID] and dpinpurr [PDVD Cinema PID].
I have mount my iso in powerdvd before start the hook (to be prepare to play with PowerDVDCinema) i think we can load in PowerDVDCinema but i didn't test it for now.

So for me :
0- Make sure c:\temp exist
1- Mount ISO or BD in BDDRIVE
2- Test with PowerDVD to see if all start correctly.
3- Launch dumptool (change the path to put PowerDVDCinema)
4- Start it

And the log goes on.

I have tested it on Win7 32bits.
Tonight i will test on Vista.

Thx,
Seb :)

Sebastiii
14th December 2009, 07:37
Has anyone tried using the latest HAALI splitter for MKVs with this solution (HD Audio)? It seems the developer has at least incorporated TrueHD.

Do you have a link ?
Thx :)

whurlston
14th December 2009, 08:18
RE: Vista/ATI 5xxx

Albain, if I set nChannels = 2, I can connect to the WaveOut renderer and the DTS-HD light on the receiver stays lit and I get some click/pops. It no longer jumps between DTS-MA and PCM. However, the DTS-HD MA stream is being detected by the receiver as DTS-HD Hi-Res and not MA. It has the same behaviour with nSamplesPerSec=48000 or nSamplesPerSec=192000 with the only difference being the frequency of the clicks/pops (as expected). It did not like nSamplesPerSec=96000.

I don't know if that helps. I still can't get any valid info from a PDVD dump sorry.

Edit:
Changing dwChannelmask had no effect.

As a followup, setting it to nSamplesPerSec=48000 and nChannels=8, I get little glitches of audio as if it were playing slowly so I think the original 192000/8 is correct. Possible a buffer issue?

Skinleech
14th December 2009, 09:09
I found Haali to be fine other than not picking up my thd files. Maybe that's changed now, the version I had was the most recent, so I guess an pdate came out in the last few weeks? The MPC-HC splitter has all of the same functionality I think so I'm happy sticking with that.

albain
14th December 2009, 09:16
Hello guys, I juste woke up

Great step forward !

We are close to the solution.

Actually whurlston, when you touch one of the values (channels for example), others must be modified in consequence :
nBlockAlign=nChannels*wBitsPerSample/8
nAvgBytesPerSec=nSamplesPerSec*nBlockAlign


The sample rate should be either 192000 : the HDMI rate or 96000 which is the encoded rate of DTS HD

I am going to release several test builds to narrow it down

FYI, the logs you sent me were very useful, because even if they did not contain any buffers there is this at the end :
WAVEFORMATEXTENSIBLE
subFormat : {0000000B-0CEA-0010-8000-00AA00389B71}
wSamplesPerBlock : 16
Valid bits per sample : 16

WAVEFORMATEX
wFormatTag : WAVE_FORMAT_EXTENSIBLE
Channels : 2
Bits per sample : 16
Samples per second :192000
nBlockAlign : 4

albain
14th December 2009, 09:23
Here they are :

Test build 1 (http://www.mediafire.com/file/z2mzn2nmj3w/ffdshow_rev3160_20091214_dbt_bitstream_beta55_2channels_channelmask0.exe) : 2 channels and channels mask to 0

Test build 2 (http://www.mediafire.com/file/yyyy4thmzym/ffdshow_rev3160_20091214_dbt_bitstream_beta55_channelmask0.exe) : channels mask to 0

If the tests are okay, we would like to try them on win7 to see if more renderers are working

whurlston
14th December 2009, 09:53
No luck with those builds. Graph stops as soon as I hit play. Starting it again gives me decoded PCM. I even lost TrueHD bitstreaming. It may be something on end though. It's 4am here so I'll try again tomorrow or and wait for rica's results.

Actually whurlston, when you touch one of the values (channels for example), others must be modified in consequence :
nBlockAlign=nChannels*wBitsPerSample/8
nAvgBytesPerSec=nSamplesPerSec*nBlockAlign

I tried playing with those as well but no luck. I know just enough to be dangerous don't I? :D

rica
14th December 2009, 12:54
Hi,

I have tested it on Win7 32bits.
Tonight i will test on Vista.

Thx,
Seb :)

You will need those steps for Vista ;)

Cheesegeezer
14th December 2009, 13:59
Hi Chaps,

i can't remember for the life of me but was there a working beta for Win7 x64 with ATI HD5xxx cards.

Thanks

Dave

Sebastiii
14th December 2009, 14:51
You will need those steps for Vista ;)

Hi,

Yes, but with TMT i don't use dpinpurr under vista too.
So maybe it works without it under Vista :)

Thx :)

mikelebron
14th December 2009, 15:07
Seems Shark007 is the only one who is releasing the newer builds as part of his codec pack. I was not a fan of codec packs but this one is VERY VERY good not proprietary at all. All settings can be altered, removed, etc.

http://shark007.net/ is where you can get the pack. He has ALSO included this ffdshow with HD Bitstreaming (the version committed to the trunk) as part of this latest release. Pretty exciting release, HD Audio for Haali, Bitstreaming for FFDSHOW...

Anyway, I have tested this out and I am now getting trueHD unfortunately I dont have any of the video/audio cards that can bit stream.

Mike

Do you have a link ?
Thx :)

Sebastiii
14th December 2009, 15:54
Thx mikelebron :)

renethx
14th December 2009, 17:42
It looks like GeForce 210/GT 220/GT 240 support Dolby Digital Plus bitstreams via the standard media type structure (PCM subtype, KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_DIGITAL_PLUS subformat). The *plus* sign intermittently lights up in my receiver. :) But only with Waveout or MPC audio renderer, and no sound yet. I will post logs later.

This supports the hypothesis that only compressed formats shown in the Sound control panel (under Windows 7) are able to be bitstreamed.

SamuriHL
14th December 2009, 17:48
Yes, otherwise the driver refuses it. I don't think there's any way without ATI support to get DD+ bitstreaming on ATI 5xxx cards.

73ChargerFan
14th December 2009, 18:45
http://shark007.net/ is where you can get the pack. He has ALSO included this ffdshow with HD Bitstreaming (the version committed to the trunk) as part of this latest release. Pretty exciting release, HD Audio for Haali, Bitstreaming for FFDSHOW...

CRAP! I tried it, using custom install to get only updated Haali (unistalled my copy first) and MPC-HC wouldn't use it for mkv. Trying my BD copy of The Mask with TrueHD, haali wouldn't recognize the audio streams, or the see TrueHD at all, or pass video.

And it refuses to uninstall! To get rid of it,
C:\Windows\System32\msiexec.exe /uninstall {8C0CAA7A-3272-4991-A808-2C7559DE3409}

albain
14th December 2009, 19:50
Hi,

is there any available and patient tester with an ATI 5xxx and vista to test bitstream of DTSHD ;)

(with the 2 test builds I posted above)

Thanks

Where can we get updated haali builds ?

mikelebron
14th December 2009, 20:12
So far Shrok007 is the only person I know who has access to the new builds... Maybe you can contact him to see where you can get them outside of his Codec Pack.

Hi,

is there any available and patient tester with an ATI 5xxx and vista to test bitstream of DTSHD ;)

(with the 2 test builds I posted above)

Thanks

Where can we get updated haali builds ?

clsid
14th December 2009, 20:30
Several people have access to it. I have had it for a few weeks now. I doubt that Shark has got it through official channels. Otherwise he would have known it is a private beta that shouldn't be redistributed to the public yet.

I'll send a link to Albain.

rica
14th December 2009, 21:22
Finally i've seen the blue light on my AVR's front panel on DTS-HD; it explains why i couldn't regenerate bitstreaming with 46 since i didn't use MPC Audio Renderer again :D

Here it's working on Vista: (beta 54 and MPC-HC Audio Renderer)

So we understand it's neither a driver issue nor a Splitter issue...

http://img707.imageshack.us/img707/9508/albainfinally.th.png (http://img707.imageshack.us/i/albainfinally.png/)


http://img36.imageshack.us/img36/7279/albainthelatest.th.png (http://img36.imageshack.us/i/albainthelatest.png/)

(remote graph connected to graphstudio)


LOG:

http://www.mediafire.com/?tj43n0wrydz

(the log shows 8 channels instead of 6 btw.)

albain
14th December 2009, 21:29
Thanks Rica, very good news. The MPC renderer was a good investment (of work) after all

Have you tried the 2 last betas with the other renderers ? I have reproduced what PDVD outputs.

nightfly
14th December 2009, 21:35
Albain,

Would it be possible to post on your front page post "known working configurations" along with how to setup ffdshow/mpc-hc? Along with what to do to help troubleshoot (tools & setup, required outputs, etc.)

I am running Win7 32bit. Xonar (release drv versions) with both TMT2 and TMT3 installed using build 1249 of MPC-HC. I registered the TMT3 version of its audio renderer. I have ffdshow set to use "xonar media types" with all codecs for passthrough selected in the output pane and in the codecs pane (enabled there). Using the Arcsoft Audio renderer in MPC-HC and "any filter" in ffdshow using Beta 54 of ffdshow.

I am having trouble with TrueHD. On KungFu Panda, the only title I've tested so far with THD, it works, until I do a fwd/rew and then no audio.

However on all the remainder of THD titles I've tested (darknight, brave one, the international) MPC-HC will just freeze and not play any video or audio. I am using the TMT2 arcsoft demuxer and video decoder. I've verified that the ffdshow filter is listed and is outputing THD over HDMI bitstream (via hovering over icon in sys tray). MPC isn't locked up, I am able to stop, move around in the track, but it never actually plays.

DTS-HD tracks play fine, no issues. And as with others, LPCM doesn't play. I have a temp fix for that by setting the TMT2 audio decoder with a slightly lower merit than ffdshow and for LPCM movies, MPC-HC just loads that and I am off and running.

After trying to play a THD title, I verify the pathway is working by trying TMT3 and that always works.

rica
14th December 2009, 21:37
Thanks Rica, very good news. The MPC renderer was a good investment (of work) after all

Have you tried the 2 last betas with the other renderers ? I have reproduced what PDVD outputs.

Not yet but i'll give it a go after making sure 46 is still working;)

Thanks.

rica
14th December 2009, 22:03
Now, i'm so comfortable now: i've just tested 46 with MPC-HC 1.3.1373 (where i left them on my second HDD) and done :p

Both HD formats gave me blu with MPC Audio Renderer :D :D

Here it's working on Vista: (beta 54 and MPC-HC Audio Renderer)

So we understand it's neither a driver issue nor a Splitter issue...


And nor a SW issue :rolleyes:


Now i'm free for testing the new builds of my friend.

nightfly
14th December 2009, 22:26
I'll try MPC-HC 1373 and see if that makes a difference.

DD/DTS bitstream fine. I have have just left the default of "all media types (default))" selected as that works fine for DD/DTS/DTS-HD. But I can't play any THD title, even KungFu Panda anymore. Once the title is loaded, nothing happens, blank screen and no audio. I switch to a non-LPCM/THD title and everything is back to normal.

I should mention that I have the xonar in "s/pdif" mode not "speakers" mode although the only difference in my experience (using TMT) was that I had to use s/pdif to get DD/DTS bitstreamed.

Would DebugView output or "output debug strings" be helpful in tracking down my issue(s)?

rica
14th December 2009, 22:33
nightfly,

i just wanted to prove changing MPC-HC version or changing some versions of ffdshow (46,53,54) doesn't effect the result.

I used the latest 1405 on my second disc with 54.

rica
14th December 2009, 22:36
albain, first trial build test results:
none of those renderers (including MPC A.R.) gives any sound or blu. (given it a shot only with DTSHD)

rica
14th December 2009, 22:59
Second test build results didn't change.

albain
14th December 2009, 23:06
Ok thanks

We'll stick on that for Vista, at least for now


I have committed the MPC renderer so now it is working and usable.
MPC team can make the ui part and bring improvements

rica
14th December 2009, 23:13
You're welcome and thanks for all your efforts.
I suppose (almost sure) the same combination is gonna work on Seven as well.

rica
14th December 2009, 23:47
Yes, it (54) works with both HD formats on Seven as well :) (with MPC Audio Renderer)

nightfly
14th December 2009, 23:50
nightfly,

i just wanted to prove changing MPC-HC version or changing some versions of ffdshow (46,53,54) doesn't effect the result.

I used the latest 1405 on my second disc with 54.


Thanks, and yes, build 1410 of MPC-HC made no difference. So I enabled "output debug strings" on the ffdshow info pane and ran debug view while starting KungFu Panda. I attached the logfile HTPC.7z.

It seems my problem is that ffdshow is switching from THD to EAC3 for some reason. Again, I want to emphasize that simply loading any other non-THD title and bitstreaming works fine with the exact same setup.


00000437 1.61114264 [1104] TaudioParser::getSupportedFormat this format is supported
00000438 1.61117995 [1104] TffdshowDecAudioInputPin : switching codec from bitstream Dolby True HD to bitstream EAC3
00000439 1.61130321 [1104] TffdshowDecAudioInputPin::Receive : Initialize audio codec bitstream EAC3

rica
15th December 2009, 00:04
Here are the setups of MPC-HC for bitstreaming HD:

http://img705.imageshack.us/img705/7190/001v.th.png (http://img705.imageshack.us/i/001v.png/)


http://img412.imageshack.us/img412/3429/002w.th.png (http://img412.imageshack.us/i/002w.png/)


http://img707.imageshack.us/img707/4551/003gu.th.png (http://img707.imageshack.us/i/003gu.png/)



http://img39.imageshack.us/img39/9213/004fi.th.png (http://img39.imageshack.us/i/004fi.png/)


And ffdshow audio decoder setup:

http://img710.imageshack.us/img710/2650/005i.th.png (http://img710.imageshack.us/i/005i.png/)




EDIT: BTW don't forget to register MPCaudioRendererFilter.ax before MPC-HC setup