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

Kotik
3rd June 2016, 21:56
Can somebody tell me why I'm able to use my GeForce for hardware acceleration only in DXVA2 copy-back mode?

Because as far as i remember DXVA Native can work only with ur primary and active vga.

So i guess ur monitor/tv is currently connected to your CPU iGPU.

VictorLS
4th June 2016, 13:29
nevcairiel
I have found software only Mainconcept HEVC Video Decoder 5.0.14.053 http://www.mediafire.com/download/kts8845luxkk1xq/mc0416.7z that pretty well for my purposes in DVBViewer - I see online slideshow of all UltraHD channels with good soundtrack when I set SkipPB and sometimes Synchronization Off instead off PTS in Mainconcept decoder's settings.
Why Mainconcept HEVC Video Decoder could not connect to LAV Splitter? Can you correct it because your LAV Splitter much more universal?

3421
6th June 2016, 00:21
I don't use hevc but I decided to watch. VictorLS if you are using the hevc decoding on CPU use http://xhevc.com/en/hevc/decoder/download.jsp I got minus 40% from 80-96% on the CPU (amd 3391x2 hz avx1). With Strongene Lentoid decoder I have ~40% on CPU on Win 32 bit, decoder without opencl with this file. Exemple file: encoder N-80129-ga1953d4 https://www.cubbyusercontent.com/pl/exemple.7z/_1beeecf5357647c5b44a3030b14ae001

UltraHD - hmm, look at, they have decoder: cpu + gpu on opencl.

filler56789
6th June 2016, 02:31
.......
Why Mainconcept HEVC Video Decoder could not connect to LAV Splitter?

Can you correct it because your LAV Splitter much more universal?

1) Because it was designed so by the Mainconcept developers? :)

2) If you pester the Mainconcept people, then maybe you'll get what you want.
The Lentoid HEVC decoder became "connectable" to LAV Splitter only after I sent an e-mail to Strongene themselves.

3421
6th June 2016, 03:40
I don't have hevc files, I have hevc files, just to see how they look. Me don't need 2-4K. 4K on the CPU is not really use not with vp9, not with h264/avc, not with h265. Maybe can only with cpu frequencies above 3000 Hz Phenom 2 x6 or Bulldozer x8, or multi-core Xeon processors with avx512 4k will work acceptable or not bad. I never thought about it seriously use 4k. About Lentoid HEVC I know about ~8 months.

Video hevc 1080p 25 fps 1000 kbit/sec with CPU load 3391x2 hz avx1 80-96% is too much. With Lentoid HEVC decoder minus 40-56%, decode on cpu.

I have so: Lentoid hevc decoder and lav hevc decoder use the CPU is 30-50% more intensive compared with lav h264/avc decoder (s/w). Checked files with the same resolution and with the same frame rate, and with the same bitrate.

VictorLS
7th June 2016, 18:56
filler56789
Thank you for your e-mail to Strongene.
3421
1. Lentoid (last three version) never decrease CPU load on my computer neither in XP nor in 7x64. I don't know why. You can try my files http://forum.doom9.org/showthread.php?p=1726845#post1726845
2. Only last v2.1.0.2_2015_12_02_r4644 of Lentoid can decode 10bit;
3. Even last Lentoid decodes bad in sat programs like DVBViewer both 8bit and 10bit (like Elecard HEVC Video decoder decodes 10bit in sat programs):

3421
8th June 2016, 00:22
VictorLS I сommented personal message.

Lentoid hevc decoder can't create miracles. Video 3840 x 2160 (4k) 50 fps 30 MB/s this much for normal decode on the CPU. Such video files need checked for 6 or 8 (not logical cores, real cores) core processor with a frequency above 3000 Hz. On their website they have information the test, with a maximum file size of 2560 x 1600 30 fps 32937 Kbit and tested on Win. 7 Cpu i7-2600 8GB RAM from a year 2013.11

With Lentoid HEVC decoder minus 40-56%, decode on cpu, for this file and this cpu: Video hevc 1080p 25 fps 1000 kbit/sec with CPU load AMD 3391x2 hz avx1 80-96% is too much. = ~40% with Lentoid HEVC decoder load cpu for this file hevc 1080p 25 fps 1000 kbit/sec.

VictorLS
8th June 2016, 06:29
VictorLS I сommented personal message.
I has answered.

Lentoid hevc decoder can't create miracles. Video 3840 x 2160 (4k) 50 fps 30 MB/s this much for normal decode on the CPU. Such video files need checked for 6 or 8 (not logical cores, real cores) core processor with a frequency above 3000 Hz.
I agree, middle Core i7 plays that files well.

kirakami
8th June 2016, 14:48
I would like these features implemented in LAV Filters: Normalize, Max Amplification 400% and Regain Volume.
Reason is sound is too low for my normal hearing on my sony headphone even with all volume settings on max and loudness equalization enabled in sound manager, equalizer did nothing too.
On ffdshow audio decoder with these settings enabled, my problem is solved but ffdshow is outdated.

http://i.imgur.com/A9RK3Mq.png

nevcairiel
8th June 2016, 14:54
I would like these features implemented in LAV Filters: Normalize, Max Amplification 400% and Regain Volume.
Reason is sound is too low for my normal hearing on my sony headphone even with all volume settings on max and loudness equalization enabled in sound manager, equalizer did nothing too.
On ffdshow audio decoder with these settings enabled, my problem is solved but ffdshow is outdated

Sorry, but there are no plans to offer volume processing like that.

amayra
8th June 2016, 17:21
there something is annoying me for awhile what is an advantage for using LAVFilters tMod (http://tmod.nmm-hd.org/LAVFilters/ ) over vanilla builds ?

3421
8th June 2016, 21:53
kirakami Use the "ffdshow raw audio processor" priority prefer, with the lav audio decoder or with another audio decoder.

Sparktank
9th June 2016, 04:58
there something is annoying me for awhile what is an advantage for using LAVFilters tMod (http://tmod.nmm-hd.org/LAVFilters/ ) over vanilla builds ?

Taro mentions the differences for his builds in an old blog post.
https://astrataro.wordpress.com/2014/10/22/lavfilters-tmod/
But that was back in 2014, now sure how the two builds compare today.

ashlar42
10th June 2016, 10:49
Some questions regarding deinterlacing.

1) Is there a quality difference between CUVID deinterlacing and what madVR uses for deinterlacing (which I guess it's DXVA2, judging from OSD info)? In favour of which approach?

2) Is Weston Complex supposed to be lighter on CPU usage than YADIF?

3) Is it supposed to lead to better results or simply different results and one has to judge subjectively?

Thanks nevcariel for all the good work you put in LAV Filters. If you are still in touch with tiben20, tell him Kodi users miss him enormously now that Aracnoz has thrown the towel on Kodi DSPlayer (we were missing him before too but now... it's a desperate situation).

DragonQ
10th June 2016, 12:59
Some questions regarding deinterlacing.

1) Is there a quality difference between CUVID deinterlacing and what madVR uses for deinterlacing (which I guess it's DXVA2, judging from OSD info)? In favour of which approach?
Both use the GPU's deinterlacing algorithms, so should be identical.

2) Is Weston Complex supposed to be lighter on CPU usage than YADIF?
Yes.

3) Is it supposed to lead to better results or simply different results and one has to judge subjectively?
Different for sure. Worse, IMO.

ashlar42
10th June 2016, 14:50
Both use the GPU's deinterlacing algorithms, so should be identical.Isn't CUVID using CUDA, thus being programmable and potentially different from standard built in DXVA deinterlacing? Otherwise I wouldn't understand why is deinterlacing through LAV only selectable when using CUVID and not when using DXVA2 CP with Nvidia cards.

Looking at your previous posts, do I understand correctly that you place hardware deinterlacing as the best solution?

huhn
10th June 2016, 15:23
DXVA deintelancing is possible too with DXVA decoding but lavfilter doesn't support that.

nvidia would be pretty dumb to write two different deinterlancer.

and who said that DXVA decoding can't use CUDA too. the hybrid decoder are using CUDA nearly for sure.

ashlar42
10th June 2016, 18:30
DXVA deintelancing is possible too with DXVA decoding but lavfilter doesn't support that.

nvidia would be pretty dumb to write two different deinterlancer.

and who said that DXVA decoding can't use CUDA too. the hybrid decoder are using CUDA nearly for sure.
Nobody said anything. I think I was pretty clear about my ignorance, by asking information here. :)

VictorLS
11th June 2016, 06:35
Nobody said anything. I think I was pretty clear about my ignorance, by asking information here. :)
nevcairiel did not answer my question (http://forum.doom9.org/showthread.php?p=1769481#post1769481) about Mainconcept too
I am sure he saw it
May be it is impossible to realize in LAV Splitter (but I am not believe in this version).

Kotik
11th June 2016, 06:39
Nev,

Thank you for implementing MVC support in .m2ts container i am happy to report that in your last nightly my 3D .m2ts files are indeed reported as 3D in madvr, BUT (there is always a "BUT" :D ) playback is jerky and picture is often getting corrupt with pixels and recovers after a while.

FYI same movie inside .ssif container is playing fine, the moment i remux it into .m2ts the issue appears.

nevcairiel
11th June 2016, 14:23
LAV only supports official Blu-ray m2ts files, if you remux them they probably do not match this strict specification anymore. So, don't. LAV does not support anything else.

Kotik
11th June 2016, 19:24
LAV only supports official Blu-ray m2ts files, if you remux them they probably do not match this strict specification anymore. So, don't. LAV does not support anything else.

Nev,

This is the FILE (http://www.filedropper.com/1_145) and somehow it is working fine in stereoscopic player which as far as i know is using a modified version of your splitter (not sure tho).

If you cannot implement it then i guess i will have to remux all my 3D movies once again with MakeMKV this time.....

PPPPark
12th June 2016, 05:14
nevcairiel,write a Subtitle Filter,LAV has stalled.

Aleksoid1978
12th June 2016, 05:26
Nev,

This is the FILE (http://www.filedropper.com/1_145) and somehow it is working fine in stereoscopic player which as far as i know is using a modified version of your splitter (not sure tho).

If you cannot implement it then i guess i will have to remux all my 3D movies once again with MakeMKV this time.....

Confirm. This file play fine with MPC-BE's Mpeg Source(with LAV Video + madVR = 3D playback), but not with LAV Source.

Kotik
12th June 2016, 11:53
Well it seems i got issues with 3D,

In order to test it i force MPC-HC to use EVR-CP and enable MVC decoding in Lav Video config.

Indeed Lav Video Decoder reports msdk mvc and since i am using EVR-CP i get a 2D video which is fine cause i am just testing for issues and issues i get.... lots of them actually, picture is getting corrupt and it is never smooth, mind u i am using a .sffi file so no remuxing.

Same video with Madvr and same issues. The difference here is that i have to pay attention to the video since i cannot activate graphs and observe them. But i do notice that max rendering times jump to 100+.

All this with latest stable Lav or the latest nightly, both give me same results.

The moment i disable MVC decoding in Lav Video everything is playing fine and smooth. Go figure.

I will go ahead and download Life Of Pi 3D full bluray and test it aswell.

LigH
12th June 2016, 14:15
download Life Of Pi 3D full bluray

Nope.

:readrule:

Kotik
12th June 2016, 14:35
Nope.

:readrule:

I already own a legal version of the movie which i remuxed, and since i want to test a non remuxed version i have to download it.

Original disk not at my office currently. So don't you worry.

Kotik
12th June 2016, 16:31
After futher investigation it seems that tsmuxer is corrupting mvc streams or lav splitter/mvc decoder dont like what tsmuxer is doing to the mvc stream.

I need to perform more tests but by the looks of, it if tsmuxer comes in contact with mvc then lav wont play it smooth. If on the other hand i remux a disc with makemkv or play directly the .ssif file then everything is fine.

Somehow stereoscopic player is able to play my 3d remuxes that were done with tsmuxer.

In any case i will perform more tests, but what i would like to know if Nev is willing to impliment .mvc support in .m2ts files in the future, if not then i will remux all my 3d discs with makemkv.

EDIT: I just now remuxed a movie a movie from .m2ts with mvc included (the one that lav doesnt like) to .iso and after that i remuxed the .iso to .mkv with makemkv and after that lav is working fine. My point is that lav doesnt like it if both h.264 and mvc are muxed into one .m2ts.

So question remains: are u planning in supporting h.264 and mvc muxed into a single .m2ts?

EDIT2: Mpeg Splitter from MPC-BE is able to properly handle H.264 and MVC inside a single .m2ts, so if i force it to be used instead of LAV Splitter then all my remuxes are playing smoothly.

nevcairiel
12th June 2016, 17:22
There are no plans right now to support anything but official Blu-ray streams or MakeMKV MVC-MKV files. Remuxing to m2ts makes no sense as you lose a bunch of extra metadata from the Blu-ray structure, not to mention that its really not a good format to store video in, so I have zero interest in such a format.

Kotik
12th June 2016, 17:51
There are no plans right now to support anything but official Blu-ray streams or MakeMKV MVC-MKV files. Remuxing to m2ts makes no sense as you lose a bunch of extra metadata from the Blu-ray structure, not to mention that its really not a good format to store video in, so I have zero interest in such a format.

Thanx for the reply.

baii
12th June 2016, 21:10
nevcairiel,write a Subtitle Filter,LAV has stalled.
What feature is lacking in existing subtitle filters?

Sent from my XT1575 using Tapatalk

kalehrl
13th June 2016, 07:13
Just a n00bie question.
How do I force MPC-HC to use separately installed LAV filters instead of the ones that came with it?

huhn
13th June 2016, 07:22
go to option -> external filters add all four lavfilter filter (lav* audio decoder, splitter, splitter source, video decoder) set them to prefer.

alternative or additionally go to options-> internal filters and uncheck everything.

for reason unknown i have to deselect all source filter or mpc-hc is always using the internal source splitter.

LigH
13th June 2016, 08:19
Disabling all internal decoders and source filters should be the first step to use system-wide installed DirectShow filters instead. Forcing external filters to be preferred is not necessary.

huhn
13th June 2016, 09:02
Disabling all internal decoders and source filters should be the first step to use system-wide installed DirectShow filters instead. Forcing external filters to be preferred is not necessary.

the number of installed directshow filters on a PC is unknown and there merit too. or with other word other directshow filter could be used for various reasons.

so preferring lavfilter is a reliable way to make sure it is used and not something else.

LigH
13th June 2016, 14:19
Reminds me on the duality of necessary and sufficient preconditions in maths. Disabling internal filters is certainly a necessary precondition to have MPC-HC use any external DirectShow filter. Preferring LAV Filters may be sufficient to ensure their use among all external filters, but only if the use of internal filters was disabled first.

robl45
13th June 2016, 14:23
I posted on the MadVR thread, thought maybe I should post here as well. I'm trying to get 3D MVC MKV working. I got a small test file from Kodi website and at first I was getting side by side coming up and it was using the mvc decoder in Lav. If I put my projector in side by side mode, it was giving me 3d. I updated my video drivers and now have the 3d option in windows and now when I try the file, windows switches into the 3d resolution. However the image on the screen is now one image but it appears to be just 2d. My projector is locking on and going into 3d mode, but the picture is just flat. I'm not sure what could be wrong at this point. Its also not exiting out of 3d resolution when the file is done.

nevcairiel
13th June 2016, 14:57
LAV just performs decoding, it has nothing to do with rendering the video in 3D on your screen. Decoding clearly works as you got 3D in SBS mode. Posting the same question in multiple areas of the forum is usually considered against the forum rules, just FYI.

robl45
13th June 2016, 15:07
LAV just performs decoding, it has nothing to do with rendering the video in 3D on your screen. Decoding clearly works as you got 3D in SBS mode. Posting the same question in multiple areas of the forum is usually considered against the forum rules, just FYI.

I wasn't sure which one could be causing the issue. So the lav is using the mvc decoder so its working correctly and I can rule that out correct?

nevcairiel
13th June 2016, 16:43
I wasn't sure which one could be causing the issue. So the lav is using the mvc decoder so its working correctly and I can rule that out correct?

If you got working SBS, then its working fine indeed.
You can always set madVR back to SBS mode to see that.

dbukhan
13th June 2016, 19:50
Hello,
Are HTTP Cookies supported by the LAV filters? It appears they are not supported in my first test.
Akamai sends Set-Cookie with a token in response to a request for a m3u8. If the next request does not have a cookie it is rejected by Akamai as a security measure.

Thanks!

NikosD
13th June 2016, 20:56
Microsoft added once again VP9 10bit (profile 2) support in DXVA specification.

https://www.microsoft.com/en-us/download/details.aspx?id=49188

Does Pascal or any other GPU support VP9 10bit HW acceleration ?

huhn
13th June 2016, 23:18
Reminds me on the duality of necessary and sufficient preconditions in maths. Disabling internal filters is certainly a necessary precondition to have MPC-HC use any external DirectShow filter. Preferring LAV Filters may be sufficient to ensure their use among all external filters, but only if the use of internal filters was disabled first.

the question was how to use an external installation of lavfilter not how to stop internal filter.

while preferring transform filters is enough for MPC-HC to use them it is not enough for source filters.

while MPC-BE is using the preferred filters even the source filter "correctly".

i guess it is time to ask in the MPC-HC thread.

baii
14th June 2016, 02:06
Mpc-hc using prefer option pick up external filter perfectly without the need to disable internal, at least on my end. So does most if not all direct show video player, like pot player etc.

Sent from my XT1575 using Tapatalk

clsid
14th June 2016, 18:27
TrueHD (with Atmos) is broken in current nightly.

Mercury_22
15th June 2016, 10:43
@NEV Are there any "telemetry codes" (https://www.reddit.com/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/) in the nightly / release ?

P.S. More info at "Visual Studio 2015 Secretly Inserts Telemetry Code into C++ Binaries" (http://news.softpedia.com/news/visual-studio-2015-secretly-inserts-telemetry-code-into-c-plus-plus-binaries-505113.shtml)

nevcairiel
15th June 2016, 10:53
@NEV Are there any "telemetry codes" (https://www.reddit.com/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/) in the nightly / release ?

P.S. More info at "Visual Studio 2015 Secretly Inserts Telemetry Code into C++ Binaries" (http://news.softpedia.com/news/visual-studio-2015-secretly-inserts-telemetry-code-into-c-plus-plus-binaries-505113.shtml)

Please stop with the FUD, the use of the word "telemetry" is entirely misleading. Those are debugging hooks, nothing else, and on top of all things it only applies to executables, not dynamic libraries.

DigitalLF
15th June 2016, 20:00
Hello!

I really want to be able to use bitstream for DTS and DD

But if there is a DTS-MA or TrueHD track those should be preferred and decoded!


Is this possible?

ddjmagic
16th June 2016, 09:15
I really want to be able to use bitstream for DTS and DD
But if there is a DTS-MA or TrueHD track those should be preferred and decoded!
Is this possible?

Yes, open LAV Audio settings and under Bitstreaming Formats uncheck DTS-HD and TrueHD and check DD and DTS.
Then open LAV Splitter settings and make sure "Prefer Audio Stream with the Highest Quality" is checked.

nevcairiel
16th June 2016, 10:58
Does Pascal or any other GPU support VP9 10bit HW acceleration ?

Pascal doesn't support it with the current drivers.
If the hardware can do it ... only NVIDIA knows.