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

nevcairiel
1st September 2014, 14:17
Is it possible to setup LAV Splitter to only deliver subtitles for a certain language to the player? (so no other subs are shown/selectable in the player)

No, it'll always show all subtitle streams in the selection.
The only behaviour you can influence is which it pre-selects when the file is opened.

ddjmagic
1st September 2014, 14:45
No, it'll always show all subtitle streams in the selection.
The only behaviour you can influence is which it pre-selects when the file is opened.

Thanks for the info :)

clsid
2nd September 2014, 00:16
You forgot to update "LAVFilters.Dependencies.manifest" with latest library versions ;)

Kurtnoise
2nd September 2014, 07:34
Same error occurs here with libopus using a fresh copy of the trunk...
This issue is still there...you prefer to have a ticket in the bugtracker ?

nevcairiel
2nd September 2014, 07:38
neither libopus nor speex use pkg-config in my ffmpeg version. They build just fine out of the box if you use my build scripts.

Kurtnoise
2nd September 2014, 07:45
You mean build_ffmpeg.sh script ? If yes, I used to use it...:o

clsid
2nd September 2014, 23:03
Btw, the pkg-config detection failure is due to the configure script looking for it with the same prefix as for GCC, while the MSYS package from xhmikosr only contains a plain pkg-config.exe.

nevcairiel
3rd September 2014, 04:41
Yeah but pkg-config is not needed, so that's irrelevant . :)
Usually you would have a wrapper script with the full tool chain name which then calls the original pkg-config, but as nothing uses it in the LAV build...

Mixer73
4th September 2014, 02:06
So from me I say "Thanks" to Hendrik for all his work and what he has done over the years. I really appreciate it.....even if at times I may have been also too assertive in championing my pet requirements :)

I have to second this. LAV Filters is a brilliant, fast, feature rich and stable package that has far surpassed the chaotic and unloved FFDShow.

nevcairel is blunt; but he earned the right to be, he created this of his own idea and all of his own time. He created something that increases the enjoyment I get out of watching shows all the time.

tuco76
4th September 2014, 14:28
Thank you.

foxyshadis
4th September 2014, 22:10
Let's get this thread back on a technical track, not a personal one.

tuco76
5th September 2014, 11:32
I take it from prev. posts, there's currently no nightly build available?
Searched myself, found nothing either.

Any update on this much appreciated!

huhn
5th September 2014, 12:19
I take it from prev. posts, there's currently no nightly build available?
Searched myself, found nothing either.

Any update on this much appreciated!

you can build them your self if i'm not mistaken and this one was posted by nev.
http://forum.doom9.org/showthread.php?p=1690300#post1690300

but what are you looking for?

tuco76
5th September 2014, 14:14
you can build them your self if i'm not mistaken

Honestly, the only time I actually build/wrote sth. so far was on my C 64, I think :p

I'm nowhere as deep into most of the stuff you guys chatting about here, I see a lot of reading coming my way :)
Anyway, since I'm currently stuck with a pretty limited notebook,
I greatly appreciate the slightest performance improvement ;)


and this one was posted by nev.
http://forum.doom9.org/showthread.php?p=1690300#post1690300

but what are you looking for?

That exactly :p, awesome!
Nev's post providing the links somehow slipped me doing thread search, it just gave me the posts mentioning it's improvements :)
Thanks a bunch!

SamuelMaki
8th September 2014, 08:53
Hey there! I am sorry to bother you guys, but somehow my LAV-filters installation is corrupted, and re-installing doesn't help! I get all kinds of colorful anomalies and sometimes whole screen is covered in one bright color. Using Microsoft codecs doesn't produce any of these, and I have tried multiple gpu-drivers and video renderers and -players. I would love to have some kind of advice how to manually clear every tiny bit of LAV-filters out of my system, so I can do a true "clean install" and see if it fixes anything. Or if you people have other advice?


E: I am sorry for offtopic, seems this is more wide problem in my system after all. Firefox and ffdshow brings the same problems, so feel free to ignore my rant.

filler56789
8th September 2014, 13:53
According to betaking's directory @ baidu,

LAV.Version == 0.63 already.

However the first post of this thread still hasn't been updated :confused:

clsid
8th September 2014, 14:05
@SamuelMaki
Your problems are directly related to you graphics card. Either something is wrong with the driver (settings) or there is a hardware problem with the card, such as overheating or damaged memory. Due to the random nature, it is most likely a hardware problem. Start with remove the dust from your computer case, and especially the fans.

You can monitor temperature with GPU-Z:
http://www.techpowerup.com/gpuz/

And a stress testing tool:
http://www.ozone3d.net/benchmarks/fur/

nevcairiel
8th September 2014, 14:17
According to betaking's directory @ baidu,

LAV.Version == 0.63 already.

However the first post of this thread still hasn't been updated :confused:

You shouldn't believe everything you see on chinese websites.

filler56789
8th September 2014, 14:56
You're right, that's not 0.63 yet, it's only 0.62.999999999 :D

nevcairiel
8th September 2014, 21:24
I don't control how other people name their binaries, but there is no 0.63, and since I don't name development versions any special .. my naming for the latest Git version would be 0.62-26-ga42436a .. ie. what git describe says. :p

jkauff
8th September 2014, 23:30
I don't control how other people name their binaries, but there is no 0.63, and since I don't name development versions any special .. my naming for the latest Git version would be 0.62-26-ga42436a .. ie. what git describe says. :p
Just curious. I know MPC-HC incorporates some of the latest dev builds in their nightlies, but what about JRiver? Could I play an HEVC clip in the MC player with good results?

nevcairiel
9th September 2014, 19:33
Mostly release builds, unless there is a pressing issue to use something else (only happened once, and it was a custom build based on last release + one patch :p). I don't consider HEVC of any importance to consumers yet, which is why i'm not falling over backwards to release a new version for every performance improvement. ;)
I have a few things I want to work on before the next version, and sadly time and other personal reasons did not permit me to do so to an extent as I would've liked, so its all a bit delayed.

truexfan81
10th September 2014, 06:05
Mostly release builds, unless there is a pressing issue to use something else (only happened once, and it was a custom build based on last release + one patch :p). I don't consider HEVC of any importance to consumers yet, which is why i'm not falling over backwards to release a new version for every performance improvement. ;)
I have a few things I want to work on before the next version, and sadly time and other personal reasons did not permit me to do so to an extent as I would've liked, so its all a bit delayed.

nevcairel you do a wonderful job with LAV, so if it takes a bit longer to keep the quality, its worth the wait.

thanks again

DigitalLF
11th September 2014, 18:33
Hello! i got a problem.. or well... a something that would make my life easier!

i got a home cinema and a bedroom tv both are connected to my computer and i lav decoder for audio but i have to downmix in my bedroom but not in my home cinema. is there way to do that in lav filter? nevcairiel?

nevcairiel
11th September 2014, 18:37
LAV supports downmix to stereo just fine. You should check the options. Not sure what you're really asking though.

DarkSpace
11th September 2014, 19:46
Hello! i got a problem.. or well... a something that would make my life easier!

i got a home cinema and a bedroom tv both are connected to my computer and i lav decoder for audio but i have to downmix in my bedroom but not in my home cinema. is there way to do that in lav filter? nevcairiel?
If I understand your problem correctly, you want to receive 2.0 in your bedroom, while simultaneously receiving 5.1 in your home cinema room.
I'm sure this can be achieved, but the place this should be done is not the software decoder, but rather the place that outputs the audio to your two sets of speakers.

This might be an AV System that your PC is connected to, in which case you have to make it downmix the 5.1 input to 2.0 for your bedroom speakers, while giving untouched 5.1 to your home cinema speakers.

This might be the Computer if you have both of these speaker sets connected directly to your PC, in which case you have to get Windows to output the audio to both speaker sets in different configurations.

This might be something different, depending on your setup, too, in which case you're probably better off asking somewhere specific to your component.


The only way I see to get 2.0 and 5.1 audio from LAV Audio simultaneously is to decode the same audio twice (i.e. open the movie twice) with different settings, and this is a waste of resources, at least.

romulous
12th September 2014, 13:07
Hi nev,

Question from Blight. Would you happen to know why LAV's property page will not show if the filter is unregistered with the system? The latest Zoom Player beta has added a feature to use local - ie not installed - filters. So basically if you copy the LAV dll's into a folder on a system where LAV is not installed, point Zoom to that folder, Zoom will then use them for playback. Playback works fine - it is just that we can't open LAV's property page.

Thanks.

romulous

nevcairiel
12th September 2014, 13:13
The property pages are registered COM objects, you can only create them if the filter is registered.
There is one way around that, and thats using ISpecifyPropertyPages2 (header included in LAVs developer_info folder), its what MPC-HC uses to get a direct instance of the property page without the need for COM to create it.

romulous
12th September 2014, 13:48
Ah, thanks. Blight tried a quick test of that, and it didn't work unfortunately. He said that it doesn't provide backward compatibility, so he will have to create the pages manually - that is going to take some work, so it has to go on the to-do list for a later time.

romulous

sneaker_ger
12th September 2014, 15:16
Where should we report HEVC decoding problems with the nightly you posted? Here, at OpenHEVC or at ffmpeg?

This sample (https://mega.co.nz/#!5xlinK5A!YmdKBFFA-PxHjrIzjKEOyZ4QrAWU17ShsCJMdBf4bbk) crashes for me some time within the first 20 seconds. Stable 0.62 seems fine. (Both 32 bit and 64 bit)
Core i7-860, Win 7

nevcairiel
12th September 2014, 15:19
I watched the entire thing with the latest development version and it seems fine. I'll post a new test build later.

Edit:
Here it is:

32-bit: http://files.1f0.de/lavf/LAVFilters-0.62-26-ga42436a.zip
64-bit: http://files.1f0.de/lavf/LAVFilters-0.62-26-ga42436a-x64.zip

sneaker_ger
12th September 2014, 16:31
That seems to fix it, thank you.

DragonQ
12th September 2014, 22:12
Hello! i got a problem.. or well... a something that would make my life easier!

i got a home cinema and a bedroom tv both are connected to my computer and i lav decoder for audio but i have to downmix in my bedroom but not in my home cinema. is there way to do that in lav filter? nevcairiel?

Sounds like something your receiver should be doing. Some of them, like mine, have a "zone 2" output that has separate settings; perfect for dual locations.

jkauff
13th September 2014, 07:45
Sounds like something your receiver should be doing. Some of them, like mine, have a "zone 2" output that has separate settings; perfect for dual locations.
If the OP doesn't have zones on the receiver, JRiver Media Center can do zones. Less expensive than a new receiver.

fairchild
13th September 2014, 20:58
Another option for DigitalL, is to do the following which is what I do. I setup 2 different folders on my computer both with MPC-HC or MPC-BE or whatever your media player of choice is. I then configure one of them with Lav for bitstreaming which I use when I'm outputting to my soundbar which decodes: 7.1 DTS, DTS-HD, Dolby TrueHD, Dolby Digital, and Dolby Digital Plus.

I then use the different installation of MPC-HC with it's Lav setup to downmix all to 2.0 which I use when listening through my headphones + sound card. (useful when watching stuff late at night and not wanting to disturb anybody)

cyberbeing
14th September 2014, 08:02
I'm getting weird behavior with mpc-hc and lav now and then. It's pretty rare, so I can't seem to reproduce it. Sometimes, jumping to next chapter in an mkv results in loss of audio. Jumping back to the start of the chapter "revives" it again. Any idea what could be causing this?

I have experienced similar loss of audio during seeking (doesn't have to be a chapter jump) from time to time, too. Reseeking would bring audio back.

Come to think of it, I've experienced that as well. It's kinda rare, though, and I wouldn't be able to reproduce it. Seems to happen at random.

Audio loss on seek happened randomly here as well. A few times actually. Another seek fixed it, of course, so I didn't even bother reporting until I saw you guys do. ;)
Using the built-in LAV Filters w/ the latest MPC-HC.
I have seen it happen a few times too. Only with AAC audio. It is pretty rare though.
I've experienced this too. Also with AAC. Not sure about other formats.

FWIW, this rare loss-of-audio seeking issue still exists in the LAV Filters 0.62-26-ga42436a test build nevcairiel posted yesterday. Reproduced it on the first MKV+AAC-LC video I played after updating, as a total fluke. Worth mentioning that I have 'Fast Seek' disabled in MPC-HC, no idea if this matters or not though, since no one else mentioned it.

DigitalLF
14th September 2014, 14:19
LAV supports downmix to stereo just fine. You should check the options. Not sure what you're really asking though.

im sorry.. What i meant was is there a way to automatically change from 2.0 (bedroom) and 5.1 (home cinema) depending on what screen is enabled?

the computer is connected to the bedroom with just a HDMI and the computer is also connected to a HDMI Switch for the Home Cinema so its 2 diffrent outputs.

this is basically all that is missing in my setup.. :/

fairchild
14th September 2014, 18:55
im sorry.. What i meant was is there a way to automatically change from 2.0 (bedroom) and 5.1 (home cinema) depending on what screen is enabled?

the computer is connected to the bedroom with just a HDMI and the computer is also connected to a HDMI Switch for the Home Cinema so its 2 diffrent outputs.

this is basically all that is missing in my setup.. :/

No there is no way to do that built into Lav, but I gave you a way to do it. You just have to do some work and open whichever media player you are sending at the time to whichever display.

ocyl
14th September 2014, 23:50
FWIW, this rare loss-of-audio seeking issue still exists in the LAV Filters 0.62-26-ga42436a test build nevcairiel posted yesterday. Reproduced it on the first MKV+AAC-LC video I played after updating, as a total fluke. Worth mentioning that I have 'Fast Seek' disabled in MPC-HC, no idea if this matters or not though, since no one else mentioned it.
I have "Fast Seek" disabled in MPC-HC, too.

nevcairiel
15th September 2014, 11:42
Its really impossible to reproduce this problem reliably, and as such impossible to fix it reliably as well. How do I know its fixed and not just not happening at the moment.
In any case, I applied some changes to how AAC is handled after a seek, maybe we get lucky. Assuming its actually in LAV Audio, and not in LAV Splitter.

NikosD
16th September 2014, 07:30
This clip seems unplayable by both MPC-HC & LAV filters (external) using latest nightly versions.
http://trailers.divx.com/hevc/TearsOfSteel_4K_24fps_9500kbps_2aud_9subs.mkv

nevcairiel
16th September 2014, 08:24
The file is invalid, seems like it was created before the spec was finalized.

NikosD
16th September 2014, 08:59
Thanks.

Then it makes me wonder two things.

Why they still have it on-line (available for download) and if their own DivX HEVC decoder/plug-in or any other decoder can play it.

I tried Pot and Strongene's OpenCL and they couldn't.

ocyl
16th September 2014, 09:30
Its really impossible to reproduce this problem reliably, and as such impossible to fix it reliably as well. How do I know its fixed and not just not happening at the moment.
In any case, I applied some changes to how AAC is handled after a seek, maybe we get lucky. Assuming its actually in LAV Audio, and not in LAV Splitter.
Thank you, nevcairiel. Hopefully we do get lucky with it.

huhn
16th September 2014, 12:47
Thanks.

Then it makes me wonder two things.

Why they still have it on-line (available for download) and if their own DivX HEVC decoder/plug-in or any other decoder can play it.

I tried Pot and Strongene's OpenCL and they couldn't.

they created a mkvmerge version that could handle these file with there splitter way be for the spec was finished.

so there splitter/decoder may still be able to do it.

sebas_led
16th September 2014, 17:24
Hi Nev:
I've noticed that you are including swscale-lav-3.dll into current LAV distro.
There is a way to use it, ie pre-configuring in the registry, creating a config.ini, COM accesing, so videos are automatically scaled to a predefined resolution?

Thanks in advance.

nevcairiel
16th September 2014, 17:26
No, LAV does not scale the video. The library is only used to scale the chroma if required for output (ie. the video renderer doesn't accept anything else).

sebas_led
16th September 2014, 19:25
No, LAV does not scale the video. The library is only used to scale the chroma if required for output (ie. the video renderer doesn't accept anything else).

Thank's Nev! I will try to use Elecard.

tuco76
17th September 2014, 11:23
When setting up LAV Video Decoder with MadVR, I noticed Dithering Mode is set to Random in LAV by default, against Ordered in MadVR. From testing, I couldn't tell a difference switching those, so far.
Is it preferable choosing matching modes? Does that play a part anyway, concerning PQ/performance ?
(Error Diffusion in MadVR is not an option here, makes my GPU break sweat)..

nevcairiel
17th September 2014, 11:28
With madVR, LAV will never perform any dithering. Dithering in LAV is only performed when required, ie. when converting from 10-bit to 8-bit.