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

Emilot
10th November 2009, 00:17
Hi albain, with the newest audio renderer and ffdshow, i get these:

No sound at all:

http://img69.imageshack.us/img69/2863/nosound.th.png (http://img69.imageshack.us/i/nosound.png/)


Noise/distortion only:

http://img692.imageshack.us/img692/9439/loudysound.th.png (http://img692.imageshack.us/i/loudysound.png/)

Trials were made with Ati 5770 and Denon 1910 using latest Ati drivers or with Realtek R235.

Thanks.

BTW MPC mpeg source doesn't want to connect to ffdshow but ACMWrapper so the chain would be: MPC mpeg source > ACM Wrapper > MPC Audio Renderer. (with/without ffdShow debugging enabled)

Another thing; both PDVD9 and TMT3 gives DD core (false; lets say basic ac3) audio when i use the same source file.

I think you should check 24bit and 32bit, at ffdshow output....or just try it....

rica
10th November 2009, 00:24
I think you should check 24bit and 32bit, at ffdshow output....or just try it....

thx; already given it a go.

liquidskin76
10th November 2009, 12:31
Hi Albain,

Just double checking... is the latest beta intended to bring bitstreaming to the Xonar card only (for the time being), or should it also bring bitstreaming to the ATi 5xxx and GeForce 9300/9400 HDMI Audio as well at this stage?

Just checking so the non-Xonar guys know whether to stand down at the moment or keep testing.

I'm cool either way as i have both a Xonar and GeForce 9300! :devil:

Thanks

tal.aloni
10th November 2009, 21:23
Hey Guys,
neb1236 has brought to my attention that I have forgot to implement one of the previous OSD features:
in the past, there was an ability to auto-hide the OSD after a predefined number of frames.

I have now implemented this feature:

http://iknowu.net/files/public/ffdshow/PresetOSD/AutoHideOSD.png

patch:
http://iknowu.net/files/public/ffdshow/PresetOSD/3130-AutoHideOSD.patch

build: (use it for OSD testing only, GCC dlls are not up to date)
http://iknowu.net/files/public/ffdshow/PresetOSD/ffdshow_rev3130_20091110-AutoHideOSD.exe

ryrynz
11th November 2009, 06:42
Feature Request:

I would love to see a "on directory match" preset for configuration loading.

albain
11th November 2009, 18:22
Finally,

here is the last FFDSHow HD bistream beta (http://www.mediafire.com/file/mymzgynumyn/FFDShow_HDbitstream_beta31_pack.zip)

Now the behaviour is "iso-TMT".

It is a pack that contains the MPC mpeg splitter updated to passthrough DTS HD streams (you have to register it)
There is also an updated version of the MPC renderer

Thanks for your feedbacks

THX-UltraII
11th November 2009, 18:41
Finally,

here is the last FFDSHow HD bistream beta (http://www.mediafire.com/file/mymzgynumyn/FFDShow_HDbitstream_beta31_pack.zip)

Now the behaviour is "iso-TMT".

It is a pack that contains the MPC mpeg splitter updated to passthrough DTS HD streams (you have to register it)
There is also an updated version of the MPC renderer

Thanks for your feedbacks

is this the version also for the ATI 4xxx-users so bitstreaming works?

Sebastiii
11th November 2009, 18:42
Finally,

here is the last FFDSHow HD bistream beta (http://www.mediafire.com/file/mymzgynumyn/FFDShow_HDbitstream_beta31_pack.zip)

Now the behaviour is "iso-TMT".

It is a pack that contains the MPC mpeg splitter updated to passthrough DTS HD streams (you have to register it)
There is also an updated version of the MPC renderer

Thanks for your feedbacks

Hi :)

Great , i want to test it quickly :)
Big Thx :)
Seb.

albain
11th November 2009, 19:25
is this the version also for the ATI 4xxx-users so bitstreaming works?

Not yet

albain
11th November 2009, 20:48
A few precisions on changes :

Improvements of the codec initialization : before FFDShow always published an uncompressed type in output then switched to SPDIF/bitstream. This could cause problems, especially with wasapi renderer that (for an unknown reason) refuses the multichannel PCM streams (which explains the recent failing tests)
TrueHD : the most complicated implementation, because silenses have to be inserted at a regular rate (but the rate depends on the size of the MLP frame). I applied a 1/12 ratio (close to TMT but I didn't figure out the exact rule). I hope that this is correct and won't bring audio gaps
DTS HD : implementation is correct (equal to TMT's)
EAC3 : done but I didn't have any EAC3 logs (I have to supply a sample to Sebastii)
Maybe it will work with the arcsoft audio renderer (as FFDShow tries different types including arcsoft's)

rica
11th November 2009, 21:44
Not yet

5*** series; should i try?

albain
11th November 2009, 21:58
5*** series; should i try?

Sure, this is made for them first :-)

rica
11th November 2009, 22:03
Sure, this is made for them first :-)

OK, you say it's my turn :thanks:

whurlston
11th November 2009, 22:37
EAC3 : done but I didn't have any EAC3 logs (I have to supply a sample to Sebastii)

I've got a 7.1 sample if you need it.

Sebastiii
11th November 2009, 22:45
Hi,

So MPC connect to ffdshow for me :)
But no bitstream for now is hard because your great Work.
Strange think is that i register mpegsplitter but i can't see it in filter.
Strange think too, if i use DTSHD sample when i play ffdshow in output in output DTS option is not check.

So this this the log :)

Log Beta31 and MPC renderer. (http://sebinternet.free.fr/LOG-Beta31.zip)

Thank :)
And yes if someone can find E-AC3 Bitstream sample for i can log it with TMT :)

Seb.

Sebastiii
11th November 2009, 22:58
I've got a 7.1 sample if you need it.

Hi, yes it would be great :)
Thx,
Seb

rica
11th November 2009, 23:01
Strange think is that i register mpegsplitter but i can't see it in filter.


I was about to post the same issue.
BTW if i build a graph with arcsoft mpeg demux, ffdshow never selects MPC audio renderer but default direct sound device.
(Tried with albain's THD sample.)

Skinleech
12th November 2009, 01:01
EAC3 : done but I didn't have any EAC3 logs (I have to supply a sample to Sebastii)

http://forum.doom9.org/showthread.php?p=1342354#post1342354

Didn't I put an eac3 log in my post? The DDPlus one?

Oh, and as for the mpeg splitter - register it then browse with the add external filters option to the .ax file to make it show up in MPC. Won't be able to test this until at least tomorrow night :(

Thanks again albain.

whurlston
12th November 2009, 01:27
Hi, yes it would be great :)
Thx,
Seb

PM sent.

rica
12th November 2009, 02:32
Oh, and as for the mpeg splitter - register it then browse with the add external filters option to the .ax file to make it show up in MPC.


Sorry but it seems to me impossible unless you see it in the filters list. Negative in advance...

rica
12th November 2009, 02:47
btw, albain please have an ati card asap:)
I told i bet albain would fix bitstream before Cyberlink. :)

SamuriHL
12th November 2009, 03:03
Yikes I missed a lot today. Sorry had lots going on today. I will try to look at this maybe later tonight if not tomorrow for sure. Nice work!

rica
12th November 2009, 03:10
Yikes I missed a lot today. Sorry had lots going on today. I will try to look at this maybe later tonight if not tomorrow for sure. Nice work!

Tomorrow would be better i think since albain might release a new beta.

Sebastiii
12th November 2009, 07:40
PM sent.

Thx :)
Seb.

albain
12th November 2009, 08:49
Hi Seb,

I have seen your logs and unlike SamuriHL who also has a 5xxx card the TrueHD media type is refused by the renderer.

Could you guys exchange together on this, it must be a driver issue.

I must admit that I am relieved because it is just not normal that you get no sound

About DTS HD, indeed there is a problem with MPC splitter that I built, because it has no filter category : here is the new one (http://www.mediafire.com/file/nnztnyj2mty/MpegSplitter.ax)
However, as for TrueHD your driver will refuse the mediatype, but I think it was the same for SamuriHL too

About EAC3, the sample we already have is a M2TS file but I have troubles to make a bluray structure with tsmuxer (it does not detect the audio stream). If someone has an idea or a BR sample with DD Plus...

00000295 2.42509866 [1780] TaudioParser::checkOutputFormat for codec bitstream Dolby True HD with sample format 256
00000296 2.42515683 [1780] Media Type Structure
00000297 2.42515683 [1780] Format type : FORMAT_WaveFormatEx
00000298 2.42515683 [1780] Sub type : MEDIASUBTYPE_PCM
00000299 2.42515683 [1780]
00000300 2.42515683 [1780] WAVEFORMATEXTENSIBLE :
00000301 2.42515683 [1780] subFormat : KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_MLP
00000302 2.42515683 [1780]
00000303 2.42515683 [1780] wSamplesPerBlock : 16
00000304 2.42515683 [1780] Valid bits per sample : 16
00000305 2.42515683 [1780]
00000306 2.42515683 [1780] WAVEFORMATEX :
00000307 2.42515683 [1780] wFormatTag : WAVE_FORMAT_EXTENSIBLE
00000308 2.42515683 [1780] Channels : 8
00000309 2.42515683 [1780] Bits per sample : 16
00000310 2.42515683 [1780] Samples per second : 192000
00000311 2.42515683 [1780] nBlockAlign : 16
00000312 2.42515683 [1780]
00000313 2.42521739 [1780] CMpcAudioRenderer::CheckMediaType
00000314 2.42526555 [1780] Media Type Structure
00000315 2.42526555 [1780] Format type : FORMAT_WaveFormatEx
00000316 2.42526555 [1780]
00000317 2.42531013 [1780] Sub type : MEDIASUBTYPE_PCM
00000318 2.42531013 [1780]
00000319 2.42536354 [1780]
00000320 2.42536354 [1780] WAVEFORMATEXTENSIBLE :
00000321 2.42536354 [1780] subFormat : KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_MLP
00000322 2.42536354 [1780]
00000323 2.42541194 [1780]
00000324 2.42541194 [1780] wSamplesPerBlock : 16
00000325 2.42541194 [1780] Valid bits per sample : 16
00000326 2.42541194 [1780]
00000327 2.42546058 [1780]
00000328 2.42546058 [1780] WAVEFORMATEX :
00000329 2.42546058 [1780] wFormatTag :
00000330 2.42550540 [1780] WAVE_FORMAT_EXTENSIBLE
00000331 2.42555833 [1780]
00000332 2.42555833 [1780] cbSize : 22
00000333 2.42555833 [1780] nAvgBytesPerSec : 3072000
00000334 2.42555833 [1780] Channels : 8
00000335 2.42555833 [1780] Bits per sample : 16
00000336 2.42555833 [1780] Samples per second : 192000
00000337 2.42555833 [1780] nBlockAlign : 16
00000338 2.42555833 [1780]
00000339 2.42560577 [1780] CMpcAudioRenderer::CheckAudioClient
00000340 2.42662287 [1780] CMpcAudioRenderer::CheckMediaType WASAPI client refused the format

Snowknight26
12th November 2009, 09:05
About EAC3, the sample we already have is a M2TS file but I have troubles to make a bluray structure with tsmuxer (it does not detect the audio stream). If someone has an idea or a BR sample with DD Plus...


Only one I know if is Transformers with a DD+ commentary track. Sample available here (http://stfcc.org/misc/transformers.sample.m2ts). The MPC-HC splitter doesn't see the E-AC3 track though.

albain
12th November 2009, 09:43
I found why DTS-HD is not accepted, the sample rate I pushed was not correct. It should be now with this new pack (http://www.mediafire.com/file/thtinrwcnwz/FFDShow_HDbitstream_beta32_pack.zip) (FFDShow updated, MPC splitter updated, same MPC audio renderer)

Also, I know also why the PCM types are refused by the renderer : this is because when FFDShow switches back to PCM mode when the HD bitstream format is refused, it will uncompress the TrueHD track and the PCM stream runs at 192Khz, which is too high.
So you have to enable the resample filter to downsample to 96 or 48khz and it will be accepted.

Or else there is LPCM format but I am not sure that HDMI 1.3 is able to transport more than 96khz uncompressed data.

@Snowknight26 : I will address this problem later to see how to detect the track (maybe haali is able to see it, not gabest's)

madshi
12th November 2009, 10:02
Or else there is LPCM format but I am not sure that HDMI 1.3 is able to transport more than 96khz uncompressed data.
It would be great if you could support LPCM bitstream, too. HDMI 1.0 already supported 7.1 192khz.

tal.aloni
12th November 2009, 10:29
About EAC3, the sample we already have is a M2TS file but I have troubles to make a bluray structure with tsmuxer (it does not detect the audio stream). If someone has an idea or a BR sample with DD Plus...

"The Sound of High Definition" Blu-Ray Had a few,
I kept "00026.m2ts" which is DD+ 7.1 Channe Test,
I'll try to upload it tonight, if I won't get arrested for sneaking into Nouriel Roubini's lecture this evening.

albain
12th November 2009, 10:33
The problem is to transform it to a Bluray structure because TMT won't bitstream with media files, only blurays (disc or folder structure).

Tsmuxer does this conversion (m2ts to BR structure) but does not recognize the EAC3 track.
Maybe there is another tool

Concerning LPCM, ffdshow already supports it, but I don't know when it is used. I *just* have to use the existing support when the input stream is HD bistream

Any 5xxx owner awake ? :thanks:

tal.aloni
12th November 2009, 10:36
Tsmuxer does this conversion (m2ts to BR structure) but does not recognize the EAC3 track.
Maybe there is another tool

yes, there is, TSRemux.

Sebastiii
12th November 2009, 10:37
I found why DTS-HD is not accepted, the sample rate I pushed was not correct. It should be now with this new pack (http://www.mediafire.com/file/thtinrwcnwz/FFDShow_HDbitstream_beta32_pack.zip) (FFDShow updated, MPC splitter updated, same MPC audio renderer)

Also, I know also why the PCM types are refused by the renderer : this is because when FFDShow switches back to PCM mode when the HD bitstream format is refused, it will uncompress the TrueHD track and the PCM stream runs at 192Khz, which is too high.
So you have to enable the resample filter to downsample to 96 or 48khz and it will be accepted.

Or else there is LPCM format but I am not sure that HDMI 1.3 is able to transport more than 96khz uncompressed data.

@Snowknight26 : I will address this problem later to see how to detect the track (maybe haali is able to see it, not gabest's)

Hi Damien,

Great news, so go to new test :)
My log for version 31 was made with Xonar Driver, if i use ATI HDMI, ffdshow show Bitstream when i move mouse on it (i haven't made log yet) but no sound.

I'll make test tonight, i'm at work, i can make test via TSE, but not on ATI HDMI card and i can't see if AVR show up the light with Xonar lol.

Seb :)

Thx :)

albain
12th November 2009, 10:43
Seb, you don't have a webcam starring on your receiver lights ;-) ??

From your logs, indeed the xonar will refuse the official truehd type and ffdshow will try others (including arcsoft), but I think there is a bug on that part because the MPC renderer don't see the updated types that are tried (the official one is still sent). I will check on this.

So a 5xxx is the way to go for now

Sebastiii
12th November 2009, 11:18
hi lol :)

I'll make test with ATI :)
I'll post log for DD+ in couple of minutes i think :)
Seb. :)

Vla le Log :)
Log EAC3 Bitstream (http://sebinternet.free.fr/bitstreamEAC3.zip)
Seb.

albain
12th November 2009, 12:44
Thanks, I have now brought support to EAC3 and fixed DTS-HD (there was another bug again)

Here is the FFDShow build (http://www.mediafire.com/file/mymegtnmytj/ffdshow_rev3128_20091112_dbt_bitstream_beta33.zip)

Those 2 formats are easier to bitstream than TrueHD.

Now : 1 FFDShow bitstream frame = 1 TMT frame for DTS-HD and EAC3, and for TrueHD silences are just not equally spaced

If this still does not work then the problem comes from the MPC audio renderer

SamuriHL
12th November 2009, 14:37
I'm up now and as soon as I get the handshaking to play nice I'll give it a shot. Gotta leave for a while in a few minutes but I'll be back later.

SamuriHL
12th November 2009, 14:46
Sorry my friend, but, DTS-HD MA is not working for me with the 5870. I get DTS and it detects it completely wrong when mousing over the tray icon.

DTS-HD MA: http://pastebin.com/pastebin.php?dl=d27c5448

SamuriHL
12th November 2009, 14:49
TrueHD: http://pastebin.com/pastebin.php?dl=d17b0cb54

Lights are on but no one's home. No audio. But at least there's some lights. :D

liquidskin76
12th November 2009, 14:59
@Albain,

Are these latest beta's aimed at getting HD bitstreaming working (at this stage of development) for the ATI 5xxx cards only, or are you aiming at the Xonar card as well?

I'm a little lost at where we are in the grand scheme of things!

Thanks

liquidskin76
12th November 2009, 15:03
@samuriHL,

Are you testing on your ATI 5xxx or Xonar, or both?

Thanks

SamuriHL
12th November 2009, 15:05
5870. I'm not testing it with the Xonar at all.

albain
12th November 2009, 15:23
Sorry my friend, but, DTS-HD MA is not working for me with the 5870. I get DTS and it detects it completely wrong when mousing over the tray icon.

DTS-HD MA: http://pastebin.com/pastebin.php?dl=d27c5448

Ok, the TrueHD log "sounds" good

Concerning the DTS-HD log, indeed you only get DTS because you don't have the last version of the MPC splitter (which strips off HD blocks) Please use this one (http://www.mediafire.com/file/nnztnyj2mty/MpegSplitter.ax) : register it and use graphstudio with "MPC - Mpeg source" filter.

About the Xonar, it should work with it as arcsoft media types are sent to the driver but Seb tried and didn't any good results.

So to summarize :
- the latest build claims to support HD bitstreaming on radeon 5xxx
- the xonar is supposed to be supported but tests are not good so far (but further tests are needed)
- the 4xxx series is not supported yet

liquidskin76
12th November 2009, 15:43
@Albain,

Thanks for the summary.

SamuriHL
12th November 2009, 16:20
Ok, the TrueHD log "sounds" good

Concerning the DTS-HD log, indeed you only get DTS because you don't have the last version of the MPC splitter (which strips off HD blocks) Please use this one (http://www.mediafire.com/file/nnztnyj2mty/MpegSplitter.ax) : register it and use graphstudio with "MPC - Mpeg source" filter.

About the Xonar, it should work with it as arcsoft media types are sent to the driver but Seb tried and didn't any good results.

So to summarize :
- the latest build claims to support HD bitstreaming on radeon 5xxx
- the xonar is supposed to be supported but tests are not good so far (but further tests are needed)
- the 4xxx series is not supported yet

That's odd. I reregistered them this morning with the latest versions. Anyway, I'll try again.

SamuriHL
12th November 2009, 16:33
Yea, no. Doing what you suggest hangs GraphStudio, I get no audio at all, and I have to kill the process.

SamuriHL
12th November 2009, 16:36
Managed to log what I could for that. This is a DTS-HD MA track run through graphstudio.

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

albain
12th November 2009, 17:32
The DTS HD format is accepted by the renderer

This is weird that graphstudio hangs...

liquidskin76
12th November 2009, 18:25
I've been doing some early test on my Xonar however i haven't had chance to test on my av receiver yet so i don't know the true outcome audio wise.

Doing just visual test on graphstudio i'm finding the TrueHD and DTS-HD MA files are playing ok. I'll let you what ffdshow is reporting the output as later (i'll do some test later tonight on my av reciever).

One thing i did notice is that if i have video decoding disabled in ffdshow, and use a decoder like CoreAVC, the audio renderer switches to the default directshow renderer in graphstudio. You have to manual switch renderer, whereas if you have video decoding enabled in ffdshow, the MPC audio renderer is automatically used.

One to note for later maybe?

Thanks

SamuriHL
12th November 2009, 18:44
The DTS HD format is accepted by the renderer

This is weird that graphstudio hangs...

Yea I don't get it. And it doesn't work in MPC-HC either. I guess I can try a different movie but I doubt it'll make any difference.

SamuriHL
12th November 2009, 18:50
So MPC-HC gives me just DTS (and the tray icon shows it as DD...yeaaaaaa). I tried another DTS-HD MA source in graphstudio and I get the same result. The tray icon shows DTS-HD and that it's bitstreaming but the receiver does nothing and the file hangs graphstudio. I'm sure I have the latest versions of everything you've given us so I don't know.