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

hoborg
25th October 2011, 20:39
That is a strange...
Here on WinXP i have correct graph - LAV splitter -> LAV audio decoder -> Audio renderer, home on Win7 LAV audio is missing.
BTW, i was able to make it working on Win7.
I must remove "{00000001-0000-0010-8000-00AA00389B71}"="{0F40E1E5-4F79-4988-B1A9-CC98794E6B55}" key from DirectShow Preferred registry key.
Now DS add LAV audio decoder to graph and it is working just fine :)

Andy o
25th October 2011, 21:06
Bah, the new "WHQL" (which means something about "hadware quality" testing) 285.62 drivers is giving me a black screen on Media Center, and it seems it's a common theme, from googling. Back to 285.38 BETA.

nevcairiel
25th October 2011, 21:11
No issues with them whatsoever, behaviour with madVR even improved some.

rica
25th October 2011, 22:28
Hi nev,

I've been trying to get wasapi exlusive BITEXACT over ReClock with Lav Filters.

Here is my HW, SW:

GeForce GTX 550 TI on Clarkdale (i3 540/H55)
nVidia driver version: 280.26
TMT5 5.0.1.114, MPC-HC 1.5.3.3757 with LAV Filters v. 0.37, ReClock 1.8.7.7...
Media: Chris Botti Live; the unique 96/24/5.1 PCM source i can find out yet...


Here is how to configure my MPC-HC:

Internal filters: completely disabled while lav fiters are enabled and preferred on external filters section.



Here is the chain on MPC-HC:


http://img573.imageshack.us/img573/8008/graphchain.png (http://imageshack.us/photo/my-images/573/graphchain.png/)


And if you notice ReClock only detect WASAPI Exclusive but not bitexact:

http://img213.imageshack.us/img213/8145/mpcwithlavaudio.png (http://imageshack.us/photo/my-images/213/mpcwithlavaudio.png/)


While it detects Wasapi exclusive[B] bitexact on TMT 5: (I uploaded a BDMV, please create an ISO with ImageBurn and open it on Virtual Clone Drive's fake driver. Otherwise TMT downsamples it to 48/6/16...

http://img832.imageshack.us/img832/2651/tmt5withlavaudio.png (http://imageshack.us/photo/my-images/832/tmt5withlavaudio.png/)

Here is the sample file:

http://www.mediafire.com/?26z6a1w3lkia68a


Could you have a look at?

EDIT: I've met this issue only with PCM unmolested streaming, no issues with DTS HD or THD bitsreaming.

LATEST EDIT: Fixed:

[url]http://forum.doom9.org/showthread.php?p=1534340#post1534340[/url

_ _ _ _ _



FYI:

I've explored i have no issues with bitexact streaming of 96/24 PCM via GraphStuff:

http://img84.imageshack.us/img84/1787/0002e.png (http://imageshack.us/photo/my-images/84/0002e.png/)


On the other hand same graph chain running behind MPC-HC svn 3757 gave only wasapi exlusive (non-bitexact) in anyhow:



http://img828.imageshack.us/img828/1165/0004g.png (http://imageshack.us/photo/my-images/828/0004g.png/)

Dunno why????


I uninstalled MPC-HC 1.5.3.3757 and loaded official 1.5.2.3456 and fixed the issue. Now i can passthrough bitexact PCM streams over MPC-HC too.

http://img411.imageshack.us/img411/209/0005s.png (http://imageshack.us/photo/my-images/411/0005s.png/)





EDIT: Fixed:

http://forum.doom9.org/showthread.php?p=1534340#post1534340

_ _ ____

SamuriHL
25th October 2011, 22:31
Man, rica, smaller pics! :) That's impossible to view. LOL

rica
25th October 2011, 22:40
Man, rica, smaller pics! :) That's impossible to view. LOL

Next time my friend, promise :)

SamuriHL
25th October 2011, 22:42
Next time my friend, promise :)

Excellent. :)

Andy o
25th October 2011, 22:52
No issues with them whatsoever, behaviour with madVR even improved some.

Probably some cards. Googling gets too many specific results for it to be just me, but also it's not happening in my 9200m GS laptop.

SamuriHL
25th October 2011, 23:04
Probably some cards. Googling gets too many specific results for it to be just me, but also it's not happening in my 9200m GS laptop.

Just got reported on the nVidia GeForce GTX thread on AVS Forum, as well. Not sure what you guys have in common. I'm about to go mess with my machine now and see how it fairs. I have a 450, the same as Nev, so, I'm not expecting a lot of problems.

JustinChase
25th October 2011, 23:07
Probably some cards. Googling gets too many specific results for it to be just me, but also it's not happening in my 9200m GS laptop.

GeForce 550Ti with the new drivers gives black screen in WMC for live and recorded TV playback. I tried "fixing" it over lunch, but will end up rolling back the driver when I get home :(

I suppose I need to figure out how to just force WMC to just use LAV filters instead ???

Andy o
25th October 2011, 23:19
I've played the videos in MPC-HC and it loads a lot of extra filters for the wtv files, and there's one pin that doesn't connect but I don't know what it's for (probably captions). Surprisingly 1080i content from CBS working like a charm with LAV video doing IVTC and ffdshow/avisynth doing decimation. One weird thing is that madVR doesn't obey my manual "23p" instruction in the file name so it doesn't switch automatically.

06_taro
25th October 2011, 23:21
Patched builds (x86 and x64) :

Non-installer: LAVFilters-0.37-55-git-r1381(28d1c5d).7z (http://j.mp/LAVFilters-r1381)
Installer: LAVFilters-0.37-55-git-r1381(28d1c5d)-Installer.7z (http://j.mp/LAVFiltersI-r1381)

Now support mkv's subchapter

rica
26th October 2011, 01:05
Amd/Ati users and Intel Clarkdale/Sandy users.
Are you able to get audio bitexact streaming via lav splitter > Lav Audio > ReClock?

Mixer73
26th October 2011, 01:06
GeForce 550Ti with the new drivers gives black screen in WMC for live and recorded TV playback. I tried "fixing" it over lunch, but will end up rolling back the driver when I get home :(

So what's default renderer for 7MC?

SamuriHL
26th October 2011, 01:10
So what's default renderer for 7MC?

Buggy. :D

JustinChase
26th October 2011, 01:21
I'm not really sure, and didn't much care before today :) Wife prefers it for TV, and cares little about quality, just ease of use.

I just downloaded, and am about to install 285.38 64bit beta drivers, but wondered if there is a preferred driver version for one reason or another? I just installed my first nVidia card in over 15 years, so haven't paid any attention before last week :)

CruNcher
26th October 2011, 02:17
@VFR Maniac

here is the boxdump dump of the original .mov http://www.mediafire.com/?rjyu1qx150vmtdm :)
here the timestamps http://www.mediafire.com/?mux0yusebvc7em5

asasadad_1
26th October 2011, 03:26
some ts files include 2 video tracks and 2 audio tracks,LAV Splitter(Git_28d1c5d47e9b) shows only 1 video track and 1 audio track.
here (http://uploading.com/files/ee7a392a/2video.2audio.ts/) is a sample.

Sebastiii
26th October 2011, 05:14
Patched builds (x86 and x64) :

Non-installer: LAVFilters-0.37-55-git-r1381(28d1c5d).7z (http://j.mp/LAVFilters-r1381)
Installer: LAVFilters-0.37-55-git-r1381(28d1c5d)-Installer.7z (http://j.mp/LAVFiltersI-r1381)

Now support mkv's subchapter

Hi,

What do you mean by subchapter ?
Do you have a sample for testing ?
Thanks.

golagoda
26th October 2011, 05:43
Hi,

What do you mean by subchapter ?
Do you have a sample for testing ?
Thanks.

I would assume he means ordered chapters.

sneaker_ger
26th October 2011, 05:48
I would assume he means ordered chapters.

As much as I wish that to be true, he is probably talking about "sub" as in "nested".

06_taro
26th October 2011, 05:50
Subchapter means chapters nested in other chapters. You can easily produce this kind of chapter in mmg. Ordered chapter is just virtual timeline.

Here's a sample mkv using subchapter ( played with Gabest splitter ):
http://i42.tinypic.com/vmrc09.jpg

@nevcairiel
Could you please make the nested subchapters indented by a blank or "+" just like above, so that the chapter structure would be more clear?

Sebastiii
26th October 2011, 06:20
Ok :) so it's not Ordered Chapter but it's nice feature (subchapter)

Qaq
26th October 2011, 08:18
Amd/Ati users and Intel Clarkdale/Sandy users.
Are you able to get audio bitexact streaming via lav splitter > Lav Audio > ReClock?
I don't use "bitexact" for video, but play a music sometime. Yes, via MPC/LAV/ReClock/KS and "bit exact". Just double check the volume slider in MPC.

CruNcher
26th October 2011, 10:58
some ts files include 2 video tracks and 2 audio tracks,LAV Splitter(Git_28d1c5d47e9b) shows only 1 video track and 1 audio track.
here (http://uploading.com/files/ee7a392a/2video.2audio.ts/) is a sample.

Programm selection isn't yet supported

VFR maniac
26th October 2011, 12:24
@VFR Maniac

here is the boxdump dump of the original .mov http://www.mediafire.com/?rjyu1qx150vmtdm :)
here the timestamps http://www.mediafire.com/?mux0yusebvc7em5

Your problematic MOV has two sample description entries for video track.
Parsing multiple sample description entries is not supported by ffmpeg/libav yet.
So, I guess the issue is the ffmpeg or libav's side.
Watches pelcome!

CruNcher
26th October 2011, 12:37
@VFR Maniac
My understanding was this could explain some parser (especially harsh ISO standard conform ones) in failing to find the correct Video bitstream but does that also explain the Lav Splitter freeze (ffmpeg) ?

nx6
26th October 2011, 12:51
Ok :) so it's not Ordered Chapter but it's nice feature (subchapter)
Ordered Chapters support would be infinitely more useful. It's the one reason I still need Haali's splitter at this point.

VFR maniac
26th October 2011, 13:05
@ CruNcher
Sample description is basically needed to decode bitstream.
Especially for AVC, it is mandatory since SPS/PPS is stored in sample description entries and not stored in video elemental streams.
Your problematic MOV has two sample description entries for different levels (5.0 and 4.1).
So without both, no AVC bitstream is decoded correctly.

THX-UltraII
26th October 2011, 13:08
I just sold my ATI 5450 and bought a GTX 460 specially to be able to use CUVID.

A few setup questions:

1.
In the LAV Video filters config I can select the algorithm. If you only watch 23,976HD movies, isnt it better to choose Weave? What is Adaptive, never heard of it (noobish I think:))

2.
Mode
Can the standard Video 50p/60p option not be used for 23,976HD material?

3.
Field Order
When would I NOT want to use the auto option here?

Thanks!

bjd
26th October 2011, 13:44
@rica

I uninstalled MPC-HC 1.5.3.3757 and loaded official 1.5.2.3456 and fixed the issue. Now i can passthrough bitexact PCM streams over MPC-HC too.

When trying to achieve PCM bit-exact playback in reclock, the volume in mpc-hc must be set to 100%, anything less and the '(bit-exact)' disappears ;)

nevcairiel
26th October 2011, 13:51
1.
In the LAV Video filters config I can select the algorithm. If you only watch 23,976HD movies, isnt it better to choose Weave? What is Adaptive, never heard of it (noobish I think:))

If you only watch 23.976 progressive material, it doesn't matter. If a frame is flagged progressive, that mode is ignored - its only useful for interlaced.


2.
Mode
Can the standard Video 50p/60p option not be used for 23,976HD material?

Same rules apply as above, its ignored for progressive, only used for interlaced. There is no interlaced 23.976 - its either 25i/50i or 30i/60i.


3.
Field Order
When would I NOT want to use the auto option here?
!
Again, that option is only valid for interlaced content.
"Auto" is usually the best mode, however some files are encoded wrong, and this option allows you to fix it manually.

THX-UltraII
26th October 2011, 15:08
thxz for your reply. Are there also any madVR users out here?

Because I just sold my ATI HD5450 and bought a NVIDIA GTX 460 card to be able to use CUVID in LAV Video decoder.

First thing I just noticed is that madVR reports a display refrash rate of 23,971xx (NVIDIA 23Hz setting) while madVR reported a display rate of 23,975xx which is far more close to EXACTLY 23,976 which it should be ideally.

Do you guys also get 23,971xx reported by madVR and if so, will this result in far more dropped frames during a movie? With my ATI 5450 I got about 1-3 dropped frames during a 2-3 hour movie which was pretty satisfying to me.

robpdotcom
26th October 2011, 15:16
I recently switched from an ATI 5750 to an NVIDIA GTS450, and my ATI came closer to 23.976 as well (though, still not close enough). The easiest solution is to just use Reclock, and go with 24hz, which both cards come much closer to.

daWsOn_s
26th October 2011, 15:27
I just found this amazing thing. It finally does what ffdshow was never able to do, playback dts hd ma and vc1 in m2ts containers :D just a quick question will this ever support tray icons (to see what splitter/filter I'm using) and audio normalization? For example when I playback 5.1 source in ffdshow I put audio normalization + stereo output (for headphones) and the audio is much louder while not distorted. I couldn't find a way using LAV audio decoder

Andy o
26th October 2011, 15:42
Nev, I've been wondering something similar to this:

2.
Mode
Can the standard Video 50p/60p option not be used for 23,976HD material?

My question is if LAV can tell if the content is being IVTC'd instead of being deinterlaced, and if so, set its output to 30p instead so proper decimation can be done? Right now I have to manually change to 30p and enable avisynth in ffdshow's processor, and then change them back when I'm done, for interlaced telecined content.

nevcairiel
26th October 2011, 16:50
My question is if LAV can tell if the content is being IVTC'd instead of being deinterlaced, and if so, set its output to 30p instead so proper decimation can be done? Right now I have to manually change to 30p and enable avisynth in ffdshow's processor, and then change them back when I'm done, for interlaced telecined content.

If it could, it could also IVTC itself. :P

THX-UltraII
26th October 2011, 19:10
I recently switched from an ATI 5750 to an NVIDIA GTS450, and my ATI came closer to 23.976 as well (though, still not close enough). The easiest solution is to just use Reclock, and go with 24hz, which both cards come much closer to.

thanks for your reply.

But ReClock has no sense (/will make no difference) when I only bitstream correct?

Andy o
26th October 2011, 19:18
If it could, it could also IVTC itself. :P

I'm confused. Doesn't it IVTC already? By which I mean it doesn't deinterlace and mix two fields into a 30p stream, but instead reconstructs the frames into 30p, which then has to be decimated into 24p. That seems to be the way it's working.

madshi
26th October 2011, 19:31
I'm confused. Doesn't it IVTC already? By which I mean it doesn't deinterlace and mix two fields into a 30p stream, but instead reconstructs the frames into 30p, which then has to be decimated into 24p. That seems to be the way it's working.
What is "it"? LAV Video Decoder? GPU? The GPU does proper IVTC, but it keeps it secret which fields were weaved together how, and it also doesn't support decimating. So in the end LAV Video Decoder has no way of knowing whether the video is native interlaced or movie content. The deinterlacing hardware of the GPU is a black box and doesn't deliver any information outside.

Andy o
26th October 2011, 19:44
"it" was LAV CUVID. Anyway, yeah that was what I was asking, thanks.

rica
26th October 2011, 20:47
Thanks guys, it's clear now:

http://forum.doom9.org/showthread.php?p=1534340#post1534340


_ _ _ _

Xaurus
26th October 2011, 22:04
nev,

I don't know if you remember there was audio drop-out a while back when I tried LAV audio earlier when using ffdshow (see this (http://forum.doom9.org/showthread.php?p=1529442#post1529442)). Difference from back then is that now it was a "simple" AVC file in an mkv container. Now AC3, unlike in the blu-ray earlier which had DTS.

For a long time now since permanently switching to full LAV suite after buying an AVR, it's been fine, no audio drop-outs. Until this evening. I had no choice but to enable bitstream and disable reclock.
I suspect that the problem is reclock though. I see that the 1.8.7.7 has been out for a long time, is the author not actively developing it anymore? In any case, my thoughts on this are these:

1: If it's reclock's fault then one should see more issues about this.
2: If it's lav audio's fault then there should be more posts about it in here.

So I have no clue. I'll use bitstream a while now though to see if it works OK unless there is a logging function I can activate in case it happens again?

linzki
27th October 2011, 16:36
I'm using mpc-hc with lav filters, madvr, ffdshow raw video filter.

Is there a way to check my frame rate? because i'm not sure if anything happens with LAV video decoders deinterlacing 25p/30p or 50p/60p. Nothing seems to change when i switch between those two options.

Then if i use ffdshow with yadif's deinterlacing double framerate, i can hear fan picking up speed immediately and if i use zoom players playing information, i can see actual frame rate doubleing.

i tried ctrl+j in mpc-hc but can't see it telling me if framerate is doubeling; nothin changes if i switch between 25p/30p or 50p/60p in LAV video decoder.

i'm using GF 460 gtx, Intel® Core™2 Quad Processor Q6600, 4gb ddr3

pankov
27th October 2011, 21:52
Xaurus,
if you upload a sample showing the problem someone else can try to replicated it and this will help nev to check if it's actually an error in LAV Audio.
If you don't give nev enough information he won't be able to help you.

06_taro
27th October 2011, 22:54
Patched builds (x86 and x64) :

Non-installer: LAVFilters-0.37-58-git-r1384(ee20a52).7z (http://j.mp/LAVFilters-r1384)
Installer: LAVFilters-0.37-58-git-r1384(ee20a52)-Installer.7z (http://j.mp/LAVFiltersI-r1384)

Xaurus
28th October 2011, 02:02
Xaurus,
if you upload a sample showing the problem someone else can try to replicated it and this will help nev to check if it's actually an error in LAV Audio.
If you don't give nev enough information he won't be able to help you.
The problem is that it seems random. Last time it was a BR, this time it's an mkv.

I can't really give more information than I've already given since I can't reproduce it at will... I don't expect any fixes based on what I've written, it was intended as a heads up.

Thanks.

Snowknight26
28th October 2011, 13:15
The "PC (0-255)" label overlaps "Untouched (as input)" in the video decoder properties panel.

fastplayer
28th October 2011, 13:17
The "PC (0-255)" label overlaps "Untouched (as input)" in the video decoder properties panel.
True for 0.37, not true for 0.38 RC.

nevcairiel
28th October 2011, 13:53
Yeah i fixed that a while ago.