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

petran79
9th November 2012, 16:11
@petran79

Judging by your screenshots, you probably have both xy-VSFilter (DirectVobSub) as well as PotPlayer's Internal Subtitle Renderer enabled at the same time. You should uncheck "Show Subtitles" in Pot Player's settings to disable the ISR if you are using xy-VSFilter. xy-VSFilter doesn't support 10-bit 4:4:4, so LAV Video will output dithered RGB32 (or AYUV in the next xy-VSFilter stable release) by default on such videos.

Only the opposite seems to work, namely disabling xy-vobsub filter.
thanks! at least I know the reason now.

nevcairiel
9th November 2012, 16:26
...also tested in VLC. Navigation worked. Remember you need to navigate to the title menu (alt+t) before the paramount trailer ends or it will just stop.
http://www.mediafire.com/download.php?xal1wd95k5va4dr

Thanks for the sample, it works fine now.
Should be fixed in the next version. Was more annoying of a bug then i expected...

aufkrawall
9th November 2012, 18:19
Hmm, I wanted to ask something once..
Can't recall it yet, will come back on it later. :D
Got it now. :)

Do frames still have to be copied back with CUVID & madVR instead of DXVA2 CB?
Because with the latter one RAM consumption is significantly higher, also CPU usage is a little.

nevcairiel
9th November 2012, 18:33
Both CUVID and DXVA-CB need copying to the system memory from the GPU. CB might use a bit more memory because different handling of the processing flow.

aufkrawall
9th November 2012, 19:33
Thanks.

Guess I'll stick to CUVID now with a 670 since madVR Jinc makes it enter P0 state anway. :D

6233638
9th November 2012, 19:49
Guess I'll stick to CUVID now with a 670 since madVR Jinc makes it enter P0 state anway. :DI don't think that should be happening. I just recently switched from CUVID to DXVA2 copy-back for some additional power savings now that CPU power saving is also working well in Windows 8. (in Windows 7, my system had a tendency to only switch between minimum and maximum clockspeeds, and not always clock up when required, so I just disabled all power saving options)

Using Jinc 3 with the anti-ringing filter enabled for both Chroma and Luma upscaling, my 570 stays in P8 with DXVA2 copy-back, whether I'm upscaling 360p, 480i, 576i, 720p, or 1080i content. Even upscaling 1080i content above 1080p resolution stays in P8. (though I would normally display 1080i/p at 100%)

Edit: to be clear, it starts in P0 but drops to P8 after about 10 seconds of playback. (I guess after it fills the queues?) Happens when switching to/from fullscreen exclusive mode too.

aufkrawall
9th November 2012, 22:53
I tested with Jinc4 AR for chroma upscaling and Lanczos8 AR for luma downscaling with 1080p30 downscaled to 720p.
GPU usage is very high, around 45% (thanks to Kepler boost still not full clock).
I can't play 4k video with that config, GPU is at 99%. :D

With Jinc3 and Lanczos3 everything's fine with 1080p30, stays in a low power state.

cyberbeing
9th November 2012, 23:41
Only the opposite seems to work, namely disabling xy-vobsub filter.
thanks! at least I know the reason now.
Yes, if you wanted to have 10bit/16bit 4:2:2 or 4:4:4 output dithered to 8-bit by madVR instead of dithered by the video decoder, you would need to disable xy-VSFilter. Either way, dithering methods should be the only visual difference you'd potentially notice. The eventual plan is to support high bitdeph 4:2:2 & 4:4:4 colorspaces in xy-VSFilter, but other things have higher priority at the moment. Since you use madVR already, the new subtitle interface we've been working on will hopefully become a viable option in the near future, and allow videos of any colorspace to be used with xy-VSFilter.

nevcairiel
10th November 2012, 09:33
LAV Filters 0.53.1

LAV Video
- Fixed initial media type when YADIF is active
- Fixed an image corruption issue with DVD playback
- Improved handling of DVD menus on some discs
- Reduced decode latency with CUVID/DXVA2-CB on DVDs for smoother playback in some situations
- Added an option to toggle HW decoding for DVDs


Download: Installer (both x86/x64) (http://files.1f0.de/lavf/LAVFilters-0.53.1.exe) -- Zips: 32-bit (http://files.1f0.de/lavf/LAVFilters-0.53.1.zip) & 64-bit (http://files.1f0.de/lavf/LAVFilters-0.53.1-x64.zip)

Another pass of DVD improvements, i consider DVD playback pretty stable now.
Only known "issue" is a very small glitch that occurs when a menu animation loops, because 1-2 frames are being dropped. The way the DVD playback chain operates, i'm not sure it can be easily fixed.

Please let me know if you still encounter any DVD issues, in the menu or otherwise.
If you still have a problematic menu, you can extract only the menu from a DVD by simply zip'ing up all the IFO/BUP files, the VIDEO_TS.VOB, and all VTS_xx_0.VOBs (VTS files ending with 0 are for menus, 1 and above are content).

Have a good weekend.

Sebastiii
10th November 2012, 10:07
Thanks :)

mark0077
10th November 2012, 12:41
Thanks Nev!

Skibicki
10th November 2012, 13:46
Thanks, this update gave a nice performance boost.

Without A Paddle DVD

Setup
MPC-HC 1.6.5.6174 – audio switcher off – internal filters off + LAV Filters 0.53.1 – mixing on

Working
EVR, avcodec
EVR, dxva2n – no menu highlighting
EVR CP, avcodec
EVR CP, dxva2n – same as EVR

Broken
dxva2cb (all renderers) - play button works but delayed, all others menus behave identical to previous bug reportWithout A Paddle DVD is getting stuck on the title menu.
- go to title menu
- hit scene selection
The title screen image will be frozen but when the mouse is moved a finger pointer appears when hovering over the spots where scene numbers would be.

VMR9 R (all decoders) - blank video/only audio during trailers

nevcairiel
10th November 2012, 14:09
I fixed DXVA2 CB, it wasn't properly flushing the image out of its display queue.

For the other points:
- dxva2n is not supposed to show menu overlays at this time
- VMR9 works fine for me (and since you seem to be on Win7, there is no reason to even try to use it)

CiNcH
11th November 2012, 10:20
LAV Video 0.53.1 falls back to 'avcodec' for H.264 it seems, avoiding the 'QuickSync' decoder, see atached image. LAV Video is used inside the DVBViewer for live streams. Splitter is the DVBViewer's own DVB Source filter.

LAV Video 0.51.3 works fine.

nevcairiel
11th November 2012, 10:50
Will be fixed in the next version.

PS:
For the record, attachments take very long to be approved here, so avoid using them.

nevcairiel
11th November 2012, 13:37
LAV Filters 0.53.2

LAV Video
- Fixed DVD menu still frames with DXVA2 Copy Back
- Fixed Live TV playback with QuickSync


Download: Installer (both x86/x64) (http://files.1f0.de/lavf/LAVFilters-0.53.2.exe) -- Zips: 32-bit (http://files.1f0.de/lavf/LAVFilters-0.53.2.zip) & 64-bit (http://files.1f0.de/lavf/LAVFilters-0.53.2-x64.zip)

Nothing big in this version, two small fixes that should make a good stable version now.

Please let me know if you still encounter any DVD issues, in the menu or otherwise.
If you still have a problematic menu, you can extract only the menu from a DVD by simply zip'ing up all the IFO/BUP files, the VIDEO_TS.VOB, and all VTS_xx_0.VOBs (VTS files ending with 0 are for menus, 1 and above are content).

Take care.

husmoaschta
11th November 2012, 15:46
Hi!

The filters are doing a great job in my system except one thing:
Using LAV-Video in (any) TV-Software sets my Deinterlacing back to BOB in CCC (HD7950).

Any hints on that?

nevcairiel
11th November 2012, 16:26
LAV does not influence any of your drivers settings.

husmoaschta
11th November 2012, 17:15
LAV does not influence any of your drivers settings.

But when I use the PDVD12-Codec, the DeInt stays at VA ...

MarkT
12th November 2012, 00:55
H.264 live video is fixed with QuickSync decoder. Impressive bugfixing skills. ;-) Pretty solid release I'd say. Thanks!

MarkT
12th November 2012, 01:29
75 #define IDC_LBL_FORMATS 1065
76 #define IDC_HWACCEL_MPEG2_DVD 1065

Duplicate ID not a problem?

Skibicki
12th November 2012, 02:39
The Bad News Bears (1976) DVD
Looks like a player problem. The DVD had copy protect errors with internal filters, LAV Filters and Windows defaults codecs. Decrypting fixed it. I may need some advice on getting a video sample.

working
LAV Filters 0.53.2
EVR CP - dxva2cb
EVR CP - avcodec
intenal filters
EVR, audio switcher on


broken
LAV Filters 0.53.2
EVR CP, dxva2n - copy-protect fail
EVR, dxva2cb - MPC - HC hangs after opening
EVR, dxva2n - copy-protect fail
EVR, avcodec - copy-protect fail
internal filters
EVR CP - copy-protect fail
EVR, audio switcher off - copy-protect fail

RealSnoopyDog
12th November 2012, 08:05
Using LAV-Video in (any) TV-Software sets my Deinterlacing back to BOB in CCC (HD7950).
This is a bug in some ATI drivers. Sometimes, the value for deinterlace mode is still correct, but the CCC shows something wrong.

nevcairiel
12th November 2012, 09:34
75 #define IDC_LBL_FORMATS 1065
76 #define IDC_HWACCEL_MPEG2_DVD 1065

Duplicate ID not a problem?

Since those two are not used on the same properties page, its not a problem, but i'll change it anyway, thanks.

ice25
12th November 2012, 11:31
Is there a way to toggle between different subtitles within a file during playback with a keybind?

husmoaschta
12th November 2012, 11:36
This is a bug in some ATI drivers. Sometimes, the value for deinterlace mode is still correct, but the CCC shows something wrong.

Do you know the registry-value, where I can check this?

THX

mastan
12th November 2012, 16:49
Is there a way to toggle between different subtitles within a file during playback with a keybind?
"S"/"Shift-S" in MPC HC.

AndreaMG
12th November 2012, 20:13
Thanks Nev for the new dvd hardware/software decoding option

CiNcH
12th November 2012, 20:16
Got a question concerning DVD's copy protection... I can see that LAV uses DeCSS. How about ARccOS? Is it still used on recent DVD's? Does LAV or DeCSS handle this properly?

nevcairiel
12th November 2012, 20:40
The DeCSS code is never used, the DVD Navigator decrypts the disc already.

Incendia
13th November 2012, 00:57
Not sure if this is the right place to ask, but is there any way to make Sony Vegas and/or Adobe Premiere use these for decoding mp4 files? I'm trying to archive some UTCodec YUV422 (ULY2) files as H264 High 4:2:2 using x264, but Vegas refuses to read the video ( Instead showing a green frame ), while Premiere Pro seems to offset color channels or something ( See : http://imgur.com/a/su1EJ ).
As expect, 10bit support is even worse, so I'm not even considering it.

roytam1
13th November 2012, 00:59
@nev:
is git.1f0.de git protocol closed?

$ git pull
fatal: unable to connect to git.1f0.de:
git.1f0.de[0: 178.63.14.197]: errno=No such file or directory

$ telnet git.1f0.de 9418
Trying 178.63.14.197...
telnet: connect to address 178.63.14.197: Connection refused

6233638
13th November 2012, 01:53
I don’t know if it is a problem specific to LAV or the disc, but the menus for Vanilla Sky are very slow and unresponsive. Most other DVD menus now react immediately when you mouse over them.

I have a few others that have a slightly delayed response, but nothing so bad as this.

How can I extract the menus to send them to you? (I am running AnyDVD if that helps)
I'm currently going through my whole DVD collection to see if there are any other titles like this.

SamuriHL
13th November 2012, 02:08
Nev tells you exactly how to extract the menus...


If you still have a problematic menu, you can extract only the menu from a DVD by simply zip'ing up all the IFO/BUP files, the VIDEO_TS.VOB, and all VTS_xx_0.VOBs (VTS files ending with 0 are for menus, 1 and above are content).

6233638
13th November 2012, 03:36
Nev tells you exactly how to extract the menus...Sorry, I do try to stay current on this topic, but must have missed that.

http://www.datafilehost.com/download-3deb86b9.html

dansrfe
13th November 2012, 06:01
Is there a way to toggle between different subtitles within a file during playback with a keybind?

If you're using MPC-HC there is a keyboard shortcuts page.

Hampton
14th November 2012, 12:37
Works well: DVBViewer + ATi 6450.

Thanks Nev.

sexus
14th November 2012, 20:49
woah what i hear , dvd support ..am i dreaming? could it be true finally!!!! , no more need for ffdshow video decoder then wohoo!!!

nevcairiel
14th November 2012, 21:05
I don’t know if it is a problem specific to LAV or the disc, but the menus for Vanilla Sky are very slow and unresponsive. Most other DVD menus now react immediately when you mouse over them.

It mostly depends on how the menu is setup. This menu for example looks like a static image, but its still encoded as a movie at 25 fps, simply showing the same image over and over.

Because of queueing in the renderer, this can result in higher reaction times, especially if you use madVR - it queues a lot more (also depends on your queue settings in madVR)

A movie with an actual still-frame menu will simply repaint this frame on demand, and because there are no other frames to queue, it shows faster.

sneaker_ger
14th November 2012, 22:36
Is there no way to tell madVR to flush the queue?

Superb
15th November 2012, 00:53
Nev, maybe LAV Video could set madVR to use half (or even less) the buffers when showing the menu? and then revert to the original values when the main title starts...

STDMETHOD_(BOOL, SettingsGetInteger)(LPCWSTR path, int* value) = 0;
STDMETHOD_(BOOL, SettingsSetInteger)(LPCWSTR path, int value) = 0;

(set the following to lower numbers)
// gpuQueueSize, GPU queue size, integer, 4..24
// backbufferCount, no of backbuffers, integer, 1..8
// preRenderFrames, no of pre-presented frames, integer, 1..16
// backbufferCountExcl, no of backbuffers, integer, 1..8


STDMETHOD_(BOOL, SettingsGetBoolean)(LPCWSTR path, BOOL* value) = 0;
STDMETHOD_(BOOL, SettingsSetBoolean)(LPCWSTR path, BOOL value) = 0;
(set the following to false)
// delayPlaybackStart2, delay playback start until render queue is full, boolean
// delaySeek, delay playback start after seeking, too, boolean

madshi
15th November 2012, 10:26
Nev, maybe LAV Video could set madVR to use half (or even less) the buffers when showing the menu? and then revert to the original values when the main title starts...
That's a bit "dangerous" because changing settings this way is a global change that is stored to disk, so if playback crashes for some reason, the "half buffers" would stay the new setting forever. That is until the next playback session, when LAV would half the queue size again, which after the next crash would become the new settings.

Right now madVR cannot detect when LAV changes the DVD menu, if the menu is a video file (and not a still frame). This problem would be solved if LAV used the new subtitle interface. Then madVR would know when the menu changed and could internally flush the queue to make the menu react quicker.

sexus
15th November 2012, 10:39
you should let nevcairiel know about this new subtitle interface

madshi
15th November 2012, 10:44
He knows about it. Actually he already mentioned that he's considering using it for the DVD menus.

nevcairiel
15th November 2012, 12:59
This problem would be solved if LAV used the new subtitle interface. Then madVR would know when the menu changed and could internally flush the queue to make the menu react quicker.

How would it actually solve it?
Doesn't the renderer poll for subtitle frames, or did i miss an API to push changes? Doesn't seem like it really allows better low-delay handling then my current way of doing things.

There is also the problem of still-frame redraws, i'm not sure how the interface really solves that.
Your OSD interface on the other hand could manage all that.

Dion
15th November 2012, 14:02
Seem to be having a problem with LAV Filter reading subtitle flags inside an MKV file. It seems to load them regardless if I set. No Subtitles, Default or Only Forced.

I am using MPC-BE so that could be to blame?

LAVFilters-0.53.2 & MPC-BE.1.0.3.1.1239.x86

nevcairiel
15th November 2012, 14:03
MPC-BE has some "features" that override LAVs stream decision.

sexus
15th November 2012, 14:05
interesting perhaps this could be fixed , am a avid mpchc be user myself

nevcairiel
15th November 2012, 14:06
Nothing that can be fixed by me. If the player chooses a stream after LAV has already done its choice, its out of my hands.

Dion
15th November 2012, 14:32
I can confirm it doesn't affect MPC-HC. So probably not an issue with LAV. Guess I will just keep using HC.