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

Aurora13
12th July 2012, 09:42
Hi nevcairiel,

I have an 5.0 setup, is it possible to add this setup to the Mixing options?

And if so, do I need to set the LFE Mix Level setting then?

:thanks:

Greets

Sebastiii
12th July 2012, 11:28
I solved the mistake. I had blocked lav splitter source in mpc-hc. lav Splitter worked (lav splitter was "in prefer" mode) but not playlist.

So it's ok now ? :)
Yes mpls/bdmv must use "Lav Splitter Source" :P

hubblec4
12th July 2012, 13:52
hi nev

any news of the support for "ordered chapters" and the tray-icon issues?

nevcairiel
12th July 2012, 13:54
If there was, you would read about it here.

hubblec4
12th July 2012, 13:58
yes i cant read here about it, but i hope you have started with this two new features maybe?

cegy
12th July 2012, 18:20
I doubt there was a wrong field order, when the field order is wrong you can definitely see it, its a quite obvious problem, no closer looks required.

I did however find another small problems with timestamping of the frames, and the jitter is now again 0-1 in the EVR statistics.

You can try with this:
http://files.1f0.de/lavf/LAVFilters-0.51.1-4-g3854899.zip

@everyone else:
This also includes all fixes mentioned in the previous posts, so if you want to try, go ahead.


am not sure what the problem or cause it but with using both this git version and the test before. they both give me the same problem i had to take a screen shot to make it easier for you know what the problem is. the problem happens on the live broadcasts as you can see in this pic the fps changes from 50 fps to higher fps whiles causing some jitter. this seems to be like a spike when it happens i am not using dxva or nothing at all just using the cpu to decode

http://i.imgur.com/1935W.png

ikarad
12th July 2012, 18:43
So it's ok now ? :)
Yes mpls/bdmv must use "Lav Splitter Source" :P

It's ok. I didn't know that lav splitter source was necessary.

Andy o
12th July 2012, 21:43
One question I have is though, when a DTS-HD MA track (e.x. 5.1, 6.1 or 7.1) plays and I have my receiver on DPLII+THX, am I supposed to enable matrix encoding for Dolby Pro Logic II? Cause I cant really hear any difference if I set the option to "none" or "Dolby ProLogic II".

I don't think it's doing anything. From what I'm understanding of the DPLII function in LAV is to encode, not decode, which means it will encode 5.1 into stereo, presumably later to be decoded by a DPLII decoder into 5 channels again (I don't think DPLII decodes an LFE channel, FWIW).

What your receiver is probably doing is applying DPLIIx, which means it's upmixing 5.1 and 6.1 content into the 7.1 configuration of speakers you have. This doesn't apply when the source is 7.1. Are you bitstreaming DTS-HD when this happens, btw? My receiver can't upmix 5.1 to 7.1 with DPLIIx when using DTS formats, so I have to decode to LPCM, which is just as well, cause I use ReClock.

nevcairiel
12th July 2012, 22:12
am not sure what the problem or cause it but with using both this git version and the test before. they both give me the same problem i had to take a screen shot to make it easier for you know what the problem is. the problem happens on the live broadcasts as you can see in this pic the fps changes from 50 fps to higher fps whiles causing some jitter. this seems to be like a spike when it happens i am not using dxva or nothing at all just using the cpu to decode

Please try these two versions. The first fixes another (potential) problem with timestamps, and the second changes the behaviour of the H264 decoder slightly (back to how 0.50 worked), even though i'm not sure that could've been the cause.
If neither of these do it, i don't know really what has changed since 0.50, other then maybe something in the decoder itself which came from upstream, but finding that without being able to reproduce any problems won't be easy.

First:
http://files.1f0.de/lavf/LAVFilters-0.51.1-dvbtest1.zip

Second:
http://files.1f0.de/lavf/LAVFilters-0.51.1-dvbtest2.zip

cegy
13th July 2012, 01:36
Please try these two versions. The first fixes another (potential) problem with timestamps, and the second changes the behaviour of the H264 decoder slightly (back to how 0.50 worked), even though i'm not sure that could've been the cause.
If neither of these do it, i don't know really what has changed since 0.50, other then maybe something in the decoder itself which came from upstream, but finding that without being able to reproduce any problems won't be easy.

First:
http://files.1f0.de/lavf/LAVFilters-0.51.1-dvbtest1.zip

Second:
http://files.1f0.de/lavf/LAVFilters-0.51.1-dvbtest2.zip

just done a quick test before i go to bed it seems test2 works alot more better at higher bitrate of like ~17-20mbit where as test1 it still gives the stutter (about 15-20ms jitter). i'll look into this in the morning and update you, i just hope this will help you

JarrettH
13th July 2012, 02:54
6233638

What have you done to solve the DVD macrovision problem? I installed 0.51 tonight with the same problem. Do you think it's related to AnyDVD after 0.50.1? LAV Video isn't loaded at all so is it something in the audio? This is really frustrating :devil: Maybe it's not related to LAV at all. I just blocked all LAV in filters and get the same error...will look online for AnyDVD + MPC problems...

using ffdshow 4453 and mpc 1.6.2 4902

trying ffdshow 4466 and mpc 5436...same result

Is there something we can look into that changed after 0.50.1 nev?

blaster00
13th July 2012, 03:59
I'm using mpc audio render, but lav audio decoder output is 16 bit integer. If I choose 32bit ingeger and float output in lav, the audio render will auto switch to directsound. So I had to choose 32 bit integer only.
mpc-hc and lav are both up to date (nightly) x64.
reclock does not support x64, so mpc audio render seems to be the only way for wsapi.
is there anyone interested in writing a audio render?

FlashGordon
13th July 2012, 07:18
Jarrett: I'm also having the same problem. Installed 51.1 with LAV Audio present in the filter list and I get the macrovision error with DVDs. Roll back to 50.1 and no problem.

nevcairiel
13th July 2012, 07:23
Is there something we can look into that changed after 0.50.1 nev?

Nothing changed. Look at the diffs from 0.50.1 to 0.50.2, changes to LAV Audio are rather simple, and completely in internal decoder behaviour (most affect the jitter protection code, which shouldn't even take any action on DVDs)
If some filter works or doesn't work with DVD seems to be purely random magic, there is no conclusive facts indicating anything else. Which is why i just don't care.

Not to mention that it still works for me, at least did with 0.50.5, i didn't bother testing again afterwards.
(Before anyone asks, trivial setup with MPC-HC, AnyDVD HD, LAV Audio, ffdshow video, madVR and DirectSound, don't remember if i also tested with ReClock)

patul
13th July 2012, 08:20
Nev,

I'm unable to play DVD from MPC HC Open DVD using LAV Video Decoder. The DVD Navigator says it can not find any connectible filters on the video pin. I've rechecked my installation by:

a. manually register LAVVideo.ax, (MEDIATYPE_DVD_ENCRYPTED_PACK is NOT listed as supported media type by default, manual add didn't solve the problem)

b. installer (MEDIATYPE_DVD_ENCRYPTED_PACK is NOT listed as supported media type by default, manual add didn't solve the problem) same result.

WinXP SP3, qdvd.dll version 6.5.2600.6169. Am I miss something?

nevcairiel
13th July 2012, 08:21
LAV Video does not yet support DVD Video decoding with the DVD Navigator.
The complicated part here is that a decoder which handles DVD Video also needs to handle the DVD subtitles, otherwise the playback will freeze. Even adding a post-processing filter which adds the subtitles on top afterwards doesn't work, the Decoder needs to accept the subtitles in a DVD scenario.

patul
13th July 2012, 08:48
Oh.. my fault. I misunderstood information from this thread, somebody asked you about MEDIATYPE_DVD_ENCRYPTED_PACK for DVD Audio somewhere in this thread, I was under impression that it was DVD Video instead. Sorry

:thanks:

nevcairiel
13th July 2012, 09:14
i'll look into this in the morning and update you, i just hope this will help you
Any testing on issues which i cannot reproduce myself is appreciated. Well, you want it fixed more then me, i guess. :)
Let me know if it fixes the problem for good, then i'll commit it and probably put out a new release on the weekend with all fixes from this week.

FlashGordon
13th July 2012, 10:07
I just fixed the macrovision error I was getting with DVDs. It's not related to LAV at all. First, since the newest LAV audio comes with downmixing, I removed ffdshow audio processor from my filter list and doing this gives me a macrovision error. When I pass the audio through ffdshow for mixing, I got no error. Now, how I got around the error with madvr in the first place was replacing the qdvd.dll. It looks like Windows Update changes the qdvd.dll from time to time. What I did was just simply switch it out again. Or as 6233638 mentioned a few pages back, you can opt for dslibdvdnav.

Thanks Nev for the downmixing btw

BatKnight
13th July 2012, 10:21
I just fixed the macrovision error I was getting with DVDs. It's not related to LAV at all. First, since the newest LAV audio comes with downmixing, I removed ffdshow audio processor from my filter list and doing this gives me a macrovision error. When I pass the audio through ffdshow for mixing, I got no error. Now, how I got around the error with madvr in the first place was replacing the qdvd.dll. It looks like Windows Update changes the qdvd.dll from time to time. What I did was just simply switch it out again. Or as 6233638 mentioned a few pages back, you can opt for dslibdvdnav.

Thanks Nev for the downmixing btw
If all it takes is to use ffdshow do decode audio, when using LAV + madVR to watch DVD, wouldn't it possible to implement in LAV audio whatever it is that ffdshow does? Or is it unknown?

Bat

FlashGordon
13th July 2012, 12:19
No idea. I was still using LAV to decode audio, but I was using ffdshow audio processor for mixing. Same video decoder for both instances (ffdshow). No clue why adding a post-processor for downmixing would get around the macrovision error when all the other filters remained the same.

JarrettH
13th July 2012, 15:38
I just fixed the macrovision error I was getting with DVDs. It's not related to LAV at all. First, since the newest LAV audio comes with downmixing, I removed ffdshow audio processor from my filter list and doing this gives me a macrovision error. When I pass the audio through ffdshow for mixing, I got no error. Now, how I got around the error with madvr in the first place was replacing the qdvd.dll. It looks like Windows Update changes the qdvd.dll from time to time. What I did was just simply switch it out again. Or as 6233638 mentioned a few pages back, you can opt for dslibdvdnav.

Thanks Nev for the downmixing btw

Is the audio processor for uncompressed only? I'll try what you said...

dslibdvdnav looks extremely unreliably from what I've read still and no development this year

takenori
13th July 2012, 16:15
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 2.37 GiB
Duration : 2h 14mn
Overall bit rate mode : Variable
Overall bit rate : 2 523 Kbps
Encoded date : UTC 2012-03-30 01:47:09
Tagged date : UTC 2012-03-30 04:22:39
Writing application : HandBrake 0.9.6 2012022800

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 14mn
Bit rate mode : Variable
Bit rate : 2 358 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.970 fps
Minimum frame rate : 26.930 fps
Maximum frame rate : 172.414 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.228
Stream size : 2.22 GiB (93%)
Writing library : x264 core 120
Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=2 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-03-30 01:47:09
Tagged date : UTC 2012-03-30 04:22:39
Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 14mn
Bit rate mode : Variable
Bit rate : 160 Kbps
Maximum bit rate : 202 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -67ms
Stream size : 154 MiB (6%)
Language : Japanese
Encoded date : UTC 2012-03-30 01:47:09
Tagged date : UTC 2012-03-30 04:22:39

Text
ID : 3
Format : Apple text
Codec ID : text
Duration : 2h 14mn
Bit rate mode : Variable
Bit rate : 1 bps
Stream size : 639 Bytes (0%)
Encoded date : UTC 2012-03-30 01:47:09
Tagged date : UTC 2012-03-30 04:22:39
cant read chapter within m4v video.
read them just fine with 50.5, though.

cegy
13th July 2012, 17:52
Any testing on issues which i cannot reproduce myself is appreciated. Well, you want it fixed more then me, i guess. :)
Let me know if it fixes the problem for good, then i'll commit it and probably put out a new release on the weekend with all fixes from this week.

http://files.1f0.de/lavf/LAVFilters-0.51.1-dvbtest2.zip

just want to let you know that whatever it is that you changed in test2 it sure fixed the video stuttering due to the higher fps and high jitter am not sure how this could even happen at a higher bitrate :S any ideas why this might be ?

nevcairiel
13th July 2012, 18:06
just want to let you know that whatever it is that you changed in test2 it sure fixed the video stuttering due to the higher fps and high jitter am not sure how this could even happen at a higher bitrate :S any ideas why this might be ?

I might have understood if it happened all the time, but oh well, as long as it works.

JarrettH
13th July 2012, 21:04
When you downmix to stereo in LAV is that 2.0 or 2.1? If it's 2.0, does the LFE mix level slider have any effect? I have a 2.1 setup in the other room :thanks:

mr.duck
13th July 2012, 21:21
When you downmix to stereo in LAV is that 2.0 or 2.1? If it's 2.0, does the LFE mix level slider have any effect? I have a 2.1 setup in the other room :thanks:

With a 3 audio channels outputted from your soundcard? I doubt it.

PPPPark
14th July 2012, 10:25
hi.LAV Filters 0.51.1
i use SPDIF bitstreaming DTS-HD,TrueHD,lav audio does not work, DTS, AC3 is oK. ffdshow also the same~
but i use PotPlayer bitstreaming DTS-HD,TrueHD,DTS, AC3.all ok in SPDIF,How it is done?

SeeMoreDigital
14th July 2012, 10:32
hi.LAV Filters 0.51.1
i use SPDIF bitstreaming DTS-HD,TrueHD,lav audio does not work, DTS, AC3 is oK. ffdshow also the same~
but i use PotPlayer bitstreaming DTS-HD,TrueHD,DTS, AC3.all ok in SPDIF,How it is done?
Obviously you can't pass the "full" HD audio bit-stream via SPDIF. So, are you not able to pass the "core" bit-stream audio via SPDIF?

PPPPark
14th July 2012, 13:10
Obviously you can't pass the "full" HD audio bit-stream via SPDIF. So, are you not able to pass the "core" bit-stream audio via SPDIF?

spdif can not output HD audio-CORE

Andy o
14th July 2012, 15:49
If I'm not mistaken for TrueHD LAV splitter (or is it the decoder?) separates the included DD interleaved audio into another separate track, so you should be able to select it and bitstream it.

Portioli
14th July 2012, 19:53
If I'm not mistaken for TrueHD LAV splitter (or is it the decoder?) separates the included DD interleaved audio into another separate track, so you should be able to select it and bitstream it.

I know this is out of topic, as long as there is no TrueHD core track, how we manage to bitstream an ac3 track or even downmix it for analog outputs ?


thanks in advance

dansrfe
14th July 2012, 20:41
Three questions:

1. What exactly is File Source (Async) and why does it show up in the filter chain some times but not others?

2. Does LAV Splitter pull data from the disc (through memory) in an async fashion as well?

3. If I'm primarily playing movie files from a network drive over 100mbit ethernet then what are some ways to make sure that data isn't waiting in the buffer and isn't starting more stagnant threads in memory? Does File Source (Async) or LAV Splitter already take care of that? Is there a Windows related setting that I should change?

nevcairiel
14th July 2012, 20:54
1. What exactly is File Source (Async) and why does it show up in the filter chain some times but not others?

http://msdn.microsoft.com/en-us/library/windows/desktop/dd375641(v=vs.85).aspx

Its Microsofts filter for reading files from discs.
A Splitter filter can work in two different ways, either it reads the file itself (usually called a "Source" filter), or something else reads it - for files thats the File Source (Async). LAV supports both modes, it can read the file itself ("LAV Splitter Source"), or in combination with another source filter, like File Source (Async) (plain "LAV Splitter")

The funny thing about that is that LAV only calls the Synchronous reading functions of the IAsyncReader Interface, despite it being called Async :p


2. Does LAV Splitter pull data from the disc (through memory) in an async fashion as well?

LAV Splitter uses 1+x threads, where x is the number of output pins (>= 1).
One thread performs all file reading and demuxing and puts it into a queue, and the "x" threads then read the queue and push it through the pins.
File I/O itself is using synchronous/blocking calls though, because there is no advantage in non-blocking I/O when you have a dedicated thread for reading (and only added complexity). So in a sense, its asynchronous, because the pin threads don't have to block for the reading operation, they just take the data thats been queued up in another thread.


3. If I'm primarily playing movie files from a network drive over 100mbit ethernet then what are some ways to make sure that data isn't waiting in the buffer and isn't starting more stagnant threads in memory? Does File Source (Async) or LAV Splitter already take care of that? Is there a Windows related setting that I should change?
Like i explained above, there is one thread that performs all reading operations, no other threads are started for that purpose.
It is already one of the efficient ways to design such interactions, and from what i've seen also the standard among other source filters.

egur
14th July 2012, 22:13
Hi Nev,
While trying to solve an issue I stumbled on a difference between LAV splitter, Gabest/MPC splitter and Haali in this file (http://www.mediafire.com/?rc67i95moe3r88t). It's an H264 transport stream.

For some reason the Media SDK stopped recognizing/decoding the H264 header in recent drivers so I took a deeper look.
MPC splitter and Haali on the other hand works, so I compared the sequence headers (these are complete headers):

MPC splitter header:

00 15 67 4d 40 28 9a 62 //SPS - 21B
80 a0 0b 76 02 20 00 00
03 00 20 00 00 0c 92 00 //PPS - 3B
03 68 ee 3c

LAV 0.51.1 splitter header:

00 16 67 4d 40 28 9a 62 //SPS - 22B
80 a0 0b 76 02 20 00 00
03 00 20 00 00 0c 92 80 // 1 byte longer, no PPS

Haali splitter

00 1a 27 4d 40 28 9a 62 //SPS - 26B
80 a0 0b 77 fe 00 02 00
02 20 00 00 03 00 20 00
00 0c 92 80 00 04 28 ee //PPS - 4B
3c 80

Any idea what's causing this?
It happens in at least one more file, so it's not a unique case.

nevcairiel
14th July 2012, 22:37
In that particular file was a NALU type 13 (SPS extension) in between the SPS and PPS, which i didn't expect, i added support for it.


00 16 67 4d 40 28 9a 62
80 a0 0b 76 02 20 00 00
03 00 20 00 00 0c 92 80
00 04 68 ee 3c 80


Thats what i'm getting now.
I have been pondering adding the SPS extension in there as well, wonder if it'll cause issues. :p

egur
14th July 2012, 22:50
In that particular file was a NALU type 13 (SPS extension) in between the SPS and PPS, which i didn't expect, i added support for it.


00 16 67 4d 40 28 9a 62
80 a0 0b 76 02 20 00 00
03 00 20 00 00 0c 92 80
00 04 68 ee 3c 80


Thats what i'm getting now.
I have been pondering adding the SPS extension in there as well, wonder if it'll cause issues. :p

Can you provide a test build?

nevcairiel
14th July 2012, 23:35
Can you provide a test build?

Sure.
http://files.1f0.de/lavf/LAVFilters-0.51.1-17-g50a5e4c.zip

zhongpang
15th July 2012, 05:16
- Support for YCgCo to RGB conversion


P:\VIDEO\YUUKA.mp4
General
Complete name : P:\VIDEO\YUUKA.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 260 MiB
Duration : 3mn 46s
Overall bit rate : 9 660 Kbps
Encoded date : UTC 2012-07-13 09:12:07
Tagged date : UTC 2012-07-13 09:12:07
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:4:4 Predictive@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3mn 46s
Bit rate : 9 657 Kbps
Maximum bit rate : 56.4 Mbps
Width : 1 904 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:4:4
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.157
Stream size : 260 MiB (100%)
Writing library : x264 core 125 r2200+666+30 20c70fc tMod [10-bit@all X86_64]
Encoding settings : cabac=1 / ref=6 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=12 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=0 / crf=12.0000 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / vbv_maxrate=60000 / vbv_bufsize=60000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.40
Encoded date : UTC 2012-07-13 09:12:07
Tagged date : UTC 2012-07-13 09:12:07
Matrix coefficients : YCgCo



LAV Filters 0.51.1
error with output RGB24/RGB32 when play 10bit 444 YCgGo video
but output Y410 no problem

betaking
15th July 2012, 05:58
LAV Filters 0.51.1
error with output RGB24/RGB32 when play 10bit 444 YCgGo video
but output Y410 no problem
0.51.2 - 2012/07/15

LAV Splitter
- Improved H264 media type creation with some files

LAV Video
- Reduced latency of H264 software decoding (improves Live TV playback)
- Fixed chroma handling of the YCgCo to RGB conversion
- Fixed timestamp handling of MPEG2 (regression introduced in 0.51)

LAV Audio
- Re-Mix audio as a fallback when the audio chain refuses a new channel configuration
- Fixed an error that caused 16-bit FLAC to show as 24-bit on the status panel
0.51.2 fixed

Mikey2
15th July 2012, 09:38
Is anyone else having problems getting the LAV Video Decoder to output NV12? (This is for H.264 MPG4 files, but I believe it is for any file.)

For this example, here is the Input PIN:

Filter : LAV Video Decoder - CLSID : {EE30215D-164F-4A92-A4EB-9D4C13390F9F}

- Connected to:

CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
Filter: LAV Splitter Source
Pin: Video

- Connection media type:

Video: MPEG4 Video (H264) 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435641-0000-0010-8000-00AA00389B71}
formattype: FORMAT_MPEG2_VIDEO {E06D80E3-DB46-11CF-B4D1-00805F6CBBEA}
bFixedSizeSamples: 0
bTemporalCompression: 1
lSampleSize: 1
cbFormat: 165

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 40
dwPictAspectRatioY: 17
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

MPEG2VIDEOINFO:
dwStartTimeCode: 0
cbSequenceHeader: 33
dwProfile: 0x00000064
dwLevel: 0x00000029
dwFlags: 0x00000004

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 1
biBitCount: 12
biCompression: AVC1
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 00 00 00 00 00 00 00 00 28 00 00 00 11 00 00 00 ........(.......
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: 20 02 00 00 01 00 0c 00 41 56 43 31 00 f0 0f 00 .......AVC1...
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070: 00 00 00 00 21 00 00 00 64 00 00 00 29 00 00 00 ....!...d...)...
0080: 04 00 00 00|00 18 67 64 00 29 ac 34 e7 01 40 11 ......gd.)4.@.
0090: 68 40 00 00 fa 40 00 2e e0 23 c6 0c 47 80 00 05 h@..@..#.G..
00a0: 68 ef b2 c8 b0 hȰ


With every "Output Format" selected, it used to output NV12; however, now it falls back to YV12. If I de-select YV12, it falls back to YUY2 and so-on. Regardless, I cannot get it to pass-on in NV12 format.

Here is the [beginning of the] Output Pin with everything selected:

Filter : LAV Video Decoder - CLSID : {EE30215D-164F-4A92-A4EB-9D4C13390F9F}

- Connected to:

CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
Filter: ffdshow Video Decoder
Pin: In

- Connection media type:

Video: YV12 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1044480
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000041
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 40
dwPictAspectRatioY: 17
dwControlFlags: 0x00000581
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 3
biBitCount: 12
biCompression: YV12
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 41 00 00 00 00 00 00 00 28 00 00 00 11 00 00 00 A.......(.......
0040: 81 05 00 00 00 00 00 00 28 00 00 00 00 05 00 00 .......(.......
0050: 20 02 00 00 03 00 0c 00 59 56 31 32 00 f0 0f 00 .......YV12...
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

- Enumerated media type 0:

Video: NV12 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1044480
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 40
dwPictAspectRatioY: 17
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 2
biBitCount: 12
biCompression: NV12
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 00 00 00 00 00 00 00 00 28 00 00 00 11 00 00 00 ........(.......
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: 20 02 00 00 02 00 0c 00 4e 56 31 32 00 f0 0f 00 .......NV12...
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

- Enumerated media type 1:

Video: NV12 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1044480
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 2
biBitCount: 12
biCompression: NV12
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 28 00 00 00 00 05 00 00 20 02 00 00 02 00 0c 00 (....... .......
0040: 4e 56 31 32 00 f0 0f 00 00 00 00 00 00 00 00 00 NV12...........
0050: 00 00 00 00 00 00 00 00 ........

- Enumerated media type 2:

Video: YV12 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1044480
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 40
dwPictAspectRatioY: 17
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 3
biBitCount: 12
biCompression: YV12
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 00 00 00 00 00 00 00 00 28 00 00 00 11 00 00 00 ........(.......
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: 20 02 00 00 03 00 0c 00 59 56 31 32 00 f0 0f 00 .......YV12...
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

- Enumerated media type 3:

Video: YV12 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1044480
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 3
biBitCount: 12
biCompression: YV12
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 28 00 00 00 00 05 00 00 20 02 00 00 03 00 0c 00 (....... .......
0040: 59 56 31 32 00 f0 0f 00 00 00 00 00 00 00 00 00 YV12...........
0050: 00 00 00 00 00 00 00 00 ........


Notice that YV12 is the "Connection Media Type" (which is what is actually passed down) and NV12 is only displayed on the next couple entries ("Enumerated Media Type[s]" 0 and 1.)

Furthermore, this is the start of the Output Pin when I de-select "YV12":

Filter : LAV Video Decoder - CLSID : {EE30215D-164F-4A92-A4EB-9D4C13390F9F}

- Connected to:

CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
Filter: ffdshow Video Decoder
Pin: In

- Connection media type:

Video: YUY2 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YUY2 {32595559-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1392640
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000041
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 40
dwPictAspectRatioY: 17
dwControlFlags: 0x00000581
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 1
biBitCount: 16
biCompression: YUY2
biSizeImage: 1392640
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 41 00 00 00 00 00 00 00 28 00 00 00 11 00 00 00 A.......(.......
0040: 81 05 00 00 00 00 00 00 28 00 00 00 00 05 00 00 .......(.......
0050: 20 02 00 00 01 00 10 00 59 55 59 32 00 40 15 00 .......YUY2.@..
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

- Enumerated media type 0:

Video: NV12 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1044480
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 40
dwPictAspectRatioY: 17
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 2
biBitCount: 12
biCompression: NV12
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 00 00 00 00 00 00 00 00 28 00 00 00 11 00 00 00 ........(.......
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: 20 02 00 00 02 00 0c 00 4e 56 31 32 00 f0 0f 00 .......NV12...
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

- Enumerated media type 1:

Video: NV12 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1044480
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 2
biBitCount: 12
biCompression: NV12
biSizeImage: 1044480
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 28 00 00 00 00 05 00 00 20 02 00 00 02 00 0c 00 (....... .......
0040: 4e 56 31 32 00 f0 0f 00 00 00 00 00 00 00 00 00 NV12...........
0050: 00 00 00 00 00 00 00 00 ........

- Enumerated media type 2:

Video: YUY2 1280x544 23.976fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YUY2 {32595559-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1392640
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,544)
rcTarget: (0,0)-(1280,544)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 40
dwPictAspectRatioY: 17
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 544
biPlanes: 1
biBitCount: 16
biCompression: YUY2
biSizeImage: 1392640
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0010: 00 00 00 00 00 00 00 00 00 05 00 00 20 02 00 00 ............ ...
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 00 00 00 00 00 00 00 00 28 00 00 00 11 00 00 00 ........(.......
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: 20 02 00 00 01 00 10 00 59 55 59 32 00 40 15 00 .......YUY2.@..
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................


Notice that NV12 Still appears as Enumerated Media Types, but still the first entry is populated with (thus displays) YUY2.

This only started happening a couple months ago or so. Is anyone else seeing this and/or know how to fix it?

Thanks much!
MikeY

PS - I Should note that this happens with both Hardware and Software decoding.

fastplayer
15th July 2012, 09:46
Hi nev,

just a few tooltip typos to report:
"With this option on, stereo sources will not be mixed. This is useful when you want to mix all surround sources to eg. 5.1, but leave stereo untouched."--> e.g.
"This mode will produce inconsistent volumes between different source formats (stereo will be louder then 5.1), but the volume during playback of one file not change."--> than, --> file will not change
"In addition, this mode has a higher volume then a normalized matrix and is preferred on weak speakers or headphones."--> than

nevcairiel
15th July 2012, 09:56
Is anyone else having problems getting the LAV Video Decoder to output NV12? (This is for H.264 MPG4 files, but I believe it is for any file.)

You're using ffdshow after LAV, and ffdshow does not support NV12 input anymore because it is broken. Not LAVs fault. ;)


just a few tooltip typos to report:

Thanks, fixed.

nevcairiel
15th July 2012, 10:34
LAV Filters 0.51.2

LAV Splitter
- Improved H264 media type creation with some files
- Fixed reading of QuickTime/AppleText chapters in MOV/MP4

LAV Video
- Reduced latency of H264 software decoding (improves Live TV playback)
- Fixed chroma handling of the YCgCo to RGB conversion
- Fixed timestamp handling of MPEG2 (regression introduced in 0.51)

LAV Audio
- Re-Mix audio as a fallback when the audio chain refuses a new channel configuration
- Fixed an error that caused 16-bit FLAC to show as 24-bit on the status panel


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

If you missed the 0.51 release, here are the release notes again:
http://forum.doom9.org/showthread.php?p=1581869#post1581869

Hopefully this fixes all regressions since 0.51, as well as some other bugs.
Before anyone asks, the fallback mixing feature referenced in the changelog is mostly for WMP/WMC, because it fails at changing the number of audio channels mid-stream, and by simply mixing to whatever channel count we started with, we ensure that playback continues to work.

As always, if you notice another regression, or a new bug, please report it in as much detail as possible, and with a sample file if available.

kalston
15th July 2012, 11:18
I just noticed something odd, VC-1 (interlaced only) software decoding doesn't work anymore on my BBC Life blu-rays (even unticking the WMV9 thing doesn't make it "work", it shows a blackscreen stuck at 00:00 instead of just failing to connect).

I have tried going back to the LAV version I had when I bought these blu-rays and it didn't work either, which leaves me puzzled as I remember watching them with software decoding and madVR deinterlacing...

CUVID decoding works fine but I don't understand this at all, shouldn't software decoding be the most hassle free decoding if your CPU can handle it? Or am I wrong and is it affected by GPU drivers etc just as well? I had some issues with CUVID before (probably because my GPU is old) so that's why I always preferred software decoding which never failed me... until today.

Edit: in fact CUVID decoding doesn't work fine, playback doesn't look smooth and madVR reports delayed frames. That's probably just my GPU being too slow though. I'm gonna make samples later.

nevcairiel
15th July 2012, 11:47
I just noticed something odd, VC-1 (interlaced only) software decoding doesn't work anymore on my BBC Life blu-rays (even unticking the WMV9 thing doesn't make it "work", it shows a blackscreen stuck at 00:00 instead of just failing to connect)

Only the WMV9 thing supports VC-1 interlaced, so if anything it needs to be ticked.
Works fine here, though. Its possible that something screwed up the WMV9 decoder on your system, independent of LAV.

When you play such a file, what does the property page say under active decoder? Should be "wmv9 dmo" if it works properly.

You didn't try uninstalling WMP or something silly like that, right? :p

kalston
15th July 2012, 12:11
Actually you're right, LAV can't use the WMV9 decoder at all. It's like it's been removed. My other VC-1 files work but they are not interlaced so it's just showing "avcodec" on the property page.

WTF :( I'd never remove WMP as that would break some things (such as games relying on the OS codecs) including WMV9 of course. WMP is still installed and works anyway. Gonna try repairing it but still this is odd as I hardly install anything at all on this PC (mostly portable applications and few that have anything to do with audio/video).

nevcairiel
15th July 2012, 12:13
You know whats funny, LAV is not even setup to fallback to avcodec when the WMV9 decoder doesn't work. Are you sure the checkbox on the bottom of the "Formats" property page is checked? ("Use Microsoft WMV9 DMO Decoder for WMV3 and VC-1")

kalston
15th July 2012, 12:24
Hum, yeah actually, when it's ticked I can't play any VC-1 file at all and when it's unticked only progressive ones work. In any case where's my WMV9 dll gone :p

EDIT: repairing WMP didn't work, damnit

EDIT 2 : according to this tool http://alexzambelli.com/WMV/#Codecs I still have the decoder installed and I can change its settings, but LAV still can't use it

EDIT 3 : allright I've just switched to madVR decoding vc-1 with the Intel decoder and it's working fine even with my 50i blu-rays. That will do.

Pat357
15th July 2012, 16:00
For those that are interested in a minimalistic freeware 3D-capable player based on Lav-filters :

http://surodev.com/?p=477

The installer includes all the Lav-filters (splitter, audio, video) but is seems it's not needed to register these.
They just need to be in the same directory as the .exe from the player.

You can update the lav-filters by just overwriting the existing files.