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

Schwartz
30th May 2015, 01:20
Nope, it's a R9 270X. You think it's a performance issue?

Oh nevermind, I just read up on it. I guess there isn't any available.

nevcairiel
30th May 2015, 08:35
AMD doesn't do hardware decoding of HEVC at all yet.

P.J
30th May 2015, 17:39
Still no improvement for ProRes 32bit decoder? Quicktime works very good :(

James Freeman
1st June 2015, 09:28
Somehow MPC-HC plays an mp3 file with the same name as the mkv movie file together at one.
I can't disable the playback of both no matter what I try.

Is it LAV splitter or MPC-HC fault, really annoying, any help?
http://www.mediafire.com/convkey/d77a/lef9wdcghwsqds9zg.jpg

nevcairiel
1st June 2015, 09:36
Thats normal behaviour, and its MPC-HCs doing. Enable MPC-HCs audio switcher, then you can choose which should be playing. In fact, I don't understand why so many people disable it anyway.

James Freeman
1st June 2015, 09:47
For the simple reason (and fear) that it might interfere with the majestic work of LAV filter... ;)
Thanks.

foxyshadis
1st June 2015, 13:14
An audio with the same name as a video has been a longstanding traditional method of adding another language, too, just like subtitles. Keep your names even slightly different and it'll never happen.

huhn
1st June 2015, 13:37
using MDPN with an 48 bit RGB input lavfilter is outputting undithered 8 bit.
the problem is MPDN doesn't support 48 bit RGB is it possible to change the logic to output Y416 in this case?

nevcairiel
1st June 2015, 13:46
It'll prefer to stay in RGB. Conversions from RGB to YUV in LAV are all notoriously low quality, since it uses swscale for that.

huhn
1st June 2015, 13:56
is adding dithering an easy task? so it will look fine.

i will double check if this isn't the case already but i'm pretty sure it isn't.

edit: 48 bit RGB input outputted at 24 bit RGB looks undithered.

FireFreak111
4th June 2015, 11:05
Is LAV ever going to have a low-pass filter in its Mixer? I was comparing downmixed Stereo via the mixer for headphones compared to mixing done by a receiver, and used Interstellar's wormhole scene as an example (DTS-HD MA 5.1). It's LFE channel is complete garbage, and when downmixed via the mixer, all that garbage was mixed into the Stereo mix if I added LFE into it. When done via the receiver, there was also LFE being mixed in, but no garbage. Additionally, no clipping on the receiver while the volume seemed consistent (while using a 'Pure Audio' path where it apparently tone controls, EQ, etc) compared to LAV with clipping protection (and this is even without any LFE mixing). Without clipping protection, LAV has alot of clipping. Normalize Matrix just makes it really quiet. (and this is all with Philips X2 headphones, $300).

LAV's advantage seems to be the noise floor, if I send Stereo (WASAPI Exclusive) to the reciever, no noise floor. If I use the receiver's mixing, heavy noise floor, which is why I was testing LAV's mixer.

I know LAV isn't built to be a world-class audio mixer, but is there any plans for improvements in the future for the mixer?

burfadel
4th June 2015, 12:40
I know LAV isn't built to be a world-class audio mixer, but is there any plans for improvements in the future for the mixer?

Maybe someone could work on incorporating and updating AC3filter, since it's now open source and has the source code available:
http://www.ac3filter.net/wiki/Download_AC3Filter

nevcairiel
4th June 2015, 15:25
is adding dithering an easy task? so it will look fine.

i will double check if this isn't the case already but i'm pretty sure it isn't.

edit: 48 bit RGB input outputted at 24 bit RGB looks undithered.

48 -> 32/24 should use dithering.
Note that the only really fast conversion process is 48 -> 32, 24 is not very optimized.

Edit:
Looks like dithering was broken in that conversion code, fixed now.

MysteryX
4th June 2015, 21:52
I'm having issues playing AVS (AviSynth) files in Windows Media Player.

Someone recommended to go in Codec Tweak Tool, 'Preferred Splitter' and use LAV Filter as avs splitter.

Windows Media Player itself still doesn't play it properly but the ActiveX control version of it does accept the file, which is what matters.

How can I embed this setting change into a setup program? What specific registry key must be changed? And does this fix only works if LAV Filters (or K-Lite Codec Pack) are installed?

mindbomb
5th June 2015, 01:01
Somehow MPC-HC plays an mp3 file with the same name as the mkv movie file together at one.
I can't disable the playback of both no matter what I try.

Is it LAV splitter or MPC-HC fault, really annoying, any help?


in options>playback, there is an autoload audio files option that controls that, or you can use the audio switcher. To me, it seems like a legacy type thing to have audio and video separate like that.

LigH
5th June 2015, 07:14
I'm having issues playing AVS (AviSynth) files in Windows Media Player.

Even though it is possible, AviSynth scripts are not meant to be played with a DirectShow media player. For previews it is recommended to use a tool supporting VfW or the native AviSynth API (e.g. VirtualDub, AvsPmod, MeGUI, ffplay {ffmpeg} or rather mpv {mencoder}).

Avoid codec packs in general. They may install unexpected and unwanted software.

And yes, if you register LAV Filters as DirectShow splitter for AviSynth scripts, you will have to install LAV Filters on another PC to use the same trick there.

MysteryX
5th June 2015, 13:16
Even though it is possible, AviSynth scripts are not meant to be played with a DirectShow media player. For previews it is recommended to use a tool supporting VfW or the native AviSynth API (e.g. VirtualDub, AvsPmod, MeGUI, ffplay {ffmpeg} or rather mpv {mencoder}).

Avoid codec packs in general. They may install unexpected and unwanted software.

And yes, if you register LAV Filters as DirectShow splitter for AviSynth scripts, you will have to install LAV Filters on another PC to use the same trick there.
Any of these players can be used as ActiveX controls within an application?

LigH
5th June 2015, 13:28
No, because they don't use DirectShow. If you want a preview of AviSynth skripts in your application, you may better use the AviSynth API. Or at least "Video for Windows", even though it's getting ancient.

stax76
5th June 2015, 15:01
I still recommend the good old avifile API, it's very easy to get basic AviSynth and VapourSynth access.

nevcairiel
5th June 2015, 15:11
Even though it is possible, AviSynth scripts are not meant to be played with a DirectShow media player. For previews it is recommended to use a tool supporting VfW or the native AviSynth API (e.g. VirtualDub, AvsPmod, MeGUI, ffplay {ffmpeg} or rather mpv {mencoder}).

LAV Splitter also uses the native AviSynth API. It should work equally well, really.

MysteryX
5th June 2015, 21:51
There's no reason to spend a lot of time programming against AviSynth API when I can just get it to play in a WMP control.

I tried changing the setting while scanning for registry changes with RegShot. Wow, the report is 2.53MB with tons of registry keys changed!

Registry changes report
https://mega.co.nz/#!6BYDCRjB!ea7dt6UWePwwn1jFgUNJDP2nJY80fpHTTCcNv_00OxE

Are all these changes necessary to get it to work, or can I get AVS to use LAV Filters with editing just a few keys?

MysteryX
5th June 2015, 22:10
I might as well just create a page telling the user how to configure his system to use these features. It will be simpler and safer that way.

nevcairiel
5th June 2015, 22:14
Questions about changes done by third-party tools should be directed to the authors of such tools.

NikosD
8th June 2015, 21:15
This video plays fine with EVR/MadVR.

BUT with EVR-CP, it stutters repeatedly.

I tried all modes (SW, QS, DXVA cb/n)

Clip:
https://www.sendspace.com/file/fz55xh

sneaker_ger
8th June 2015, 21:25
Audio timecodes are fucked up (+10 for each frame instead of +10.6666....)
Demux audio and remux using mkvtoolnix to fix.

aufkrawall
8th June 2015, 21:45
Is HEVC 10 bit DXVA2 CB unlocked for GM204/200?
If I recall it right, it was originally advertised as being able to decode this via hybrid decoder.

It's software only here, so is it because of driver or LAV?

nevcairiel
8th June 2015, 21:51
10-bit is only available on the GTX 960, no hybrid support.

yonta
9th June 2015, 08:05
LAV splitter doesn't recognize mp3 audio track in this mp4 (https://drive.google.com/file/d/0B1mCVSSmbT2LXzN4aUIzUE5tQmc/view?usp=sharing).
All the other players I have read the track just fine.

filler56789
9th June 2015, 11:15
LAV splitter doesn't recognize mp3 audio track in this mp4 (https://drive.google.com/file/d/0B1mCVSSmbT2LXzN4aUIzUE5tQmc/view?usp=sharing).
All the other players I have read the track just fine.

That MP4 is broken.
Remuxing it with L-Smash results in a 1.75GB file, which remains broken as well.

yonta
9th June 2015, 11:37
That MP4 is broken.
Remuxing it with L-Smash results in a 1.75GB file, which remains broken as well.

i first made a sample with ffmpeg -t option but ffmpeg did some magic and LAV splitter recognized the audio track in the sample.
so i had to split the source by size to show the problem.

wanezhiling
9th June 2015, 11:49
Tried some other splitters, worked fine.

Aleksoid1978
9th June 2015, 13:22
Play fine using MPC-BE. ffplay also fine.

filler56789
12th June 2015, 01:28
F.W.I.W...

apparently LAV Splitter doesn't support multichannel DTS Express :confused:

samples: http://www.mediafire.com/download/8ic045b8n567nir/DTSX-samples.zip

Vasilich
12th June 2015, 07:42
F.W.I.W...

apparently LAV Splitter doesn't support multichannel DTS Express :confused:

https://github.com/foo86/dcadec :

Features not implemented:
Decoding of DTS Express streams
Applying dynamic range compression and dialog normalization

manolito
12th June 2015, 09:35
LAV Filters 0.65

The only unsupported DTS format that I know of is DTS Express, which is used for interactive commentary tracks on Blu-rays.

If the ArcSoft decoder is present, it will continue to be used for the time being, but in the long run I may even remove it.



Cheers
manolito

nevcairiel
12th June 2015, 09:40
apparently LAV Splitter doesn't support multichannel DTS Express :confused:

samples: http://www.mediafire.com/download/8ic045b8n567nir/DTSX-samples.zip

And that won't change until libdcadec supports DTS Express.

RealSnoopyDog
12th June 2015, 10:32
Even with the Arcsoft decoder, DTS Express is not supported correctly because the DTS express stream is an "overlay" which needs to be mixed together with the main audio channel. There is also a fading option which means when a commentary comes up on the DTS Express stream, then the main audio channel should be faded a bit.

With the Arcsoft decoder and LAV, you can hear the DTS Express audio commentary stream only isolated.

nevcairiel
12th June 2015, 10:37
LAV Audio is only a decoder, it decodes a single stream. What happens before or after LAV Audio is not its concern. Someone could easily use two instances of LAV Audio, decode two streams, and then overlay them afterwards, if they wanted to build a full Blu-ray player. But thats not something LAV Audio concerns itself with.

filler56789
12th June 2015, 11:00
Well, I only thought the problem was in the splitter, not in LAV Audio, because MPC-BE has no problems with the .MKA sample (it cannot deal with the .M2TS file though).

Okay, let's all wait until bumblebritches57@github turns on the green light :)

because the DTS express stream is an "overlay" which needs to be mixed together with the main audio channel

that applies only to Blu-Ray_compliant transport streams, not to standalone .M2TSs or .MKVs

RealSnoopyDog
12th June 2015, 12:51
Ah ok, i did not know that. I only know DTS-Express from some Blu-Rays that i have where this format is used for audio commentaries. Actually, DTS-Express is a low bitrate / low overhead codec which is perfect for compressing speech.

Borodin
16th June 2015, 17:43
I'm testing the Windows 10 Preview and am having some trouble with the LAV filters version 0.65.0.

Specifically, I'm getting "Display driver stopped responding and has recovered" repeatedly when I try to view a video.

It's an MP4 file containing AVC/AAC streams.

Any ideas? Any more information required?

nevcairiel
16th June 2015, 17:44
If your pre-release driver crashes on a pre-release OS, then you should complain to OS or Driver producer.

Borodin
17th June 2015, 01:20
If your pre-release driver crashes on a pre-release OS, then you should complain to OS or Driver producer.

I've been playing video files with Windows Media Player, Windows Video, and VLC media player, and all have been fine. It is only when I install the LAV filters and try to play through those that problems arise. I am sure the developers must have looked at Windows 10 compatability by now -- if not then it's been left a little late!

ryrynz
17th June 2015, 01:36
I am sure the developers must have looked at Windows 10 compatability by now -- if not then it's been left a little late!

Nevcairiel is the dev. If there's any issues he'll resolve them promptly, just wait until W10 is released. It's not RTM yet and AMD & Nvidia are still tweaking their drivers.

mindbomb
17th June 2015, 02:46
I'm testing the Windows 10 Preview and am having some trouble with the LAV filters version 0.65.0.

Specifically, I'm getting "Display driver stopped responding and has recovered" repeatedly when I try to view a video.

It's an MP4 file containing AVC/AAC streams.

Any ideas? Any more information required?

If you disable hardware video decode, I imagine it will stop crashing

Carpo
17th June 2015, 09:05
I've been playing video files with Windows Media Player, Windows Video, and VLC media player, and all have been fine. It is only when I install the LAV filters and try to play through those that problems arise. I am sure the developers must have looked at Windows 10 compatability by now -- if not then it's been left a little late!

The thing with Windows 10 at the moment is that it is not finished and subject to change on a daily basis, builds will change things as they come out to address issues found in Windows 10, so if Nev was to fix Lav to work with the current build of windows 10, the next build of Win 10 might cause Lav to not work the way it should and he will end up doing much work for no real gain.

As others have said, wait till Win10 hits RTM and I am sure Nev will look into all bug reports submitted then :p

VictorLS
17th June 2015, 10:22
Good day.
I have a weak one core CPU Athlon 3200+ (with nVIDIA GT220) which can decode only 2-5 frames per second of h265 3840x2160p50 with LAVFilters-0.65.0.9-git х86 in WinXPx86.
Can you add possibility of choise which type of frames to decode like in ArcSoft Video Decoder (see attach)? Also add something like "If present decode IDR frames only else decode I frames only" please.
I want to hear audio and don't want to spend much time of watching slow motion h265 UltraHD video ;)
One more thing, I like WindowsXP. Can you add DXVA1 support in LAV Video Decoder?

filler56789
17th June 2015, 11:40
Can you add possibility of choise which type of frames to decode like in ArcSoft Video Decoder (see attach)?

Based on Nev's answer to a similar request about H.264 decoding (specifically, to disable the deblocking filter),
I guess his answer about this request of yours will be another "NO" :)

I want to hear audio and don't want to spend much time of watching slow motion h265 UltraHD video ;)

Have you already tried the Lentoid Decoder from Strongene?

One more thing, I like WindowsXP. Can you add DXVA1 support in LAV Video Decoder?

Nope :)

VictorLS
17th June 2015, 16:25
Have you already tried the Lentoid Decoder from Strongene?
Under XP I get black screen (Malevich) with Lentoid HEVC Decoder 2.0.3.3 (

nevcairiel
17th June 2015, 16:28
As filler56789 already guessed, I do not deal in intentionally broken decoding modes. If your system cannot deal with 4K HEVC playback, you should stick to 1080p material, which will look much better anyway than skipping an undetermined amount of frames - or well, upgrade.
And yeah, no DXVA1 for XP. I didn't even consider doing it when XP was still a OS supported by MS, and I will most certainly not consider it now.