Log in

View Full Version : ffdshow tryouts project: Discussion & Development


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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 [184] 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308

albain
12th November 2009, 19:13
Have you tried to play a regular DTS/DD File and do you get any sound with it ?

Also have you tried TrueHD and DD+ ?

SamuriHL
12th November 2009, 22:49
I haven't tried core audio, no. TrueHD didn't do much for me. DD+ crashes graphstudio when I try to select it. sigh. Can't even build the graph on that one. Awesome.

rica
13th November 2009, 00:52
I've tried with your THD sample albain.
And i got core ac3 as stereo.
DTS-HD trials didn't work for me.

Samuri, i'd be appreciated if you upload your dtshd sample.

rica
13th November 2009, 01:00
So it would be great guys if we give it a go with the same sample files.

SamuriHL
13th November 2009, 01:03
I've tried with your THD sample albain.
And i got core ac3 as stereo.
DTS-HD trials didn't work for me.

Samuri, i'd be appreciated if you upload your dtshd sample.

Sample? Yea, about that. :) It's a freaking movie! :) I figure no guts no glory here. I ain't using some wussy couple of hundred megs of sample stuff here! We're talking full on 30 gig m2ts file in a BD structure mounted using VCD!! :D As for TrueHD and EAC, I use the samples albain provided plus a TrueHD movie of my own. I just load up the m2ts from the mounted drive and away we go.

SamuriHL
13th November 2009, 01:14
Hey, uh, albain....I had a DTS-HD MA mkv someone must have posted a few days ago sitting in my download dir. So I gave it a shot. Yea, um, I get DTS-HD MA lights on the receiver. No audio, but, here's a log man. :)

http://pastebin.com/pastebin.php?dl=d42ba3caf

tal.aloni
13th November 2009, 09:06
as promised, Here is another DD+ sample:

(DD+ 7.1 Channel Test, untouched, From "The Sound of High Definition" Blu-Ray)

http://iknowu.net/files/public/Samples/00026%20-%20DD+%207.1%20Channe%20Test.m2ts

and here is another untouched TrueHD sample:

http://iknowu.net/files/public/Samples/00009%20-%20TrueHD%20Introduction.m2ts

(p.s. I have some DTS-HD MA samples as well)

GaBBa-Gandalf
13th November 2009, 14:25
Hi Guys...

I have been following this intressting topic now for few weeks....
It`s amazing what u guys are doing... !

######################################

I have also a HTPC with an iGPU - 9300 (nvidia)...
Unfortunately there are the same problems with the new hd-sound formats.

I read something about how you shouldn't use the haali media splitter... Is that truth?

Which version of all needed tools (MPC-hc, ffdshow tryout, etc.) should I use to test TrueHD or DTS-HD with my system? Before I forget.. I have a Denon avr 2309.

greetz,
GaBBa

liquidskin76
13th November 2009, 16:06
@Albain,

Tested latest beta kit with my Xonar. I get different result when testing through GraphStudio and MPC-HC. Double checked and both are using your version of MPC audio renderer.

MPC-HC

TrueHD

With TrueHD passthrough enabled the file plays ok however i get 2 channel LPCM, which keeps skipping or breaking up. FFDShow reports output as 48000Hz, 6 channels 16-bit integer.

Here's the log... http://pastebin.com/pastebin.php?dl=m37e5646f

With TrueHD passthrough disabled, same results. It's not decoding and outputting as LPCM as it normally would do.

Here's the log... http://pastebin.com/pastebin.php?dl=m46bd667

DTS-HD MA

With DTS-HD passthrough enabled the file plays ok however i get 2 channel LPCM, which plays ok. FFDShow reports output as 48000Hz, 6 channels 16-bit integer.

Here's the log... http://pastebin.com/pastebin.php?dl=m2c22e815

With DTS-HD passthrough disabled i get the DTS core as normal. This plays fine.


GraphStudio

TrueHD

With TrueHD passthrough enabled, the file plays ok however i get no audio. My av receiver's display keeps flashing up with 2 channel LPCM every few seconds.

Here's the log... http://pastebin.com/pastebin.php?dl=m48ddc2

With TrueHD passthrough disabled, same results. Again it's not decoding and outputting as LPCM as it normally would do.

Here's the logs... http://pastebin.com/pastebin.php?dl=m3cfc598f

DTS-HD MA

With DTS-HD passthrough enabled, same result as TrueHD.

Here's the log... http://pastebin.com/pastebin.php?dl=m7b5418f6

With DTS-HD passthrough disabled, i get DTS core however no audio. Again my av reciever's display flashes up DTS every few seconds.

Thanks

albain
13th November 2009, 17:47
Hi,

@liquidskin : in both cases (TrueHD/DTSHD) the format is refused by your audio driver. Try to communicate with SamuriHL or Sebastii who got it working on their radeon 5xxx (you're using a radeon 5xxx right ?)


The status : FFDShow is okay since yesterday (in the last beta 31 build), for DTSHD, EAC3 and TrueHD. I mean that the bitstream is correct

So if you guys don't get any sound, then the problem comes from the wasapi renderer.

I have built a new one with a different approach (event driver, but I will spare the details). This approach doesn't work on my system but this is a audio driver matter.

Here is the link (http://www.mediafire.com/file/nyyyjjmwjf0/MpcAudioRendererFilter.ax)

SamuriHL
13th November 2009, 17:50
I'll give it a shot in just a bit. Will logs help if it doesn't work?

albain
13th November 2009, 18:19
I'll give it a shot in just a bit. Will logs help if it doesn't work?

Yes thanks

SamuriHL
13th November 2009, 18:34
Lights are on but no sound. :(

DTS-HD MA: http://pastebin.com/pastebin.php?dl=d32c082bc
TrueHD: http://pastebin.com/pastebin.php?dl=d168ce9c5

EAC3 crashes MPC-HC and GraphStudio, so, um, that's ungood. As in just trying to select the file crashes it hardcore. No idea what's up with that.

albain
13th November 2009, 19:06
Okay, I have tested on my HTPC and even on regular AC3/DTS files I have no sound although the wasapi mode is correctly set

I should be able to work on this on my own

SamuriHL
13th November 2009, 19:07
Ok. Let me know when you want me to run more tests.

Skinleech
13th November 2009, 19:15
The tests didn't go well for me. True HD & DDPlus played jerkily as PCM, DTS played but with no sound.

TrueHD 1: http://pastebin.com/fec7ef43
TrueHD 2: http://pastebin.com/d320405a4
DDPlus: http://pastebin.com/fb1e3471
DTS-HD: http://pastebin.com/d7c51ab1e

SamuriHL
13th November 2009, 19:18
What are you running for a card and what driver are you using? I'm sure you've mentioned it before but I'm too lazy to look. :)

Skinleech
13th November 2009, 19:19
What are you running for a card and what driver are you using? I'm sure you've mentioned it before but I'm too lazy to look. :)

The Xonar with driver set 1775.

SamuriHL
13th November 2009, 19:20
I refuse to install that driver. I've seen lots of issues with it. But that's good to know. I tried with my Xonar briefly and got nothing good for results, as well.

Skinleech
13th November 2009, 19:23
Really? It's working fine for me, though I do seem to have some handshaking issues. If it happens though, I just fire up RealVNC and refresh my powerstrip 23.976 settings and it's fine.

Seems the Xonar is giving us all the same results which is something I guess.

SamuriHL
13th November 2009, 19:26
The handshaking thing is always a problem. I have saved off a complicated fix for it and will try it when I have time. But yea, numerous people have had problems with that driver, and me being lazy hadn't gotten around to installing it yet. So, I didn't bother after I read about all the bitstreaming issues people were having.

mrcorbo
13th November 2009, 19:29
Has anyone with a Xonar tried the latest beta with the ArcSoft Renderer?

SamuriHL
13th November 2009, 19:32
I haven't. That's a good idea. I'll see what I can do in a bit.

Skinleech
13th November 2009, 19:43
Has anyone with a Xonar tried the latest beta with the ArcSoft Renderer?

Nope - but I will just now!

SamuriHL
13th November 2009, 19:45
Ah, ok, if you're going to do it I'll hold off so I don't have to switch back to the Xonar.

Skinleech
13th November 2009, 19:52
DTS HD played back as DTS. True HD and DDPlus played as PCM.

Albain - would logs be useful at all?

Jeff Flowerday
13th November 2009, 21:08
Hi Guys...

I have been following this intressting topic now for few weeks....
It`s amazing what u guys are doing... !

######################################

I have also a HTPC with an iGPU - 9300 (nvidia)...
Unfortunately there are the same problems with the new hd-sound formats.

I read something about how you shouldn't use the haali media splitter... Is that truth?

Which version of all needed tools (MPC-hc, ffdshow tryout, etc.) should I use to test TrueHD or DTS-HD with my system? Before I forget.. I have a Denon avr 2309.

greetz,
GaBBa

Bitstreaming won't work with your iGPU, if that is what you are trying to do? You would need the new 5 series ATI or Xonar HDAV 1.3.

liquidskin76
13th November 2009, 21:43
Hi,

@liquidskin : in both cases (TrueHD/DTSHD) the format is refused by your audio driver. Try to communicate with SamuriHL or Sebastii who got it working on their radeon 5xxx (you're using a radeon 5xxx right ?)

@Albain,

No, i'm testing on a Xonar.


DTS HD played back as DTS. True HD and DDPlus played as PCM.

Similar to what i'm getting, however with Albain's MPC audio renderer.

@Skinleech,

See my result in post #9159. Are you seeing the same with Albain's MPC audio renderer, and the Arcsoft renderer?

Cheers

Skinleech
13th November 2009, 21:45
lmost, but not quite. I seem to get multichannel PCM on TrueHD, and nothing on DTS-HD using Albain's renderer.

Using Arcsofts, it plays as per my post you quoted.

GaBBa-Gandalf
13th November 2009, 22:48
@ Jeff Flowerday

Thanks for your answer ;)

If it really should work with a 5xxx series ATi/AMD card than I would buy that for my htpc...

greetz

GaBBa (From Germany ;))

rica
13th November 2009, 23:14
I can't connect ffdshow to MPC audio renderer.

Andy o
14th November 2009, 01:02
Bitstreaming won't work with your iGPU, if that is what you are trying to do? You would need the new 5 series ATI or Xonar HDAV 1.3.

Someone here (http://www.avsforum.com/avs-vb/showthread.php?p=17515135#post17515135) says he's got DD+ bitstreaming working with an Nvidia GT220 card, which should have the same HDMI device as the 8200/8300 and 9300/9400. Anyone else got DD+ working? I haven't seen it mentioned here, maybe I missed it.

SamuriHL
14th November 2009, 01:03
Someone here (http://www.avsforum.com/avs-vb/showthread.php?p=17515135#post17515135) says he's got DD+ bitstreaming working with an Nvidia GT220 card, which should have the same HDMI device as the 8200/8300 and 9300/9400. Anyone else got DD+ working? I haven't seen it mentioned here, maybe I missed it.

I've mentioned several times that DD+ crashes MPC-HC and GraphStudio for me. Awesome. :) So no, I haven't gotten that to work.

madshi
14th November 2009, 12:16
Someone here (http://www.avsforum.com/avs-vb/showthread.php?p=17515135#post17515135) says he's got DD+ bitstreaming working with an Nvidia GT220 card
No, he did not. He's got DD bitstreaming working.

I still don't think that DTS-HD, TrueHD and E-AC3 bitstreaming will ever work on anything other than ATI 5xxx and Xonar (and maybe next year's new NVidia generation), but I'll be happy enough if albain proves me wrong... :p

SamuriHL
14th November 2009, 16:01
No, he did not. He's got DD bitstreaming working.

I still don't think that DTS-HD, TrueHD and E-AC3 bitstreaming will ever work on anything other than ATI 5xxx and Xonar (and maybe next year's new NVidia generation), but I'll be happy enough if albain proves me wrong... :p

Have faith. :D

Andy o
14th November 2009, 17:35
I've mentioned several times that DD+ crashes MPC-HC and GraphStudio for me. Awesome. :) So no, I haven't gotten that to work.

No, he did not. He's got DD bitstreaming working.

I still don't think that DTS-HD, TrueHD and E-AC3 bitstreaming will ever work on anything other than ATI 5xxx and Xonar (and maybe next year's new NVidia generation), but I'll be happy enough if albain proves me wrong... :p

Yeah, someone pointed that out at that thread. I had the HD-DVD version of Corpse Bride in my head, so I didn't notice the context menu languages/formats.

SamuriHL
14th November 2009, 17:37
Yup. No DD+ on that one. DD/DTS bitstreaming has been working for a while now (well, until the latest renderer change anyway). I'm hoping albain has some good ideas on how to fix the renderer so we can get bitstreaming working for HD codecs soon.

Andy o
14th November 2009, 19:31
There was some confusion on that thread, on my part as well. Trailergod first said (http://www.avsforum.com/avs-vb/showthread.php?p=17506757#post17506757) he could get DD+ (right now waiting for his reply) and then I asked him what card he was using, then Nimo made that post I linked above in reply, in which he didn't mean DD+, just DD.

albain
14th November 2009, 20:03
Hi,

I am in a situation when the old renderer worked (with audio gaps/jitter) at least for AC3 and not the new one and I don't know why (luckily I have both sources):
http://damienbt.free.fr/MpcAudioRendererFilter_old_working.ax

Maybe you can try bitstream with the latest ffdshow I posted, otherwise you could try reclock too

Thanks

SamuriHL
14th November 2009, 20:27
Didn't we already try the old renderer and we got no sound? And ReClock won't accept the bitstream formats. So, we're at an impasse.

mrcorbo
14th November 2009, 20:47
Yeah, this is something I can test....

Going back to the renderer that was in the beta 20 pack, I can get ac3 to bitstream with audio gaps and jitter, but only when DebugView is running. As before, this behavior is repeatable. Obviously, this is odd behavior. Maybe it's timing related?

My experience with the WASAPI+exclusive implementations of J. River Media Center, Foobar and ReClock show that WASAPI+exclusive is very sensitive to buffer size. To the degree that a buffer that is 1 ms too large can break it in J. River's implementation.

SamuriHL
14th November 2009, 20:48
James said the same thing in relation to ReClock, so, that's very possible as to what's going on.

mrcorbo
14th November 2009, 20:53
BTW - This last "old" renderer skips much worse than the beta 20 one. It still only bitstreams when DebugView is running, though.

rica
14th November 2009, 21:49
Hi,

I am in a situation when the old renderer worked (with audio gaps/jitter) at least for AC3 and not the new one and I don't know why (luckily I have both sources):
http://damienbt.free.fr/MpcAudioRendererFilter_old_working.ax

Maybe you can try bitstream with the latest ffdshow I posted, otherwise you could try reclock too

Thanks

I'm really confused.
Why do i try non-working renderers again?

albain
15th November 2009, 00:17
I'm really confused.
Why do i try non-working renderers again?

Well because FFDShow is now fixed : TMT and ffdshow streams are identical. We just miss a working renderer.

But now I remember that the old renderer was not able to dynamically change of media type.

James from Slysoft already gave me some tips. I also have a working sample app (but which does not use directshow)

Also if someone has hints/sample code I take it

Meanwhile I will go on trying different things until a clear sound comes out

SamuriHL
15th November 2009, 00:21
Hopefully you're able to figure it out soon.

mark0077
15th November 2009, 00:30
Hi thanks all for working so hard

it just strikes me though that should it be so tricky to get all of this working. What I mean is there not any specs available. Is this the reason why it is down to trial and error.

Keep up the good work albain

SamuriHL
15th November 2009, 00:32
The fact that he got the bitstreaming support done is remarkable. It's just now how to pass through the bitstream to the receiver. For that you need a WASAPI audio renderer. That's easier said than done. He's working on it. :) Quite simply, what albain has accomplished so far is nothing short of amazing.

rica
15th November 2009, 01:30
Nobody is helping albain but madhsi and james gives support to him.
So we are waiting as passive testers for the time being.

SamuriHL
15th November 2009, 01:32
Unfortunately I don't know anything about this kind of code. Madshi, James, and albain are the experts here. So yes, we're just waiting unfortunately. Wish I had the time to learn this code.