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

LigH
7th November 2017, 09:36
I guess you could try to unpack the installers with 7-zip (did not test).

nevcairiel
7th November 2017, 09:54
Nightlies are only available as installers.

wushantao
7th November 2017, 10:52
I guess you could try to unpack the installers with 7-zip (did not test).
I've tried 7zip unpack and can't get the related files


Nightlies are only available as installers.
If don't take up too much your time, can you release a zip version pls:D?

nevcairiel
7th November 2017, 10:52
There are no plans to do that.

sneaker_ger
7th November 2017, 11:01
innounp (http://innounp.sourceforge.net/) should be able to extract the installers.

wushantao
7th November 2017, 13:38
There are no plans to do that.

Anyway, thanks for the software you developed

innounp (http://innounp.sourceforge.net/) should be able to extract the installers.

thx, i will try it:)

wushantao
7th November 2017, 14:29
innounp (http://innounp.sourceforge.net/) should be able to extract the installers.

thank you,it works perfect

wushantao
7th November 2017, 16:43
hi nevcairiel

maybe there is a bug for h/w decoder

lav 0.70.2.80 with evrcp

i set output format only RGB24(beacuse evrcp only 8bit)

play a 10bit file, D3D11&DXVA2(native) is NG, can not play

other decoder is ok

my gpu is iris 5200

nevcairiel
7th November 2017, 17:02
Don't disable any output formats. Also, 10-bit decoding requires quite new hardware, don't think a 2013 chip would be able to do that.

VictorLS
8th November 2017, 18:40
innounp (http://innounp.sourceforge.net/) should be able to extract the installers.
Thank you very much - innounp extracts great.

cremor
19th November 2017, 16:17
Small thing I noticed:
The LAV Splitter configuration GUI refers to http://1f0.de for advanced subtitle selection reference documentation, but the page on that site seems to be older than the information in the README. E.g. there is no mention of the ! operator and instead of comma and space it mentions semicolon and space as separators.

Major_Dick
19th November 2017, 21:06
innounp (http://innounp.sourceforge.net/) should be able to extract the installers.

Thanks for this, worked perfect.

clsid
23rd November 2017, 19:06
Hi nev, can you add options to configure probesize and analyzeduration?

Klaus1189
25th November 2017, 12:15
I use LAV Filters for watching MXF-Files, but in MXF files the audiochannels are stored as single mono streams. My NLE detects the files correctly as stereo.
How do I configure LAV Filters to use left and right mono streams as one stereo stream?

robl45
3rd December 2017, 17:57
hi guys, after something wonky happening with the computer where it would play nothing but dolby digital sound, I reinstalled all pieces with updated versions. Madvr, lav filters, mpc-be, intel video drivers, reclock. Now I was wondering with the latest lav video, what is the best hardware acceleration to pick? I have intel HD 530 graphics.

Specifically, I see these two lines in the change log

LAV Video
- NEW: D3D11 hardware accelerated decoding (native mode with madVR, Copy-Back otherwise)
- NEW: Support for hardware accelerated H.264 MVC 3D decoding on Intel GPUs

So what do I pick to be able to make use of that since I watch a lot of 3d and I use Madvr

robl45
3rd December 2017, 18:01
maybe so, I never checked, the main thing is you dont have to manually mount it first so it plays straight from MPC-BE, havent tried with with KODI-DS though.

I'm think of switching back to ISO instead of ripping all mine to MVC MKV files, its much more convenient to keep the full bluray ISO even if it is a few gigs larger.

This works for me too, problem is if I don't rip to MKV, then I get no subtitles. Do you get subtitles?

el Filou
3rd December 2017, 19:50
I have intel HD 530 graphics.

Specifically, I see these two lines in the change log

LAV Video
- NEW: D3D11 hardware accelerated decoding (native mode with madVR, Copy-Back otherwise)
- NEW: Support for hardware accelerated H.264 MVC 3D decoding on Intel GPUs

So what do I pick to be able to make use of that since I watch a lot of 3d and I use MadvrDepends on what madVR features you use. If you use black bars detection/zoom control or ivtc, those won't work with DXVA Native. If you don't use them then try D3D11 Native for the best performance.

Soulnight
3rd December 2017, 22:34
I posted this message today in the Madvr thread but I noticed afterwards that this is actually off-topic for madvr and that it should be posted here. I apologize still for the double post.

Nevcairiel, I need you lights ;-)

Both random and ordered 10bits to 8bits dithering from Lavvideo generate very visible noise/structure, where Madvr "ordered" dithering is invisible to my eyes! :D But I can't use it. Here is why:

Hi,
would it be possible to make dithering in Lavvideo Decoder as good or close to the one in Madvr?

I am asking because currently I use Bluesky FRC with AMD Fluid Motion to use frame interpolation of 4K 10bits 4:2:0 24p signal to 60p.
And the output of bluesky FRC in Madvr is only 8bits, as it seems that AMD Fluid Motion itself does NOT support 10bits.
BlueskyFRC convert P010 to NV12 using driver's function, BEFORE entering AMD Fluid Motion.

My target would be to have a high quality dithering BEFORE entering AMD Fluid Motion: for example in LAVVideo Decoder.

Right now, I can see random noise generated by the dithering method used by BlueskyFRC.
I also tried to deselect 10bits output in LAVvideo decoder in order to dither before in LAVvideo decoder before even entering Blueksy FRC.
However, the result is still not near as good, as when I feed the 10bits 24p signal directly to Madvr with ordered dithering selected there.

Thanks for the help.
Florian
Thx!

nevcairiel
3rd December 2017, 23:00
Dithering is as good as its going to get, more complex dithering on the CPU would be too expensive and far too rarely useful to warrant the complexity.
There is several reasons why dithering in madVR would look better, for one dithering as late as possible is always better, if you do it far earlier in the decoder already, you have added noise all the way through the processing chain, which only gets amplified.

Soulnight
3rd December 2017, 23:31
Thank for taking time to answer me.
Why should dithering happen on the CPU?
Is it not GPU based?

Here a few Dithering algorithm:
http://www.tannerhelland.com/4660/dithering-eleven-algorithms-source-code/

What I don't really get is why "ordered dithering" from madvr looks perfectly clean while "ordered dithering" with Lavvideo looks very blocky with clear patterns.
I get that the further in the chain the better, but here the chain is very short --> lav-->madvr with no extra sharpness processing whatsoever.

Thx,
Florian

nevcairiel
3rd December 2017, 23:44
Any image processing in LAV Video happens on the CPU. As such any advanced techniques are too expensive performance wise. The random or ordered dithering methods are as good as they can be, given the constraints.
If you convert a high-bitdepth image to ordinary 8-bit before the renderer, there will always be a loss, this cannot be avoided.

Soulnight
3rd December 2017, 23:49
Ok. Well.
Now I have to hope that AMD will support AMD FLUID Motion with 10bits in the near future... :)
Is a i7 7700K that limited for a better dithering in Lavvideo? :rolleyes:
I mean right now, it's doing nothing and is letting madvr do all the heavy lifting with the GPU.

ashlar42
5th December 2017, 18:24
nevcariel, do you think there'll be a new supported release by the end of the year? Is there lots of worthy stuff in the nightlies?

sneaker_ger
5th December 2017, 18:33
Is there lots of worthy stuff in the nightlies?
https://github.com/Nevcairiel/LAVFilters/commit/12810c93c68641cb6b4da06ee960572060e534ca

Do you need them? We don't know.

nevcairiel
5th December 2017, 21:57
Hopefully I get some more time over the holidays to finish some things and make a release then.

LigH
5th December 2017, 23:42
Bad news from Microsoft: W10 Fall Creators Update removes HEVC codec (which is required to play e.g. Netflix 4K HDR); you could purchase it in the store if you need it ...

I don't know about Netflix. I don't know which combo of hardware and software it requires. Is it bound to MS Media Foundation decoders? Or would LAV Filters be a supported free alternative?

nevcairiel
5th December 2017, 23:45
Except its free and not for purchase.
https://www.microsoft.com/en-us/store/p/hevc-video-extension/9n4wgh0z6vhq

But nothing can replace that, since only it will support the required DRM for Netflix etc.

On that note, as of today there is also a second one for Vorbis/Theora, called "Web Media Extension"
https://www.microsoft.com/en-us/store/p/web-media-extensions/9n5tdp8vcmhs

sat4all
7th December 2017, 09:43
hi nevcairiel,

when playing hdr movies my external .srt and .ass subtitles look blindingly bright while embedded bluray subs looks fine. tried to lower sub renderer primary colors but it have no effect with hdr files.
is it madvr fault or xysubf? anything to do with lav filters? sorry i dont know where to ask!
any idea?

nevcairiel
7th December 2017, 09:45
Definitely not LAV Filters.

sat4all
7th December 2017, 09:52
good to know, thanks.

bcec
8th December 2017, 01:02
YADIF deinterlacing is not working when DXVA is enabled as hardware decoder (native or copy-back doesn't matter). Is this expected?
- Using the latest nightly (0.70.2.80)
- 1080ti with 385.69
- tried nVidia settings deinterlacing inverse telecine checked on and off, no change.

EDIT: copy-back works! :D

LigH
8th December 2017, 01:10
Yadif is a pure software deinterlacer. You cannot make DXVA deinterlace with Yadif in the GPU.

Oh, wait, you expected Yadif to deinterlace after pure hardware decoding ... sorry, it is late already. :o

bcec
8th December 2017, 01:15
Oh, wait, you expected Yadif to deinterlace after pure hardware decoding ... sorry, it is late already. :o
yup, I am assuming after doing hardware decoding, software YADIF should be able to kick in. But it doesn't.

At least the way it is presented in the UI, I was expecting it to work because I can select software deinterlacing after enabling hardware decoding.

Is it not supposed to work?

nevcairiel
8th December 2017, 01:32
With Copy-Back YADIF should be working fine. With Native it cannot work.

The reason options dont grey out is simple: Not every clip can be hardware decoded, and for those all software options always apply.

bcec
8th December 2017, 01:45
you are absolutely right (why wouldn't you :))

copy back works fine. Thank you for the quick follow-up.

ashlar42
8th December 2017, 13:01
Hopefully I get some more time over the holidays to finish some things and make a release then.Thanks. I didn't want to put pressure on you in any way. Take all the time needed. :)

mclingo
8th December 2017, 13:39
Hi, can anyone tell me if FSE (full screen exclusive) is required for Full frame packed MVC playback using AMD cards, I cant get it to work without using MADVR with FSE turned on.

nevcairiel
8th December 2017, 14:26
This is not related to LAV Filters, it only performs decoding.

Klaus1189
8th December 2017, 16:14
I use LAV Filters for watching MXF-Files, but in MXF files the audiochannels are stored as single mono streams. My NLE detects the files correctly as stereo.
How do I configure LAV Filters to use left and right mono streams as one stereo stream?

Do not forget about me ... :)

nevcairiel
8th December 2017, 16:23
There are no plans to handle those.

JEEB
9th December 2017, 15:04
I use LAV Filters for watching MXF-Files, but in MXF files the audiochannels are stored as single mono streams. My NLE detects the files correctly as stereo.
How do I configure LAV Filters to use left and right mono streams as one stereo stream?

As long as the MXF file format contains no hints about its contents, I do not think it's a good idea to start implicitly poking around this unless we're having the user specifically mix it in some way. If you know of MXF providing this metadata, feel free to tell about it to ffmpeg-devel, but so far it has either been in a separate XML file (if even that!), or completely vendor-specific (we had some stuff from Vendor X that did it like this, and some stuff from Vendor Y that did it like this).

I have dealt with MXF files where you had 8 audio tracks and first two of them were used for stereo, as well as MXF files where the track had 8 channels (or 6) of audio, of which only first two were actually to be actively utilized for mixing.

aufkrawall
9th December 2017, 19:15
nev, is there something special about VP9 decoding on certain CPUs?
Decoding YT 4k 60fps VP9 video on a Haswell CPU shows very high CPU usage, while it is much lower with mpv.
Oddly, there is also such a difference between browsers. Like with mpv, CPU usage in Firefox is quite low, while it is much higher in Chrome and Edge.
This is only the case here with Haswell (4770k), with Skylake (6700k) the differences are much smaller.

Megalith
9th December 2017, 22:33
How does LAV Audio manage to send a Dolby or DTS signal when the audio renderer isn't set to allow bitstreaming?

I recently set up a new pre-processor and was disappointed with how long it took to lock onto a Dolby or DTS signal (seeking would result in a silence of three to four seconds) but did not realize until today that "allow bitstreaming" was unchecked in my audio renderer's (MPC-HC Internal Audio Renderer) settings. Doing so allowed my pre-processor to lock onto the bitstream almost instantly and there is no more silence when I seek to different positions, but I am still curious why I didn't just get silence when that option was unchecked.

el Filou
10th December 2017, 16:36
Decoding YT 4k 60fps VP9 video on a Haswell CPU shows very high CPU usage, while it is much lower with mpv.
Oddly, there is also such a difference between browsers. Like with mpv, CPU usage in Firefox is quite low, while it is much higher in Chrome and Edge.Do you have a discrete graphics card in that Haswell system?
Someone told me Firefox now used hybrid VP9 decoding on their system (Sandy Bridge + Radeon 290), maybe mpv is doing the same?

Pat357
13th December 2017, 19:56
How does LAV Audio manage to send a Dolby or DTS signal when the audio renderer isn't set to allow bitstreaming?

but I am still curious why I didn't just get silence when that option was unchecked.

If bitstreaming is unchecked, LAV decodes the Dolby or DTS stream to an uncompressed n-channel wav like stream. It can do this because ffmpeg supports decoding such streams to uncompressed n-channel wav-like stream.
No magic involved, just plain decoding ! :p

clsid
15th December 2017, 14:47
Intel specific DXVA mode for VP9:
https://forum.doom9.org/showthread.php?p=1827194

Might be worthwhile to add?

nevcairiel
15th December 2017, 14:59
If it has a specific mode, that usually means it also doesn't work like the normal mode.

aufkrawall
15th December 2017, 18:36
Do you have a discrete graphics card in that Haswell system?
Someone told me Firefox now used hybrid VP9 decoding on their system (Sandy Bridge + Radeon 290), maybe mpv is doing the same?
No discrete card. I think it's also entirely impossible that either a Sandy Bridge IGP or the R9 290 can do any VP9 decoding, Sandy Bridge IGP is garbage and so is the video decoder on Hawaii GPU.
hwdec=no in mpv also doesn't allow any doubts. ;)

el Filou
15th December 2017, 22:55
Note that I specified hybrid decoding, I know Hawaii's fixed-function decoder can't do VP9.

mclingo
17th December 2017, 12:56
remove