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

clsid
9th June 2012, 14:46
With the K-Lite pack subtitles will work properly for .mkv files in WMC. Both embedded and external. It uses a special tweak to achieve that. With the shark pack you need to sometimes change decoders, which means you can't always use LAV Video.

Hera
9th June 2012, 17:25
When using DXVA native, it seems that certain video encodes (cropped issue?) refuse to play compared to Copy Back mode. Fallback to CPU issue?

Also, is it possible to make video codec refuse if DXVA fails?

Thanx

woody777
9th June 2012, 20:33
With the K-Lite pack subtitles will work properly for .mkv files in WMC. Both embedded and external. It uses a special tweak to achieve that. With the shark pack you need to sometimes change decoders, which means you can't always use LAV Video.

Thanks. Do you know what K-Lite tweaks?

Shark007
9th June 2012, 21:32
Thanks. Do you know what K-Lite tweaks?

woody, I doubt clsid is of much help beyond promoting Klite since he is the klite author.
On the up-side, my next release will support using the lav decoders/splitter along with loading vobsub in Media Center.
I will make the release later today or early tomorrow.

woody777
9th June 2012, 22:00
woody, I doubt clsid is of much help beyond promoting Klite since he is the klite author.
On the up-side, my next release will support using the lav decoders/splitter along with loading vobsub in Media Center.
I will make the release later today or early tomorrow.

Really? Outstanding! I will look for your next release. Thank you, Shark!

jmone
10th June 2012, 00:30
For nvidia (550Ti) using LAV Video CUDA decoding with MADVR... what is the current "recomended" driver as I'm still on 285.62 (eg is the Latest OK or are there any issues?).
THanks
Nathan

golagoda
10th June 2012, 01:03
For nvidia (550Ti) using LAV Video CUDA decoding with MADVR... what is the current "recomended" driver as I'm still on 285.62 (eg is the Latest OK or are there any issues?).
THanks
Nathan
The latest WHQL driver 301.42 is the best driver to use currently as it fixed MPEG-4 ASP cuvid decoding and madVR works perfectly fine with it now as all madVR problems with the older 300 series drivers were also fixed.

bejita7
10th June 2012, 15:47
When ordered chapters/hard linking and editions in matroska container will be supported like in haali splitter?

aufkrawall
10th June 2012, 16:38
I think the latest state was not so soon or never.

wanezhiling
10th June 2012, 16:43
:) I need a tray, maybe it's never implemented though..

aufkrawall
10th June 2012, 18:06
:) I need a tray, maybe it's never implemented though..
For good reason, imho. :)
I find downmixing and DVD support are much more substantial.

jmone
10th June 2012, 22:19
The latest WHQL driver 301.42 is the best driver to use currently as it fixed MPEG-4 ASP cuvid decoding and madVR works perfectly fine with it now as all madVR problems with the older 300 series drivers were also fixed.

Thanks

rack04
11th June 2012, 14:50
I'm trying to bitstream DTS-MA to my Onkyo TX-SR606. I have LAV Splitter set up to bitstream all formats. I have arcsoft installed and dtsdecoderdll in the LAV Filters directory. The problem is that when the HDMI cable is plugged in the LAV Audio isn't in the filter chain. If I disconnect the HDMI cable LAV Audio is used to decode. What am I missing?

Portioli
11th June 2012, 16:48
AFAIK, Onkyo 606 does not support dts-hd MA.

If you want to use lav audio + arcsoft's .dll you have to uncheck dts-hd ma & dolby TrueHD boxes.

You also have to use reclock as audio renderer.

SamuriHL
11th June 2012, 16:52
Um, as much as I hate the Onkyo 606 personally, it most definitely supports DTS-HD MA. You don't need the arcsoft dll to bitstream.

rack04
11th June 2012, 16:56
AFAIK, Onkyo 606 does not support dts-hd MA.

If you want to use lav audio + arcsoft's .dll you have to uncheck dts-hd ma & dolby TrueHD boxes.

You also have to use reclock as audio renderer.

Why do I "have" to use Reclock? Also, I don't see a check boxe for DTS-HD MA in the LAV Audio dialog.

robpdotcom
11th June 2012, 21:07
You don't have to use Reclock to bitstream anything - in fact, it's not recommended for bitstreaming.

The check box for DTS-HD is in the LAV Audio configuration, under audio settings. Check DTS, and then DTS-HD will be available to check off (you must check off both). Also, make sure DTS is checked off in the formats section.

rack04
11th June 2012, 21:16
You don't have to use Reclock to bitstream anything - in fact, it's not recommended for bitstreaming.

The check box for DTS-HD is in the LAV Audio configuration, under audio settings. Check DTS, and then DTS-HD will be available to check off (you must check off both). Also, make sure DTS is checked off in the formats section.

Thanks. There in no DTS listed in the formats section. Also, I'm wondering if I'm having troubles because I'm using Windows XP.

robpdotcom
11th June 2012, 22:57
Thanks. There in no DTS listed in the formats section. Also, I'm wondering if I'm having troubles because I'm using Windows XP.

Woops. Look for DCA (DTS Coherent Accoustics).

Andy o
12th June 2012, 02:13
I don't think it's possible to bitstream DTS-HD and TrueHD with XP.

SamuriHL
12th June 2012, 02:14
I don't think it's possible to bitstream DTS-HD and TrueHD with XP.

With nVidia and AMD, no. With a Xonar, yes.

Andy o
12th June 2012, 05:03
In the case of the Xonar, it requires extra setup with the Arcsoft renderer AFAIK, so he still can't bitstream just with LAV. My money is on XP being the problem.

rack04
12th June 2012, 05:07
I have TMT5 trial installed and I copied the dtsdecoderdll into LAV Filters directory. How do I tell if LAV Audio is using ArcSoft to decode DTS-HD MA?

nevcairiel
12th June 2012, 06:50
I have TMT5 trial installed and I copied the dtsdecoderdll into LAV Filters directory. How do I tell if LAV Audio is using ArcSoft to decode DTS-HD MA?

Look at the status page of LAV Audio.
The value under "Codec" will show you:
- "dca" is the ffmpeg decoder
- "dts-hd ma" or any other combinations with "dts-hd" is the ArcSoft decoder

STaRGaZeR
12th June 2012, 16:04
nev, I just found an aspect ratio issue when using LAV and DVBViewer. It only happens when a certain combination of filters is used, so I don't know if it's LAV or DVBViewer's fault.

The issue is as follows: MPEG-2 channel, 720x576, 16:9.

LAV Video + EVR = Image is deformed to 4:3, like in here (http://i47.tinypic.com/f0bsc9.jpg)
LAV Video + EVR Custom = No issues
Microsoft's decoder + EVR = No issues
Microsoft's decoder + EVR Custom = No issues

Here I only have MPEG-2 SD and H.264 HD channels, only happens in MPEG-2 channels.

Any suggestions?

nevcairiel
12th June 2012, 16:17
Does the problem also show with recorded files so that i can check it?

Otherwise, use EVR Custom? :D

nevcairiel
12th June 2012, 16:57
I suspect a regression in Lavaudio when opening a DVD folder via the .IFO file.
MPC-HC consistently crashes (all versions I've tried) if I open the .IFO file from the \VIDEO_TS folder.

Fixed

STaRGaZeR
12th June 2012, 19:15
Does the problem also show with recorded files so that i can check it?

Otherwise, use EVR Custom? :D

Just recorded some of the offending footage, it plays fine in all situations, inside DVBViewer and in any other DS player. I can only reproduce by playing a live channel. The source filter reports 16:9 as it should, it's really strange. After changing channels I can see that it displays (very fast) at least 1 frame in 16:9, then changes to 4:3. Version 4.9.5.0 BTW.

I was using EVR Custom until now, but it stutters a bit here and there while vanilla EVR doesn't. And with all the sports events we have in June I can't allow that :D

nevcairiel
12th June 2012, 19:38
Just recorded some of the offending footage, it plays fine in all situations, inside DVBViewer and in any other DS player. I can only reproduce by playing a live channel. The source filter reports 16:9 as it should, it's really strange. After changing channels I can see that it displays (very fast) at least 1 frame in 16:9, then changes to 4:3. Version 4.9.5.0 BTW.

Can you try this, see if it helps at all?
If this doesn't help, not sure why this would be happening, unless the video stream specifys a wrong AR, but then a recorded file would show the same problem, i would guess.

http://files.1f0.de/lavf/LAVFilters-0.50.5-25-ar.zip

Pat357
12th June 2012, 19:44
Fixed
Thanks a lot !! :)

STaRGaZeR
12th June 2012, 20:08
Can you try this, see if it helps at all?
If this doesn't help, not sure why this would be happening, unless the video stream specifys a wrong AR, but then a recorded file would show the same problem, i would guess.

http://files.1f0.de/lavf/LAVFilters-0.50.5-25-ar.zip

No luck with that build unfortunately. Here you have a sample, just in case you see something interesting in it: http://www.mediafire.com/?7qals0umhp28xiq

woody777
12th June 2012, 23:10
I have some BDs with uncompressed PCM audio tracks. Is there any way to keep these tracks lossless and be able to "bitstream" them using Lav Audio? (I know you can't really bitstream PCM, but I just want it to take exclusive control of my device as I keep Windows set to 2.0/44.1 for music streaming). I know Reclock is really the answer here, however, I'm seeing if it's possible to accomplish this another way because I play my MKVs through WMC and Reclock breaks live tv. Most of the videos have an AC3 track and I know I could just use that (or make one using eac3to I think), but I figured I would ask the experts if there's any other way. Thanks!

SamuriHL
12th June 2012, 23:18
It's a renderer issue, so, no there's nothing LAV Audio can help with. So yea, ReClock or another audio renderer that can work with exclusive mode is in fact the answer. I use J River MC17 which has their own audio renderer that can do it, as well.

Traps
12th June 2012, 23:38
I have this issue with LAV Audio decoder and i was wondering if anyone knows the problem.

Basicaly, LAV audio doesn't decode formats properly, AAC/AC3/Vorbis all have massive problems but DTS works perfectly.

Here's an example i recorded when trying to play a .mp4 h264/aac trailer for some upcoming movie:

LAV Audio: LAV Audio.flac (ftp://78.153.40.220/AiDisk_a1/DATA/LAV%20Audio.flac)

There are these weird sounds, volume changes and i have no idea what could cause them.

Similar issue with MPC HC internal decoder: MPC HC audio.flac (ftp://78.153.40.220/AiDisk_a1/DATA/MPC%20audio.flac)

With this decoder there are just these weird sounds, no volume changes.

If i use FFDshow to decode AAC it works flawlessly, AC3 works flawlessly with MPC HC internal decoder. It's weird and i have no idea what's causing this.

MPC, LAV, FFDshow and drivers are all updated to latest version.

I'm using LAV Splitter, LAV Video, madVR renderer on i7 2600k, ASUS P8P67PRO, Windows 7 64bit and Asus Xonar DG audio card.

JEEB
13th June 2012, 09:06
I have this issue with LAV Audio decoder and i was wondering if anyone knows the problem...
An actual sample would be the best way to investigate a decoding bug, as in most cases the output isn't exactly helpful. Also, if both LAV and MPC-HC are affected, and -tryouts is not, there's a chance that ffmpeg's libavcodec AAC decoder could be borked (-tryouts IIRC uses libav), and there might be a need to report upstream, for which a sample would be quite useful as well.

Traps
13th June 2012, 11:36
It was this video: Rise of the Guardians - Official Trailer (HD) (http://www.youtube.com/watch?v=ok0M25mpJl8&feature=g-hist), i downloaded the HD 720p/AAC version to my HDD and tried to play it. It happens with all AAC/AC3 files though.

Here's a small song sample, it happens with this one too: track.m4a (ftp://78.153.40.220/AiDisk_a1/DATA/Zadeta%20si%20lepa%20Ljubljana.m4a)

sneaker_ger
13th June 2012, 12:23
Do you have MPC-HC's internal Audio Switcher activated? Tried different audio renderer?

nussman
13th June 2012, 14:00
No luck with that build unfortunately.[/url]
Did you try to enable video pre format detection?
http://en.dvbviewer.tv/wiki/Options_DirectX#TV.2FRadio_Pre-Format_Detection

Traps
13th June 2012, 15:57
Do you have MPC-HC's internal Audio Switcher activated? Tried different audio renderer?

Tried every audio renderer available in MPC HC, tried Audio switcher On/Off with different settings but nothing works. The only thing that works is using ffdshow-tryouts set to libfaad2 to decode, if it's set to libavcodec decoder i get same errors in the audio.

I thought it was my audio card but i doubt that since it works flawlessly for everything else.

nevcairiel
13th June 2012, 16:01
The file decodes just fine on any other PCs, so it must be something specific to yours.
My best guess is that something doesn't deal properly with float audio, but then again i don't think ffdshow or MPC-HC default to float output.
Other ideas were a specific version of optimized assembly being broken, but considering you have the same CPU as me, thats out too.

Just for the giggles, you could try turning off float audio in LAV - in fact, turn off everything but 16-bit integer.

STaRGaZeR
13th June 2012, 16:51
Did you try to enable video pre format detection?
http://en.dvbviewer.tv/wiki/Options_DirectX#TV.2FRadio_Pre-Format_Detection

It works! I didn't even see that option before. Since it works with this setting turned on, it's LAV or DVBViewer's fault?

nevcairiel
13th June 2012, 16:53
It works! I didn't even see that option before. Since it works with this setting turned on, it's LAV or DVBViewer's fault?

I still don't even understand why it fails, the fact that the window size is 16:9 but the video is still 4:3 is odd, plus that it only happens on some formats .. confusing at best.

I'll try testing on some live tv stations, but somehow i'm doubtful it'll reproduce

BTW: Which decoder in LAV are you using?

STaRGaZeR
13th June 2012, 17:27
BTW: Which decoder in LAV are you using?

QS, but happens with software and DXVA too.

I don't know what that option does, but since it works with it it should be a good starting point.

Traps
13th June 2012, 17:47
The file decodes just fine on any other PCs, so it must be something specific to yours.
My best guess is that something doesn't deal properly with float audio, but then again i don't think ffdshow or MPC-HC default to float output.
Other ideas were a specific version of optimized assembly being broken, but considering you have the same CPU as me, thats out too.

Just for the giggles, you could try turning off float audio in LAV - in fact, turn off everything but 16-bit integer.

Yeah, I honestly can't figure out what could cause this since everything else works fine, Potplayer internal decoders have no problems for example.

Anyway, i tried using just 16bit integer but it didn't fix it. I guess i'll just use LAV Audio for DTS and ffdshow for the rest.

STaRGaZeR
13th June 2012, 19:36
Got another issue to report. It has to do with QS deinterlacing.

To reproduce: disable hardware deinterlacing in your graphics card settings, so renderer deinterlacing doesn't work. With QS DI activated play an interlaced file and seek on it several times. After one of the seeks you'll probably start to see combing, indicating that QS DI no longer works. Now activate renderer DI and try again, QS will still fail at some point, but this time your graphics card will take over, so you won't see combing. In my testing it's clear that QS fails, and that LAV starts sending flags downstream at that point. Hope this helps to narrow the issue down.

EDIT: Another outcome is that instead of disabling DI completely, it may switch to half rate DI after a seek.

egur
14th June 2012, 07:53
Got another issue to report. It has to do with QS deinterlacing.

To reproduce: disable hardware deinterlacing in your graphics card settings, so renderer deinterlacing doesn't work. With QS DI activated play an interlaced file and seek on it several times. After one of the seeks you'll probably start to see combing, indicating that QS DI no longer works. Now activate renderer DI and try again, QS will still fail at some point, but this time your graphics card will take over, so you won't see combing. In my testing it's clear that QS fails, and that LAV starts sending flags downstream at that point. Hope this helps to narrow the issue down.

EDIT: Another outcome is that instead of disabling DI completely, it may switch to half rate DI after a seek.
Sounds like a bug :(
Does this happen on all clips or a specific one?

aufkrawall
14th June 2012, 10:22
I'm getting lots lof dropped frames with QS deinterlacing and 60p output with a VC-1 interlaced sample (that one is often linked here).
30p seems to work fine.

egur
14th June 2012, 15:11
I'm getting lots lof dropped frames with QS deinterlacing and 60p output with a VC-1 interlaced sample (that one is often linked here).
30p seems to work fine.

Please post QS issues on my thread. Also, pelase give a more detailed report (at least the clips name), I don't remember the setup of all the users here ;)

STaRGaZeR
14th June 2012, 16:16
Sounds like a bug :(
Does this happen on all clips or a specific one?

Happens in all clips, so it's a general issue. But since renderer deinterlacing (it can be confusing to call it hardware deinterlacing here :p) kicks in as soon as QS fails, maybe it's related to LAV too, or maybe LAV reacts to something QS does, I don't know.

BTW I'm gonna PM you a sample that crashes the QS .dll so you can have a look at it.

EDIT: same stuff when forcing DI on all frames in LAV's settings, interlaced or non interlaced files. QS breaks after some seeks, sometimes 2, sometimes 10, but it breaks. Funny stuff is that if you seek again, chances are that it starts working again :D

aufkrawall
14th June 2012, 17:53
Please post QS issues on my thread. Also, pelase give a more detailed report (at least the clips name), I don't remember the setup of all the users here ;)
It doesn't occur with ffdshow, only with LAV.
So it may be more accurate to post this here, or not?

Here is the sample:
http://www.mediafire.com/?j0x81031vuhz7t7