Log in

View Full Version : LAV Filters - DirectShow Media Splitter and Decoders


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 [157] 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508

nevcairiel
27th December 2011, 22:08
They do say talking about your problems helps...... :)

[ReX]
28th December 2011, 00:43
Just posting this in case it's helpful to anyone having the same problem.
I was having problems with inaudible voices with 6ch AC3 in AVI container (I assume it's commonly caused by the audio not being converted to Stereo), so I thought it was LAV Audio's fault, installed ffdshow (after trying a couple of old LAV Splitter versions) and made sure AC3 was decoded using it inside of MPC-HC, now the audio worked fine.
But I didn't settle for that, I then disabled AC3 decoding in ffdshow and re-enabled it in LAV Audio, and played the file using GraphStudio, the audio worked fine too.

Turns out the culprit was actually MPC-HC's internal AVI splitter, as soon as I disabled it and let LAV Splitter do its thing, the problem disappeared.

Edit: D'oh! Same thing happens with Haali if there's 6ch AC3 on MKV.

Edit #2: Everything started to magically work again without any workarounds, I don't know what the hell happened, but I'm glad it did.

Milardo
28th December 2011, 10:38
Hi, will lavfilters support decoding raw video anytime soon?

kypec
28th December 2011, 14:03
Maybe this is the solution :)

OR newer Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c32f406a-f8fc-4164-b6eb-5328b8578f03) & Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=BA9257CA-337F-4B40-8C14-157CFDFFEE4E)
or increase the merit or remove (if exist) Haali's
Is there anything else I have to do in order to enable MKV playback in WMP? I've installed LAV Filters 0.43 with default settings and then installed VC++ 2010 runtimes (x86 & x64). I never installed Haali or anything like that...
Just for clarification - I do not want to use WMP as my preferred PC media player but I need it to be able to play MKV as this is the way how I stream media files from Windows 7 to my Samsung TV over LAN.

clsid
28th December 2011, 14:17
The runtimes are not needed anymore.

This will make WMP/WMC recognize mkv files:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.mkv]
"PerceivedType"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]
"mkv"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Runtime"=dword:00000007
"Permissions"=dword:0000000f
"PerceivedType"="video"

kypec
28th December 2011, 14:44
The runtimes are not needed anymore.
This will make WMP/WMC recognize mkv files:

Thanks clsid, much appreciated. Unfortunately, though this registry hack indeed made MKV playable in WMP they're still not visible on my TV. Other containers (AVI/WMV/MP4) stream just fine, oh well, I'll have to live with portable USB HDD (un)plugging once in a while between my PC and TV for the time being...

Mercury_22
28th December 2011, 17:51
Thanks clsid, much appreciated. Unfortunately, though this registry hack indeed made MKV playable in WMP they're still not visible on my TV. Other containers (AVI/WMV/MP4) stream just fine, oh well, I'll have to live with portable USB HDD (un)plugging once in a while between my PC and TV for the time being...
Try this Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.mka]
@="WMP11.AssocFile.MKA"
"Content Type"="audio/x-matroska"
"PerceivedType"="audio"

[HKEY_CLASSES_ROOT\.mkv]
@="WMP11.AssocFile.MKV"
"Content Type"="video/x-matroska"
"PerceivedType"="video"

[HKEY_CLASSES_ROOT\.mkv\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{c5a40261-cd64-4ccf-84cb-c394da41d590}"

[HKEY_CLASSES_ROOT\WMP11.AssocFile.MKA]
@="Matroska Media File"

[HKEY_CLASSES_ROOT\WMP11.AssocFile.MKV]
@="Matroska Media File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]
"mka"="audio"
"mkv"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Descriptions]
"819"="Matroska Media File (*.mkv;*.mka)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\MUIDescriptions]
"819"="Matroska Media File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Types]
"819"="*.mkv;*.mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mka]
"Extension.Handler"="WMP11.AssocFile.MKA"
"Extension.MIME"="audio/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="audio"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Extension.Handler"="WMP11.AssocFile.MKV"
"Extension.MIME"="video/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="video"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Audio\MKA]
@="Matroska Media File"
"Extensions"=".mka"
"MIME Types"="audio/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Video\MKV]
@="Matroska Media File"
"Extensions"=".mkv"
"MIME Types"="video/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\audio/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mka"
"Extensions.CommaSep"="mka"
"Extensions.SpaceSep"=".mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\video/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mkv"
"Extensions.CommaSep"="mkv"
"Extensions.SpaceSep"=".mkv"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\MLS\Extensions]
"mka"="audio"
"mkv"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\Descriptions]
"819"="Matroska Media File (*.mkv;*.mka)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\MUIDescriptions]
"819"="Matroska Media File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\Types]
"819"="*.mkv;*.mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions\.mka]
"Extension.Handler"="WMP11.AssocFile.MKA"
"Extension.MIME"="audio/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="audio"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Extension.Handler"="WMP11.AssocFile.MKV"
"Extension.MIME"="video/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="video"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Groups\Audio\MKA]
@="Matroska Media File"
"Extensions"=".mka"
"MIME Types"="audio/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Groups\Video\MKV]
@="Matroska Media File"
"Extensions"=".mkv"
"MIME Types"="video/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\MIME Types\audio/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mka"
"Extensions.CommaSep"="mka"
"Extensions.SpaceSep"=".mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\MIME Types\video/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mkv"
"Extensions.CommaSep"="mkv"
"Extensions.SpaceSep"=".mkv"

kypec
28th December 2011, 19:24
Mercury, thanks for info but I installed AllShare software (DLNA server provided by Samsung) meanwhile and it works just fine. Its configuration is also much more convenient for me so I'll just stick with that ;)

mllmx
29th December 2011, 02:52
Guys,
today I tried to bistream some DTS in WAV and sadly it didn't work. It either crashed the player (tested with Zoom Player, MPC-HC and Graph Studio) or resulted in some strange noise clicks in the speakers connected to the receiver (Integra DTR-40.3).
Strangely it worked a few times but only if I start the playback without bitstreaming and enable it afterwards in LAV Audio's config.
Is this problem happening only to me or there is some kind of general limitation? If it's not possible to make it work is it at least possible to make it not crash the player?
I have absolutely no problems with such files if I decode the stream with LAV Audio and then send it as multichannel PCM over the HDMI output of my video card.

having the same issue with .43, any other way to get bitstreaming to work?

mindbomb
29th December 2011, 06:15
any chance you can add a screen capture type thing to lav video?
so you can take screenshots with madvr.

Andy o
29th December 2011, 06:35
That's more like a renderer thing.

ryrynz
29th December 2011, 08:04
Use FRAPS or Afterburner for screenshots with MadVR FSE or use windowed mode.

Mr.White
29th December 2011, 16:42
having the same issue with .43, any other way to get bitstreaming to work?

Bitstreaming DTS in WAV works for me with MPC-HC, LAV Splitter and ReClock.
It doesn’t work if i ad LAV Audio to External Filters in MPC-HC so it gets loaded, then MPC-HC crash!

mllmx
29th December 2011, 17:20
Bitstreaming DTS in WAV works for me with MPC-HC, LAV Splitter and ReClock.
It doesn’t work if i ad LAV Audio to External Filters in MPC-HC so it gets loaded, then MPC-HC crash!

So I removed the wav headers with wav2dts and put them inside an mka with mkvmerge(I found that it also works if I just use the wav without using wav2dts as mkvmerge removes the header itself) and they play just fine by disabling lavaudio and letting ffdshow do the bitstreaming. I wonder if lavaudio has an issue with the header stripping part or maybe with the sampling rate, who knows? I just wish I could use lavaudio for this files too, since I’m already using it to bitstream DTS-HD and TrueHD to my receiver.

I just find out that disabling the "use DTD-HD framing for all DTS types" option allows lavaudio to bitstream without crashing MPC, but the sound is really pitchy, it's like 1.5x faster than it should(I've never heard the chipmunks singing a Beatles song before)

DragonQ
29th December 2011, 17:32
I'm probably missing something obvious but what is the advantage of bit-streaming to your receiver or TV, rather than simply decoding and sending PCM (which is supported by HDMI up to 7.1, 24 bit, 192 kHz).

mllmx
29th December 2011, 17:59
I'm probably missing something obvious but what is the advantage of bit-streaming to your receiver or TV, rather than simply decoding and sending PCM (which is supported by HDMI up to 7.1, 24 bit, 192 kHz).
Well it’s really more of a personal preference thing, but I can tell you from my own experience that for instance the PCM signal is fairly quitter than the bitstreamed one so I have to use more power to achieve the same volume, I can’t use any sound mode with PCM (PLIIx, etc), I have to rely on windows mixer that may or may not alter the original signal or use reclock with WASAPI exclusive hence adding one more link to the filter chain, you also may encounter with the Bluray swap surround thing (BS-SS) and finally I really like to see my receiver lighting up the DTS, DTS-HD logo instead of the “MULTCH IN 7.1” legend.

DragonQ
29th December 2011, 20:26
I have an MKV file that plays fine when using the MPC-HC decoder but not when using the LAV Video Decoder (CUVID disabled). It plays a second or so, then freezes, then continues, with a crazy graph. Here's a sample:

http://www.mediafire.com/?54asyk494jkgd20

It doesn't seem to matter if I tick or untick LAV Splitter (which is set to "preferred") within MPC-HC, although I'm not entirely sure whether it's being used or not.

Mr.White
29th December 2011, 21:29
I have an MKV file that plays fine when using the MPC-HC decoder but not when using the LAV Video Decoder (CUVID disabled). It plays a second or so, then freezes, then continues, with a crazy graph. Here's a sample:

http://www.mediafire.com/?54asyk494jkgd20

It doesn't seem to matter if I tick or untick LAV Splitter (which is set to "preferred") within MPC-HC, although I'm not entirely sure whether it's being used or not.

Same for me if i use LAV splitter/Audio/Video + EVR, plays fine if i switch to madVR!

dbone1026
30th December 2011, 15:22
Nev,

This is going to sound like a rather dumb question. Using Lav + MPC HC, if I have these settings checked off only subtitles that have been flagged as forced will be presented to MPC HC, correct?

http://i44.tinypic.com/14brf9t.jpg

The reason why I ask, I was doing a test to see if MakeMKV was setting the forced subtitle flag. I created an mkv of District 9, and using the LAV setting above the forced subtitles appear properly in MPC HC (which would indicate that the forced flag has been properly set).

However, if I take the same mkv and dump it into mkvmerge the subtitles are not flagged as forced, just default. I am guessing now that this may just be an issue with how mkvmerge shows (possibly not keeping the flag MakeMKV creates)

http://i40.tinypic.com/m8z2fm.jpg

nevcairiel
30th December 2011, 15:32
Sounds like mmg has it wrong.
You can always check in MPC-HC by going to the Filters -> LAV Splitter context menu, which would show the flags it detected.

dbone1026
30th December 2011, 15:38
Sounds like mmg has it wrong.
You can always check in MPC-HC by going to the Filters -> LAV Splitter context menu, which would show the flags it detected.

Thx, that is what I thought. Just wanted to confirm before I spoke with the mmg dev. Have a happy new year

robpdotcom
30th December 2011, 15:51
I don't think MakeMKV is capable of setting a "forced" flag on streams yet. However, LAV is capable of detecting forced subs that are part of the full subtitle stream. I suspect that is why you are seeing the correct subs displayed, even though none of the streams are flagged as forced.

MakeMKV might have extracted the forced subs, created a new stream that contains only the forced subs, but still kept the flag for each individual line. So, the entire stream does not have the forced flag in the mkv header, but each line within the stream is flagged as forced.

mmg probably has it right - you can check by opening the file in mmg's header editor, and look to see if the streams are set with the forced flag (and set the flags if they aren't). You could also extract the stream with mkvExtract - run it through BDsup2sub, and I'll bet it tells you that all of the subs are forced subs.

nevcairiel
30th December 2011, 15:57
I. However, LAV is capable of detecting forced subs that are part of the full subtitle stream. I suspect that is why you are seeing the correct subs displayed, even though none of the streams are flagged as forced.

That might also be the case.
In any case, look at the stream list in MPC-HC and see which flags are there.

dbone1026
30th December 2011, 15:58
I don't think MakeMKV is capable of setting a "forced" flag on streams yet. However, LAV is capable of detecting forced subs that are part of the full subtitle stream. I suspect that is why you are seeing the correct subs displayed, even though none of the streams are flagged as forced.

MakeMKV might have extracted the forced subs, created a new stream that contains only the forced subs, but still kept the flag for each individual line. So, the entire stream does not have the forced flag in the mkv header, but each line within the stream is flagged as forced.

mmg probably has it right - you can check by opening the file in mmg's header editor, and look to see if the streams are set with the forced flag (and set the flags if they aren't).

I think it is the second point as MakeMKV is extracting the forced subtitles, not keeping the full subtitle stream. Interesting, I did not know each line could have its own flag. If this is the case then is LAV looking at each line and not the full stream?

dbone1026
30th December 2011, 15:58
That might also be the case.
In any case, look at the stream list in MPC-HC and see which flags are there.

Going to look at now

glorp
30th December 2011, 16:53
Sounds like mmg has it wrong.
You can always check in MPC-HC by going to the Filters -> LAV Splitter context menu, which would show the flags it detected.

MediaInfo GUI also shows the status of the forced and default flags in an mkv now. IIRC, a recent (and welcome) addition.

graeme
30th December 2011, 18:04
Hi Nev.

Is there any chance you could provide a workaround for this crash in graphedit when the LAV decoders are installed? I know it's not a problem of your making, but really want to be able to GraphEdit with the LAV decoders install. I'm happy to avoid using the LAV decoders with GraphEdit, but I'd like it to not crash with LAV installed.

I want the LAV decoders to work well with my application (NextPVR previously known as GBPVR), but for now I've had to leave the LAV decoders uninstalled because I really need GraphEdit working. I have tried numerous times in the past few years to use GraphStudio, but it's just not for me. I prefer to work in GraphEdit.

Is there possibly some workaround you can do in the decoder if the process name is "GraphEdit.exe", or if some registry flag is set?

nevcairiel
30th December 2011, 18:05
Is there any chance you could provide a workaround for this crash in graphedit when the LAV decoders are installed? I know it's not a problem of your making, but really want to be able to GraphEdit with the LAV decoders install. I'm happy to avoid using the LAV decoders with GraphEdit, but I'd like it to not crash with LAV installed.

Use GraphStudio. Workaround as good as any.

graeme
30th December 2011, 18:13
I commented above about not wanting to use GraphStudio.

There must be something else we could do to get GraphEdit to function on a machine with LAV installed?

nevcairiel
30th December 2011, 18:17
There must be something else we could do to get GraphEdit to function on a machine with LAV installed?

There is not.
It crashes as soon as one filter has more then 100 media types registered. You cannot make that conditional.

I see no reason to not use GraphStudio, it offers basically everything GraphEdit offers, plus more. Anyhow, its your choice. I'll not artificially cripple my filters to support a broken tool.

clsid
30th December 2011, 18:21
You would have to manually reduce the number of mediasubtypes in the filterdata to avoid the crash with graphedit. GSpot has the ability to edit the filterdata. You will lose the ability to play any formats for which you remove the subtype.

graeme
30th December 2011, 18:38
You would have to manually reduce the number of mediasubtypes in the filterdata to avoid the crash with graphedit. GSpot has the ability to edit the filterdata. You will lose the ability to play any formats for which you remove the subtype.That'd be fine with me. The reality is I'll only ever use LAV for certain audio video formats (those used in digital tv). I just want it not to crash GraphEdit having these decoders installed. Thanks - I'll check it out.

Mixer73
31st December 2011, 00:28
Nev,

I mainly use my machine for playing back DVR-MS files recorded by the TV Scheduler Pro program, basically just MPEG2 content in DVR-MS for compatibility with Windows Media Centre.

I note your splitter doesn't support DVR-MS, is this something that could be added?

mindbomb
1st January 2012, 20:24
I just experienced a bug.

While watching an mkv with several different vobsub tracks, the subtitle track actually switched mid video without me doing anything.

DragonQ
1st January 2012, 20:33
Nev, could you have a look at this file please?
I have an MKV file that plays fine when using the MPC-HC decoder but not when using the LAV Video Decoder (CUVID disabled). It plays a second or so, then freezes, then continues, with a crazy graph. Here's a sample:

http://www.mediafire.com/?54asyk494jkgd20

It doesn't seem to matter if I tick or untick LAV Splitter (which is set to "preferred") within MPC-HC, although I'm not entirely sure whether it's being used or not.

If it's EVR's fault then I guess not much can be done but if it's an LAV problem hopefully it can be fixed!

nevcairiel
1st January 2012, 21:11
I just experienced a bug.

While watching an mkv with several different vobsub tracks, the subtitle track actually switched mid video without me doing anything.

Thats impossible, either your player did something or the track itself suddenly contained something different.

mindbomb
1st January 2012, 23:21
yea, i thought it was very peculiar too.
I think it may be an mpc hc bug then.

edit:
On further analysis, yea, it looks it was a problem with the bluray itself. They screwed up their subtitles.

RBG
2nd January 2012, 21:07
Bug report.

I've got video file from cam. recorder, every time I try to rewind it forward, video just stops and sound keeps going. The bug occurs when LAV decoder is being used with every avi splitter present in my system(mpc avi, pot avi, avslplitter, windows avi splitter), except LAV splitter itself. When I am using another AVC decoder(Cyberlink, Arcsoft) everything is fine with all splitters.

http://www.filefactory.com/file/c1bbb12/n/00000002.AVI - sample.

mediaInfo

Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=15
Codec ID : H264
Duration : 3mn 3s
Bit rate : 8 389 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate : 15.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.360
Stream size : 183 MiB (90%)

Stephen R. Savage
3rd January 2012, 03:40
nevcairiel,

I don't know if this has been requested before, but can you make it so LAV Splitter exports track information such that the audio track can e.g. be selected from the "Languages" menu in MPC-HC? If not, a tray icon to switch tracks would be appreciated, as currently the only way to change tracks is to go to Filters --> <filename> --> Submenu, which can be quite tedious.

Edit:
Also, can you comment on this suggestion I made several pages ago?

Well, might as well as another question. nevcairiel, is support for tags planned? It'd be neat to show Author/Track information for stuff like MP3, MP4, FLAC, OGG, etc. like in audio players.

nevcairiel
3rd January 2012, 07:49
I don't know if this has been requested before, but can you make it so LAV Splitter exports track information such that the audio track can e.g. be selected from the "Languages" menu in MPC-HC? If not, a tray icon to switch tracks would be appreciated, as currently the only way to change tracks is to go to Filters --> <filename> --> Submenu, which can be quite tedious.


You can use Navigate -> Audio Language/Subtitle Language, those should already populate and work fine.
Not sure what other Language option you would mean? I see nothing. :)


Well, might as well as another question. nevcairiel, is support for tags planned? It'd be neat to show Author/Track information for stuff like MP3, MP4, FLAC, OGG, etc. like in audio players.
I suppose thats possible, not sure any player would actually show it. There is one pre-defined API from MS which has fields for Author and (Track-)Title (and some other fields), but its no generic way to export all metadata.

CruNcher
3rd January 2012, 11:13
@Nev
Im really amazed mostly the whole *.ts database plays flawless only 2 issues are left where im not quiete sure if they might be splitter related
http://forum.doom9.org/showpost.php?p=1548466&postcount=360

Especially the unsync issue and when seeking it becomes sync :)

Else its perfect but for now i tested only with ffdshow-quicksync .ts and with forcing deinterlacing off (no deinterlacing results yet)
MPC-HC splitter in comparison shows much more real Playback issues (from black screens upto hangs, though major feature difference would be still programm switching capability)

nevcairiel
3rd January 2012, 17:39
Nev, could you have a look at this file please?
If it's EVR's fault then I guess not much can be done but if it's an LAV problem hopefully it can be fixed!

That file is just broken, its timestamps are all over the place.
Its quite interesting that madVR can handle that properly.

For the record, i also get the same effect when using the MPC-HC decoder.
Only thing that seems to work is ffdshow, but i also know why. It usually ignores any MPEG2 timestamps and trys to come up with its own - which is a terrible idea. So easy to go out of sync.

nevcairiel
3rd January 2012, 18:09
Bug report.

I've got video file from cam. recorder, every time I try to rewind it forward, video just stops and sound keeps going. The bug occurs when LAV decoder is being used with every avi splitter present in my system(mpc avi, pot avi, avslplitter, windows avi splitter), except LAV splitter itself. When I am using another AVC decoder(Cyberlink, Arcsoft) everything is fine with all splitters.

http://www.filefactory.com/file/c1bbb12/n/00000002.AVI - sample.

Fixed, at least in software mode. In CUVID mode it still happens, will need some magic there, i think.

RBG
3rd January 2012, 19:48
Fixed, at least in software mode. In CUVID mode it still happens, will need some magic there, i think.

Thanks. I guess, I just have to wait for 0.44 version. By the way, same situation with FFdshow Quick Sync rev4185, video playback stops after rewind on this sample.

psymed
3rd January 2012, 20:34
Does the movie gladiator at 3h02m40-45s skip to the credits for anyone else?
Is the movie supposed to be 3h09m45s?

edit: nvm

DragonQ
4th January 2012, 02:16
That file is just broken, its timestamps are all over the place.
Its quite interesting that madVR can handle that properly.

For the record, i also get the same effect when using the MPC-HC decoder.
Only thing that seems to work is ffdshow, but i also know why. It usually ignores any MPEG2 timestamps and trys to come up with its own - which is a terrible idea. So easy to go out of sync.
OK thanks for checking it out. I tried to run the raw MPEG2 stream through ReStream but it comes out with the same problems. :(

mark0077
4th January 2012, 20:25
nev, how is lav video decoder designed to handle acceleration of vc-1 on Nvidia cards that support only VDPAU feature set A. My GTX 295 only supports Set A which according to wikipedia is as follows

Feature Set A
Complete acceleration for H.264
Partial acceleration for MPEG-1, MPEG-2, VC-1/WMV9

When I watch vc-1, with cuda enabled all is fine for the most part, until certain scenes where the image will appear blocky for a second or so.

Of course I would love to leave cuda on for vc1 so in my case should I manually disable it, or is there anything that can be done from the lav video side to allow me to use this "partial acceleration" and still see a valid image? Cheers

nevcairiel
4th January 2012, 20:34
Its a bug in the driver, seems to have appeared a while ago. You could try different drivers, otherwise there isn't anything that can be done.

nevcairiel
4th January 2012, 22:45
Test version time!

http://files.1f0.de/lavf/LAVFilters-0.43-52-g1ec5766.zip

This is the latest build, and amongst mostly fixes and tweaking, it includes egur's QuickSync decoder for Intel GPUs.
The QuickSync decoder still has some glitches and rough edges, but its mostly ready for some action, so get nuts on it.

It does not yet support hardware deinterlacing, its a pure decoder so far - but because the Intel hardware is so fast, its still worth it.
In contrast to the CUVID decoder which probably even costs extra power, this one has the potential to actually save a bit. ;)

I only tested it with Sandy Bridge, but it supposedly also works with previous Intel GPU series, as long as they have SSE 4.1 - which means Penryn or newer. It will however only be really fast on QuickSync enabled CPUs - Sandy Bridge and newer.

PS:
Also supported now is YADIF in conjunction with hardware decoding, so that the Intel decoding isn't left interlaced. :p

PPS:
The code on google code isn't up2date right now because pushing results in some odd error... my personal git host is updated, however.

DragonQ
4th January 2012, 23:01
Very nice! I shall try it tomorrow on my laptop - it doesn't have Sandy Bridge so no QuickSync but it has a first generation i5-430M (Arrandale) so it'll be interesting to see if it uses less CPU than pure software decoding.