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

Asmodian
18th April 2018, 00:18
More information is likely required to make sense of your bug report.

What became incorrectly reproduced? All HTTP Live Streaming? How did you test it? Do you have an example we could test with to reproduce the issue? What player, hardware, OS, and driver versions are you using?
:thanks:

nevcairiel
18th April 2018, 13:39
Try with the latest nightly version, https://files.1f0.de/lavf/nightly/LAVFilters-0.71.0-32.exe, it may solve HTTP related issues.

Leader
18th April 2018, 20:34
Asmodian

What became incorrectly reproduced?
After the release of version 0.71, the "Youtube HLS" was incorrectly reproduced.
All HTTP Live Streaming?
Yes, all HLS.
How did you test it? Do you have an example we could test with to reproduce the issue? What player, hardware, OS, and driver versions are you using?
:thanks:
Just opened a link to the "YouTube HLS" in the "MPC-BE Player".

I can give an example and a playback algorithm for you:

1. Opened the YouTube HLS link: https://www.youtube.com/watch?v=yvdXkHuV0DE
2. Opened the properties of the "EVR-CP Video Renderer"
3. I found the following problems, look at the screenshot: http://ibb.co/giwRSS

It is these problems with HLS that arise in all subsequent night builds, after the release of version 0.71.

Leader
18th April 2018, 20:36
Try with the latest nightly version, https://files.1f0.de/lavf/nightly/LAVFilters-0.71.0-32.exe, it may solve HTTP related issues.
I checked this build. Unfortunately, there were problems with the HLS in it, they did not improve.

lvqcl
18th April 2018, 21:18
Not sure about those numbers, but if I press Ctrl+J ("Display Stats") I sometimes see drops in the graph like this: https://i.imgur.com/mxp07Tq.png (MPC-BE x64 1.5.2 build 3544, if it matters, and LAV 0.71.0-32)

Leader
18th April 2018, 21:46
Not sure about those numbers, but if I press Ctrl+J ("Display Stats") I sometimes see drops in the graph like this: https://i.imgur.com/mxp07Tq.png (MPC-BE x64 1.5.2 build 3455, if it matters, and LAV 0.71.0-32)

All right. These graphs just the same and indicate jerks of frames, during playback. And they are just the same and appear at the time of the jump in frame rate.

What does it mean to jump frames? This means that the frame rate is unstable and varies, for example, instead of 30 constant FPS, a jump to 31.5, or 32 and back to 28, which is already below 30. And this is naturally wrong. So it turns out some kind of warping, some interval (range) [~ 28 FPS -> ~ 32 FPS].

Schwartz
19th April 2018, 13:09
I can confirm that this happens since the version following 0.70.2.1-git. This, along with freezing. I made an issue about the other thing on GitHub and forgot about the weird frame stutter.

lvqcl
19th April 2018, 13:36
So, is it fixed on current nightly (0.71.0-34) ?
At least I can't see any stuttering on that Youtube HLS video.

ryrynz
19th April 2018, 13:47
Well you can tell us that, but those fixes do look to be directly related to this discussion, so..

nevcairiel
19th April 2018, 13:49
It would make it easier to just keep discussion of that HLS issue in the GitHub ticket:
https://github.com/Nevcairiel/LAVFilters/issues/199

As far as I can tell, the latest nightly (0.71.0-34) should greatly improve the situation.

pikaczu
20th April 2018, 08:29
Is LAV Filters fully compatible with x265 10bit? because I'm filming a film, scrolling with arrows on the keyboard.

Leader
20th April 2018, 09:51
nevcairiel

As far as I can tell, the latest nightly (0.71.0-34) should greatly improve the situation.

Yes, indeed, there are improvements, those problems, about which I wrote to you earlier, are no more. But there are still the following problems:

1. After switching to any video quality format, let's say from 720p to 480p, etc. and back, during streaming, the video starts to play jerky, correspondingly there are skipped frames, during playback.

2. After switching to any video quality format, let's say from 720 to 480, etc. and vice versa, the reproduction itself does not begin, i.e. switching occurred, and the video itself, the video frames themselves simply do not exist, they are on the spot. If you wait a while, they can appear and continue to play, but again the playback will be intermittent with skipping frames.

nevcairiel
20th April 2018, 09:53
LAV does not allow you to switch the variant during playback, so however you do that is probably outside of LAVs control and just ends up confusing it.

sneaker_ger
20th April 2018, 10:14
Is LAV Filters fully compatible with x265 10bit?
It can play the output of x265 10bit fine. If you want to seek within the file you should mux it properly so it has an index (e.g. using mkvmerge).

pikaczu
21st April 2018, 15:36
It can play the output of x265 10bit fine. If you want to seek within the file you should mux it properly so it has an index (e.g. using mkvmerge).

I have such movies. where to improve?

Klaus1189
21st April 2018, 15:54
Just remux the file(s) with MKVToolNix, nothing more. After that, you can seek properly. Issue done.

mzso
22nd April 2018, 14:52
Hello!

I just noticed (In Potplayer and MPC-HC) that the embededded WebVTT subtitles show up empty, I get nothing. Doesn't LAV Splitter support this format? The subtitles show up in MPV, and potplayer's internal matroska splitter.

Update:
I also tried the latest nightly. Didn't change things.

lvqcl
22nd April 2018, 15:30
Doesn't LAV Splitter support this format?

https://github.com/Nevcairiel/LAVFilters/issues/80

mzso
22nd April 2018, 15:43
https://github.com/Nevcairiel/LAVFilters/issues/80

Thanks for the link.
Doesn't look encouraging. Though I'd say seeing a subtitle is still better than having nothing at all. (Not sure where "directshow formats" com into play. The containers/players certainly support this format)

nevcairiel
22nd April 2018, 17:22
The containers/players certainly support this format

No DirectShow player that I know of supports it properly.

mzso
22nd April 2018, 20:10
No DirectShow player that I know of supports it properly.
I don't know about other players, but potplayer can certainly show vtt subtitles, even if the subs are embedded if I use its internal splitter. And I'm quite sure it used to work with internal subtitles also. I reported some bug with it more than a year ago. (And I've been using LAV for many years, so I would have noticed if it wasn't working then. I don't know hat happened in the meanwhile.)


For what it's worth I'm fine with it being treated as a simple text subtitles, it only has positioning as a notable extra anyway (which is rarely used on youtube ) which I explicitly don't want, because I usually have the text outside the image frame.

To me it's much more of a problem that I don't get any subtitles. ( and the subtitle appears to be empty/broken)

(I even have ASS/SSA formatting disabled, even though it's supported by the player.)

LigH
26th April 2018, 22:00
According to the installer, LAV Filters support AviSynth scripts. Does that also include pseudo AVI files created with makeAVIS, using the FourCC 'AVIS'? The video configuration does not expose a format option related to AviSynth. Just checking if it can completely substitute ffdshow for applications which don't support AviSynth scripts directly (e.g. by analyzing the file for supported container formats first), but possibly DirectShow decoders for AVI.

lord_muad_dib
1st May 2018, 14:31
hello, i'm new about lav filters, so, sorry if it's a rather stupid question, i searched for answers in this forum and found nothing about it.
i use the filter under wine, and all works great, really. but when i tried to edit settings with the lav panels (start menu links) it doesn't seem to save anything and the apply button is also grayed out. is it a normal behavior? do i need a 3rd party app to edit options?
i can edit stuff using regedit in H/C/U/software/lav but it is not practical of course and i didn't find a full list of keys i can add/edit

thanks for any help

nevcairiel
1st May 2018, 15:34
I'm sorry, but running under wine is neither tested nor supported. LAV is designed for Windows, you can probably find much easier options on Linux then running DirectShow codecs on Wine.

pikaczu
1st May 2018, 15:46
Is LAV Filters fully compatible with x265 10bit? because I'm filming a film, scrolling with arrows on the keyboard.

lord_muad_dib
1st May 2018, 16:39
I'm sorry, but running under wine is neither tested nor supported. LAV is designed for Windows, you can probably find much easier options on Linux then running DirectShow codecs on Wine.

oh, it's ok, fact is, wine supports the host media outputs and codecs to play videos on windows games but there's not a viable way to add codecs on the list in mac os (at least in the newer ones, perian worked in ancient osx versions).. so i'm stuck using filters inside wine itself. oh well, it's not a big deal. at least i can report that lav works great under wine(no noticeable lag in most video/audio formats, it's robust) as is so, i'll just keep editing the registry for now :) is there a list of registry keys of lav?
thanks for all your work, if you'll ever want to venture in wine support you'll have a tester :D

aufkrawall
1st May 2018, 21:05
To be on the safe side you could set up LAV Filters in a Windows VM and simply export its registry keys.

steakhutzeee
3rd May 2018, 13:02
Hi :)

I'm trying to configure Lav Splitter. For example i've this file with two audio tracks, one japanese and one english.
Starting the player, the english track is selected, even if i specify that jpn language goes first. Why this? What i'm missing?

https://s17.postimg.cc/jly13bylb/lav.jpg

Thanks!

nevcairiel
3rd May 2018, 13:25
Some players override LAVs stream choices. In that case there is nothing it can do.

steakhutzeee
3rd May 2018, 13:27
Some players override LAVs stream choices. In that case there is nothing it can do.

I'm using MPC-BE. Is this the case?
Posted a screen in my previous post.

Aleksoid1978
3rd May 2018, 13:32
I'm using MPC-BE. Is this the case?
Posted a screen in my previous post.

MPC-BE - go Options -> Playback and uncheck "Default track preference".

steakhutzeee
3rd May 2018, 13:42
MPC-BE - go Options -> Playback and uncheck "Default track preference".

Thanks, but it's unchecked yet :(

https://s17.postimg.cc/eto7rx6i7/mpc.jpg

LigH
3rd May 2018, 16:09
Furthermore, there are containers where you can flag streams to be the default among several (or even force their use, e.g. for subtitles); MKV supports such flags, here you would have to edit their header.

Pat357
3rd May 2018, 16:14
According to the installer, LAV Filters support AviSynth scripts. Does that also include pseudo AVI files created with makeAVIS, using the FourCC 'AVIS'? The video configuration does not expose a format option related to AviSynth. Just checking if it can completely substitute ffdshow for applications which don't support AviSynth scripts directly (e.g. by analyzing the file for supported container formats first), but possibly DirectShow decoders for AVI.

I guess a makeAVIS AVI can only be opened if ffdshow is installed.
What you can do is create a virtual AVI using the PISMO plugin (both AVS and Vapoursynth).
This virtual file can be opened by anything using a AVI VFW from the system.
It will not use LAV.

steakhutzeee
3rd May 2018, 18:10
Furthermore, there are containers where you can flag streams to be the default among several (or even force their use, e.g. for subtitles); MKV supports such flags, here you would have to edit their header.

I've no experience on this. How can i do?
Thanks.

So i can't use lav splitter "in automatic" with mpc be?

rizukitomi
4th May 2018, 03:48
hey, mind testing this video sample... because it's seek weirdly in my player...

i use LAVf 0-71-34... for player, i use MPC-BE... at first i thought it was player bug, but when i try it with potplayer, it's still seek weirdly...

when i uninstall LAVf splitter from 0-71-34 and reinstall LAVf splitter from 0-71, it's seek smoothly... and when i change the container to mkv, it's seek smoothly too... but when in mp4 container, it's seek weirdly... may i ask why ? is this bug ?

note :
# video sample i provide is : 720p h264 in mp4 container, i get it from some fansubs forum...

this is the sample : https://drive.google.com/open?id=18edu0WCzOLOelgR1M4NEe9SR84SGz6Ft

sneaker_ger
4th May 2018, 09:59
What does "weirdly" mean? Are you using LAV Video as well? If so, what decoder (software, D3D11, DXVA etc.)? Can you pinpoint the exact nightly version it was introduced? (I don't see anything weird with 0.71.0.34 and MPC-HC nor MPC-BE.)

steakhutzeee
4th May 2018, 10:40
Yep, as I can see, the preferred languages doesn't work with mpc be.

Can someone confirm this? So I'm sure I'm not doing something wrong.

sneaker_ger
4th May 2018, 10:45
No, I cannot confirm. Works fine here with LAV 0.71.0.34 and MPC-BE x64 v1.5.2 build 3586. I have "default track preference" ("Options"->"Playback") NOT ticked.

steakhutzeee
4th May 2018, 10:53
No, I cannot confirm. Works fine here with LAV 0.71.0.34 and MPC-BE x64 v1.5.2 build 3586. I have "default track preference" ("Options"->"Playback") NOT ticked.That's strange, I never had that option ticked and it doesn't works.

sneaker_ger
4th May 2018, 11:02
Filter list? ("Play"->"Filters" during playback.)

steakhutzeee
4th May 2018, 11:04
Lav splitter is loaded, in fact I manually select the audio and subs I want.Filter list? ("Play"->"Filters" during playback.)

sneaker_ger
4th May 2018, 11:09
Are you using the same MPC-BE build as me?

steakhutzeee
4th May 2018, 11:10
I'm using 1.5.2 build 3445 beta.
And lav filters 0.71 stable.

I checked yesterday for updates but I think it search on sourceforge.net where the latest version is the one I use :/

Are you using the same MPC-BE build as me?

sneaker_ger
4th May 2018, 11:16
I got mine from https://www.videohelp.com/software/MPC-BE . Not saying that is the cause, just checking to make sure you aren't using some 3 year old build but yours is pretty recent ..

steakhutzeee
4th May 2018, 13:25
I got mine from https://www.videohelp.com/software/MPC-BE . Not saying that is the cause, just checking to make sure you aren't using some 3 year old build but yours is pretty recent ..

In lav splitter i selected No Subtitles, but when i open a file, subtitles are loaded. So it's of course not working, but i can select audio e subtitles i want from the icon in the sys bar.

This is very strange, what could be the cause? :confused:

I don't understand, i disabled la splitter source and lav splitter but when i load a file lav splitter is loaded...

EDIT: ^This because i think lav starts automatically with mpc be. Now in fact i unistalled lav and reinstalled the latest nightly build, and without adding lav to external filters in mpc be, they starts automagically. Is this behavior normal?

So with the clean installation of lav i tried to select No Subtitles in Lav Filters but still subtitles are loaded. So i don't know...

mclingo
4th May 2018, 23:39
got an odd problem with LAV audio.

I cant bit stream for some DTS movies if I use LAV as external filters, doesnt seem to be any reason for this, ive tried several versions all the the same issue, some DTS movies play fine which is odd.

To give an example. If I install MPC-HC with stock settings and set it to bit stream using internal filters 0.71.25 everything plays ok

if I then use LAV filters externally, regardless of version I lose sound on some movies, just cant work whats going on.

Same happens in MPC-BE and KODI DS so its defo something with my PC or LAV filters.

I've dropped back a few AMD RX driver versions and this made no difference either, no idea whats going on, anyone any ideas?, here is the media info of one of the movies that wont play.


Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2 h 14 min
Bit rate mode : Constant
Bit rate : 1 509 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.42 GiB (13%)
Language : English
Default : Yes
Forced : No


I've also tried currently nightly.


EDIT - I should also say that I can play these movies fine with VLC /bitstream so its just LAV filters.


here is demo, I cant play this either -


https://we.tl/rbkIeKMHj6

steakhutzeee
5th May 2018, 00:01
got an odd problem with LAV audio.

I cant bit stream for some DTS movies if I use LAV as external filters, doesnt seem to be any reason for this, ive tried several versions all the the same issue, some DTS movies play fine which is odd.

To give an example. If I install MPC-HC with stock settings and set it to bit stream using internal filters 0.71.25 everything plays ok

if I then use LAV filters externally, regardless of version I lose sound on some movies, just cant work whats going on.

Same happens in MPC-BE and KODI DS so its defo something with my PC or LAV filters.

I've dropped back a few AMD RX driver versions and this made no difference either, no idea whats going on, anyone any ideas?, here is the media info of one of the movies that wont play.


Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2 h 14 min
Bit rate mode : Constant
Bit rate : 1 509 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.42 GiB (13%)
Language : English
Default : Yes
Forced : No


I've also tried currently nightly.


EDIT - I should also say that I can play these movies fine with VLC /bitstream so its just LAV filters.What's difference of using external filter lav or "internal?".

I have installed lav and noted that without adding it to external filters, it runs on its own when I play something. How possible?

mclingo
5th May 2018, 00:55
i suspect this wasnt LAV at all as I found several other issues also came back, I was getting HDMI loss coming in and out of 3D mode and blown out reds again with MADVR on 23p material. All issues now fixed with system restore.

suspect my GFX driver install got corrupted or something, I had a few pc crashes in the week caused by a faulty power adapter, I'm betting that caused it, I hadnt watched anything for a few days so I only spotted it today.

mclingo
5th May 2018, 18:25
@nevcairiel - i've found an issue i'd like your advice on. As stated I lost DTS bitstream playback on half my DTS collection, on further inspection it was all non DTS HD stuff which made me think of LAV filters again. I can reproduce this problem by ticking use DTS HD framing for all DTS types, i'm sure I usually have this ticked.

Should this be ticked, is this a bug, i've tried several LAV versions and all have the same issue, I also tried a few AMD drivers, of course this could be something wrong with my receiver or PC maybe.

What do you think?