Log in

View Full Version : LAV Filters - DirectShow Media Splitter and Decoders


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 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511

VipZ
13th May 2011, 23:19
More reason for LAV Video :p

Portioli
13th May 2011, 23:30
"dtsdecoderdll.dll" of any build or tmt (even 5) or only TMT3.0185?

Nevcairel i think everybody is thankfull for that.

nevcairiel
13th May 2011, 23:33
I recommend TMT5, they finally fixed mono decoding in there. The dll version would be 1.1.0.8

Portioli
13th May 2011, 23:37
how we check this?

ok i found that

thanks

Mercury_22
13th May 2011, 23:50
I fixed it for now, will need some proper fix later.

Yes it's working now !:thanks:

Mark_A_W
14th May 2011, 02:48
- The ability to use the ArcSoft dtsdecoder directly through LAV Audio, just drop "dtsdecoderdll.dll" in the LAV Audio directory, and lean back for full DTS-HD enjoyment. On the LAV Audio status page, the ffmpeg decoder is called "dca", and the ArcSoft decoder is called "dts" (or postfixed with the profile), so you can see if its active.
.


I so owe you a beer. Thank you :)

This is really a big step forward - a one stop shop decoder (well, actually if you did a similar thing with madFlac it would be complete.)

If it's not using a directshow connection, does this mean I can use the version which will handle DTS-MA 6.1 with eac3to, and the 24 bit version with LAV Audio?

Or have you solved the 24bit issue with certain versions of dtsdecoder.dll?



I'm not sure of your future plans, but some tray icons would be handy :cool:

SamuriHL
14th May 2011, 03:03
Hell no! The next thing on the list should be title selection!!! :p Tray icons can come later. :D

jmone
14th May 2011, 03:12
Hell no! The next thing on the list should be title selection!!! :p Tray icons can come later. :D

I agree on both counts (in fact MC16 tries to turn off tray Icons to stop issues with them grabbing focus on some systems)

SamuriHL
14th May 2011, 03:15
(In case people don't get my humor, I of course know that Nev sets the priorities and that we are blessed with the work he's done. I in no way am suggesting that my "demand" is to be taken seriously. Nor am I delusional to think that my suggestion means jack ____. :) It's just a hope!)

Andy o
14th May 2011, 03:59
To guys with ATI Radeon HD 5XXX series and Onkyo receivers........
Do you really see the http://img811.imageshack.us/img811/8278/clipboard02eo.png light on the receiver while playing DD+ streams?

Are you by any chance using the Realtek driver?

Andy o
14th May 2011, 04:05
Thanks for this new feature Nev!

the version which will handle DTS-MA 6.1 with eac3to, and the 24 bit version with LAV Audio?

Or have you solved the 24bit issue with certain versions of dtsdecoder.dll?

Mark can you expand on this? I've used the Arcsoft decoder from 3.185 successfully with DTS-HD MA 6.1, the only difference with TrueHD is that it outputs 7.1, which is just fine since the receiver would do the same thing when getting 6.1 channels (duplicate the back channel).

ontherocks
14th May 2011, 04:49
Are you by any chance using the Realtek driver?
Nope, the native ATI HDMI audio driver.

renethx
14th May 2011, 05:04
@nevcairiel

Can do the same thing for DdpDec71.dll for DD+? Just for the sake of completeness. DD+ 7.1 test file (http://www.avsforum.com/avs-vb/showthread.php?p=19354466#post19354466).

Andy o
14th May 2011, 05:28
That would be great, since DD+ decoding for me breaks as soon as I seek within the file.

Andy o
14th May 2011, 05:30
Nope, the native ATI HDMI audio driver.

Don't know what's wrong then. Does it work with any other players? Although I don't know of any other that will bitstream with ATI cards.

jmone
14th May 2011, 05:32
Andy sorry - forgot to report my test on the DD+ 7.1 file. I have no issues with playback, seeking etc using LAVAudio (only outputs 5.1 of course + I only have a 5.1 system anyway). Rock Solid for me.

jmone
14th May 2011, 05:34
...also I've a ton of DD+ stuff from all my HD-DVD discs and these also play fine (though all are 5.1, no 7.1) with LAVAudio doing the decoding.

Andy o
14th May 2011, 05:43
We're talking about the Arcsoft decoder though, which is the only one that can decode 7.1 DD+. I also have no trouble with LAV and ffdshow on 5.1 files. Could you try the Arcsoft one, btw? I'd appreciate if someone could tell me if it's not only my system.

Andy o
14th May 2011, 05:55
Oh I didn't notice that you have only a 5.1 system. I'm thinking decoding that 7.1 file with Arcsoft you should also be able to get my trouble. C and R channels swap, and the surrounds are silent, once you seek.

jmone
14th May 2011, 06:01
OK gave it a go and it really is broken. It was kinda hard to test on a 2.0 system but I watched the MC DSP Analyser. While the channel mapping seemed OK if you played it though, a seek really does break the channel mapping including the Center going to the Right and all the surrounds dropping out. If you need me to I can run it up on the 5.1 HTPC.

jmone
14th May 2011, 06:03
...while this issue will not impact me on a 5.1 system..... is there any 7.1 DD+ material anyway?

Andy o
14th May 2011, 06:05
Just that test, I guess, but like renethx said... for the sake of completeness :). It's really not practically important, at least for now (who knows if when broadcasters start using DD+ some of them won't use 7.1), but it's just been annoying me that apparently I'm the only one having this problem.

jmone
14th May 2011, 06:07
Well I can confirm it is not just you!

whurlston
14th May 2011, 06:09
And my Denon 988. Just got a new AVR though a Yamaha V867 and will see how that pans out.

DD+ bitstreaming works fine with my 5670 -> RX-V863 (no reclock). I haven't tested with my RX-A3000 though.

jmone
14th May 2011, 06:19
Nevcairiel, i read with interest on P143 your testing of containers / codecs especially the issues with MKV's produced using mkvmerge and DTS. Are there any issues with DD+ and LPCM in MKV (I see you tested on TS but not MKV)?

The reason I ask is I've still got to convert my old HD-DVD's to a more friendly format (most have DD+ but some have DTS-HD), and to date non of the GUI options grab me as ideal:
1) TS or BD Stucture (eg Clown_BD): Get to keep any subs in PGS but all DD+ will be converted to DTS or LPCM
2) MKV (eg AnotherEAC3toGUI): Uses mkvmerge and the GUI seem to want to convert both the DD+ track to something else and the PGS subs get converted to VOBSUB

This is a task I want to do once so thanks for the testing as I had no idea of the issues with mkvmerge!

Andy o
14th May 2011, 06:29
Well I can confirm it is not just you!

Thanks. I set up my PC for 5.1 and it's a bit different than 7.1. With 5.1 my right channel doesn't go to center, it goes to left surround!

Andy o
14th May 2011, 06:43
I'm getting static with DTS-HD MA 2.0 and the Arcsoft dll. The LAV decoder status says "dts" only. 5.1 and 7.1 work fine with LAV. The Arcsoft decoder does decode 2.0 OK.

This is an audio mka sample, it's the same with mkv videos.

http://www.megaupload.com/?d=CSCFJ85R

jmone
14th May 2011, 07:04
I'm getting static with DTS-HD MA 2.0 and the Arcsoft dll. The LAV decoder status says "dts" only. 5.1 and 7.1 work fine with LAV. The Arcsoft decoder does decode 2.0 OK.

This is an audio mka sample, it's the same with mkv videos.

http://www.megaupload.com/?d=CSCFJ85R

I can also confirm, that under LAVAudio
1) Plays fine using avcodec
2) Plays static using dtsdecoderdll

nevcairiel
14th May 2011, 07:48
If it's not using a directshow connection, does this mean I can use the version which will handle DTS-MA 6.1 with eac3to, and the 24 bit version with LAV Audio?

The limitations were in the DirectShow component, and you're free to use whatever version of the decoder you want.

What issues with 6.1, btw? The latest version, 1.1.0.8, decodes 6.1 just fine, except that it double the back center to both back left and right (making it 7.1) - but me personally, since i dont have a back-center anyway, thats welcome. :p



Can do the same thing for DdpDec71.dll for DD+? Just for the sake of completeness. DD+ 7.1 test file (http://www.avsforum.com/avs-vb/showthread.php?p=19354466#post19354466).
Thats too much work for too little benefit. There is barely any 7.1 material, and its kinda alot of work to figure out how a dll works if you know nothing about it.

Andy o
14th May 2011, 07:53
Sorry, that sample is only DTS 2.0, there's another title with the same video but DTS-HD MA 2.0 audio so I mixed them up. The following sample (different one) is DTS-HD MA 2.0 with the surround flag on. This static problem also happens with this sample.

Also, bitstreaming this sample, people with Pioneer receivers can check if their receivers need a firmware update. Receivers like mine (VSX-01) and as new as the 2010 generation (VSX-21 and others) are reported to have this issue. This is rare audio, as far as I know only recently available with Criterion releases of older stereo movies. It's not the same as regular DTS-HD MA 2.0, which works correctly.

http://www.megaupload.com/?d=QDXF3P2V

Mark_A_W
14th May 2011, 08:31
The limitations were in the DirectShow component, and you're free to use whatever version of the decoder you want.

What issues with 6.1, btw? The latest version, 1.1.0.8, decodes 6.1 just fine, except that it double the back center to both back left and right (making it 7.1) - but me personally, since i dont have a back-center anyway, thats welcome. :p



Thats too much work for too little benefit. There is barely any 7.1 material, and its kinda alot of work to figure out how a dll works if you know nothing about it.

From memory, an early version would just ignore the 6th channel - at least in eac3to.

Doubling the back centre to make 7.1 is perfect.

What does 1.1.0.7 do?

nevcairiel
14th May 2011, 08:36
I'm getting static with DTS-HD MA 2.0 and the Arcsoft dll. The LAV decoder status says "dts" only. 5.1 and 7.1 work fine with LAV. The Arcsoft decoder does decode 2.0 OK.

This is an audio mka sample, it's the same with mkv videos.

http://www.megaupload.com/?d=CSCFJ85R

Fixed. It still says only "dts", but so does LAV Splitter, are you sure its actually HD? :p

It decodes fine now, though. The problem was that the ArcSoft decoder is outputting 16-bit for that file, and that totally confused my code.

Edit: Your actual HD file works, too.

Gleb Egorych
14th May 2011, 08:36
nevcairiel, thanks for that great dts addition!

I have a question about TrueHD. LAV Audio requires TrueHD subtype from a splitter to decode TrueHD and LAV Splitter gives it. But Haali and Gabest splitters send TrueHD with AC3 subtypes and in this case LAV Audio decoding fails. Could you please fix this if it doesn't require a lot of rework?

nevcairiel
14th May 2011, 08:38
I have a question about TrueHD. LAV Audio requires TrueHD subtype from a splitter to decode TrueHD and LAV Splitter gives it. But Haali and Gabest splitters send TrueHD with AC3 subtypes and in this case LAV Audio decoding fails. Could you please fix this if it doesn't require a lot of rework?

TrueHD is *NOT* AC3, its not even related to it, i do not know how they ever came up with the idea to use the AC3 subtype. Use a splitter that actually knows how to deal with TrueHD, and you won't have those problems.
The only thing they have in common is that both are Dolby products...

It'll be fixed eventually, but not so soon.

From memory, early version would just ignore the 6th channel - at least in eac3to.

Doubling the back centre to make 7.1 is perfect.

What does 1.1.0.7 do?

Here is a 6.1 sample, at least the volume status page in LAV Audio shows audio coming out of the back channels (with 1.1.0.8), can't say about .7, feel free to try it.

http://www.multiupload.com/YML3MLBPYP

jmone
14th May 2011, 10:53
Nevcairiel, i read with interest on P143 your testing of containers / codecs especially the issues with MKV's produced using mkvmerge and DTS. Are there any issues with DD+ and LPCM in MKV (I see you tested on TS but not MKV)?

The reason I ask is I've still got to convert my old HD-DVD's to a more friendly format (most have DD+ but some have DTS-HD), and to date non of the GUI options grab me as ideal:
1) TS or BD Stucture (eg Clown_BD): Get to keep any subs in PGS but all DD+ will be converted to DTS or LPCM
2) MKV (eg AnotherEAC3toGUI): Uses mkvmerge and the GUI seem to want to convert both the DD+ track to something else and the PGS subs get converted to VOBSUB

This is a task I want to do once so thanks for the testing as I had no idea of the issues with mkvmerge!

OT and FYI - I leaning towards converting all my HD-DVD's to a BD stucture on the HDD (using Clown) and converting all DD+ tracks to LPCM. The results play perfectly with LAVSplitter/Decoder including Subs and Chapters with no transcoding issues for the Audio. The only downside is the extra space that LPCM takes up over DD+ but...it ain't that much anyway. The other "benefit" is you can then burn the structure to a BD disc if you need to play it back in a BD player.

nevcairiel
14th May 2011, 10:58
I dunno why it converts the Subs to VOBSUB, PGS is fine in MKV .. on another note, doesn't HD-DVD use extended VOBSUBs, and not PGS?

Anyhow, you could also use FLAC in MKV.

PS:
The DTS in MKV by mkvmerge "problem" isn't really a problem, its just not perfect.
I have been thinking about just turning the logic off for DTS in MKV, or at least relaxing it even more.

Not that it bothers me much, i think i have 2 actual MKVs with DTS-HD, i usually keep all my HD movies either as BD structure or just keep them on the BD disc. ;)

jmone
14th May 2011, 11:16
I was under the understanding the HD-DVD also used PGS but the format was a slightly different implementation and the clownBD calls BDSup2Sub (".sup" "/res:1080") to convert the extracted Subtitle.SUP file to one of a similar size that is then muxed back in.

nevcairiel
14th May 2011, 11:18
What i could find on the topic is that HD-DVD either uses default DVD VOBSUBs, or an extended version with more colors.

jmone
14th May 2011, 11:36
Yeah, don't know - but asked the Q over at the BDsup2sub thread - http://forum.doom9.org/showthread.php?p=1500776#post1500776

madshi
14th May 2011, 11:37
HD DVD (without a hyphen!) uses an extended version of DVD subtitles.

jmone
14th May 2011, 11:57
HD DVD (without a hyphen!)

Stand corrected!

Gleb Egorych
14th May 2011, 12:54
There are some compatibility issues between LAV Audio and standard AVI splitter. Tested on many AVI samples with MP3 tracks. After multiple seeks LAV Audio often needs a few seconds to resync with video. On one sample I even get crash after multiple seeks.
Problem signature:
Problem Event Name: APPCRASH
Application Name: zplayer.exe
Application Version: 8.0.0.0
Application Timestamp: 2a425e19
Fault Module Name: avcodec-53.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4dcd872f
Exception Code: c0000005
Exception Offset: 001cb65d
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1049
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Unfortunately, the sample file is quite big.

If I use LAV Source as source filter and splitter then the problems don't occur.

nevcairiel
14th May 2011, 13:08
I cannot reproduce any problems with the default AVI splitter, sync seems fine instantly, no matter how often i seek. Unless you can produce one specific sample, there isn't anything i can do.
Besides, just use LAV. :)

PS:
Maybe the situation improved in my development version already, who knows.

Mark_A_W
14th May 2011, 13:14
Here is a 6.1 sample, at least the volume status page in LAV Audio shows audio coming out of the back channels (with 1.1.0.8), can't say about .7, feel free to try it.

http://www.multiupload.com/YML3MLBPYP


Interesting. The Splitter Filters confirms it's 7 channels (6.1), but watching the LAV Audio decoder levels meters, I'd swear it was 7.1.

It doesn't look to be just copying the two back channels, every surround channel seems to have a slightly different signal (unless the meters are misleading).

Whereas, if I play a 5.1 source, the side channels are inactive.


Anyway 1.1.0.7 works.

Funky video BTW ;)

nevcairiel
14th May 2011, 13:29
Interesting. The Splitter Filters confirms it's 7 channels (6.1), but watching the LAV Audio decoder levels meters, I'd swear it was 7.1.

Yeah, thats after decoding, of course, and the decoder creates 8.


Funky video BTW ;)
Heh, someone posted that for another issue a while back.

Mark_A_W
14th May 2011, 13:50
Yeah, thats after decoding, of course, and the decoder creates 8.



I realise that. What was interesting was that it is performing some sort of processing to create the channels, not just copy the Centre Back channel to BR and BL.

Wish I could get ffdshow to do that for my FLAC 5.1 stuff...grrr...

noee
14th May 2011, 14:11
Nope, the native ATI HDMI audio driver.

Check the docs on your receiver. Even if it's not showing the DD+ symbol, it may still be receiving the format properly. Apparently, depending on DD+ input source, the DD and DD+ are treated the same, at least on Onkyo.

Andy o
14th May 2011, 14:50
Wish I could get ffdshow to do that for my FLAC 5.1 stuff...grrr...
Why not use DPLIIx for 5.1 content? I'm using it and it works fine.

marconi
14th May 2011, 17:04
I am reinstalling Win7 64 on my HTPC. When I use the version 0.25 x86/x64 LAV installer a message pops up asking me to install the x86 version of VC++2010 Runtime (the 64 bit version is already installed thanks to AMD Catalyst). In my last build I did this, but then ran into errors with AMD Catalyst when I upgraded the driver to 11.5. Any suggestions on how to proceed? Apart from the Catalyst errors, the LAV filters worked very well with MPC-HC.

nlnl
14th May 2011, 17:29
nevcairiel

Thanks for LAV!

Still can not play dts hd ma 2.0 audio in mkv http://www.multiupload.com/FJ7YOCNC6M
MPC+LAV splitter+LAVaudio (bitstream) + system renderer= static noise when switching audio tracks
MPC+Halii+LAVaudio (bitstream) + system renderer= OK
MPC+LAV splitter+LAVaudio (bitstream) + Audio Switcher + system renderer= OK

And if I remux everything in .ts, I have the same issue.