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

pankov
14th August 2011, 11:06
guys,
which version of GraphStudio do you use?
The latest one that I've found is 0.3.2.0 - Beta from 14/June/2009.
Is there anything newer?

roytam1
14th August 2011, 11:15
Sure, same result as in GraphStudio.

12:02:43.007: VMRRenderDeviceSet (83), param1=2 (0x2), param2=0 (0x0)
12:02:43.008: VideoSizeChanged (10), param1=31458144 (0x1E00360), param2=0 (0x0)
12:03:04.163: ClockChanged (13), param1=0 (0x0), param2=0 (0x0)
12:03:04.240: VMRRenderDeviceSet (83), param1=2 (0x2), param2=0 (0x0)
12:03:04.240: VideoSizeChanged (10), param1=31458144 (0x1E00360), param2=0 (0x0)
12:03:04.240: VideoSizeChanged (10), param1=31458144 (0x1E00360), param2=0 (0x0)
12:03:04.244: Paused (14), param1=0 (0x0), param2=0 (0x0)
12:03:11.783: Complete (1), param1=0 (0x0), param2=0 (0x0)


Then it must be compatibility issue between Windows XP and LAV Video decoder.
I can't test for Vista/7 as I don't have it now.

CruNcher
14th August 2011, 11:33
Sample files, or i'll just assume you're talking out of your ass. :p

Im not sure if that would help as it seems renderer related on VMR7/VMR9 windowed and VMR7 Renderless it works but with the older builds it works also in VMR9 Renderless with the newer ones it doesn't anymore H.264 doesn't seem to be affected only several formats like Bink .bik,VP6F in form of .flv (still testing)

My major guess would be your Videoinfoheader change maybe ?

- Support for creating thumbnails in explorer/WMP

Yep .avi files (@ least with the default AVI Spliiter + Lav Video) are also playing crazy now with VMR9 Renderless

Video: Xvid 1920x1080 23.98fps = Black Screen

also with Lav Splitter a Black Screen changing to VMR7 Renderless works also here (turning of MPC-HCs Video Frame settings has also no effect (Normal Size)

It seem every .avi too broke with VMR9 Renderless now and Lav Video (symptoms perfectly fit to a VideoInfoHeader code change)

Working with Lav Video + VMR9 Renderless

.mp4
.mkv
.3gp
.mov
.m2ts
.ts
.wmv
.m2v
.vob
.mpg

Black Screen with Lav Video + VMR9 Renderless (working with other Renderer)

.avi
.flv
.bik
.webm

nevcairiel
14th August 2011, 11:53
I think it was something else, try this build:

http://files.1f0.de/lavf/LAVFilters-0.32-rc2.zip

CruNcher
14th August 2011, 12:42
What the hell after playing now 100 of times different clips it suddenly works with VMR9 Renderless (though i also changed some settings here and their but mostly only chain related Lav Video playback formats ect)

I think it was something else, try this build:

http://files.1f0.de/lavf/LAVFilters-0.32-rc2.zip

ill try but first i restart :D

OK just to make sure im not crazy i restarted and tried again (with all those chain related changes) and again black screen on VMR9 Renderless (puhh) ;) then i unregistered the RC and registered the RC2 and tried again no Black Screen anymore :) (so it seems fixed i try some files more to be absolute sure)

But could you please say what it was i mean it suddenly started to work (like i forced it to brake) ? (scary)

PS: Wow MjpegB works also 4:2:2 Studio Profile without any Render setting problems (just works and it gets correct Deinterlaced before only Mainconcept did this) http://forum.doom9.org/showpost.php?p=1518850&postcount=17995 :)
Nev please just the Lav Cuvid to Lav Video fallback for 4:2:2 Mpeg-2 now (adios Mainconcept and all its DXVA issues with lav splitter) :D

zipi
14th August 2011, 13:42
I'm sure its the best option for me, and thats what counts. :)

32fp is exactly how the decoder outputs it, and any conversions will degrade the quality, obviously. Therefor, conversions should be done at the very last step, and at least the Win7 Audio Mixer is capable to properly convert 32fp to 16 or 24bit int. If you use XP, that depends on your audio driver - well i guess those can be broken.

PS:
Every modern AVR supports 24-bit audio as well.

PPS:
An option to force a specific sample format is however planned, check Issue 10 on the tracker.

Glad to see you changed your mind about this since I 1st brought it up.

I see the tracker states:
Implementation Notes:
Auto detection? Configuration?


If I may share my 2 cents, the most important thing is that the default output format will be Int, & FP can be selected by advanced users, this way, the risks I mentioned before can be avoided.

Thanks for this, & all the great work you do.

SamuriHL
14th August 2011, 17:11
Nev, I don't have time to pretty up the descriptions on the installer script. Real work is getting in the way this week and I won't have time to work on it. I opened an issue on the tracker (issue 62...defect, sigh...not what I meant to select for an issue type) and attached the script I have with a TODO list of what might be improved. The script works and creates a usable installer that handles LAV Video and allows you to select the defaults in the installer. I hope this helps!

nevcairiel
14th August 2011, 17:50
Thanks, i'll have a look soon.

SamuriHL
14th August 2011, 17:57
NP. Glad I could help out. It's nothing anyone with a text editor couldn't have done, but, I'm hoping it saves you some editing time at least. :)

http://www.mediafire.com/file/7y3uxozouuqmasy/LAVFilters-0.32-RC.exe

For those that want the latest with an installer...

STaRGaZeR
14th August 2011, 18:21
More observations regarding subtitles, this time with Blu-ray sources: with default splitter settings, playing a m2ts file directly from the disc (or using the matching playlist) results in the first subtitle track being selected and displayed, which is usually the full english track. I guess this is the same situation as with MKVs, no forced tracks, no default tracks, LAVS picks the first. Needless to say that seeing full subtitles by default is not pleasant, nor logical. The "only forced subs" and "no subtitles" options are not a solution, since they ignore default flags, messing up everything that has them.

My proposition is still the same: if none of the tracks are preferred/forced/default, don't pick any.

nevcairiel
14th August 2011, 18:25
Blu-rays never have any flags on their subtitles, only MKVs have those.

Like i explained earlier, its just a default setting, and you could ask 100 people, and everyone would favor different default settings, therefor i will not argue about the default settings. Thats why its configurable, so people can switch them to something they like.
I also explained that the "default" flag does *NOT* specify IF a track should be played, it just specifys *WHICH* track should be played if its present (but i also offered to add an option to treat them like that, basically treating them like "forced")

The default mode selects always the first track because you haven't told it what language you want. Enter a language code, and it'll select that languages track, or if its not found, no track at all.

Somehow i feel like you didn't even bother to read my posts completely.

pankov
14th August 2011, 18:45
nev,
if "default" specifies *WHICH* and none is marked as such this means "none" not "the first" - after all to have such a file the user had to explicitly set all tracks to "not default" so such files are intentional.
I think this makes sense.
After all why is "first" more important than "second" if the user has not set any preferences?

Carpo
14th August 2011, 18:47
anyone manage to get thumbnails working with lav ? tried the regedit that was suggest a few posts back still no luck, not an overly big issue :)

Kalekulan
14th August 2011, 18:51
I'm having trouble getting out uncompressed sound to my headphones through my soundcard Asus Xonar Essence ST. The card supports 192KHz/24 PCM. I've tried putting the dtsdecoderdll.dll in the same folder as the LAV-filters but without success. I've enabled all kind of things in bitstreaming etc. but I get no sound.

Is it because my soundcard can't transform the DTS HD-MA 5.1-track to PCM while using bitstream?

Is there someone who can help me?

nevcairiel
14th August 2011, 19:21
After all why is "first" more important than "second" if the user has not set any preferences?

Its not, but alot of files are most of the time muxed with the more important track at the first position, and i have to select something.

if "default" specifies *WHICH* and none is marked as such this means "none" not "the first" - after all to have such a file the user had to explicitly set all tracks to "not default" so such files are intentional.


I disagree. WHICH means "which track", and "none" is not a track. IF specifys if "any track" or "none" is selected.

The subtitle mode "Full subtitles" means that you want subtitles to be shown. If you configured a language, it'll select a stream matching that language. If a track is marked "default", it'll use that.
If you did not configure a language, it'll either select the track marked "default", or the first one, because "full subtitles" means that you want subtitles.

"Default" is not always on. By default, its off. You actually manually have to flag tracks like that. Well, i guess that depends on the tool you're using, but most mkvs i have do not have any flags.

I explained this before: "Forced" does what you think "default" should do. "Forced" indicates if a stream should be always activated, thats not the meaning of the "default" flag.

I have also offered to add a new setting which would make LAV Splitter treat "default" the same as "forced".

And with this post, the discussion ends for me. We'll just have to agree to disagree.
I can add the option i've proposed, which would make it behave exactly like you want, but for some reason you either don't understand that, or you cannot express what you really want.

I will not change the default configuration at this point. I don't think its too much to ask for your to change the configuration. :p

pankov
14th August 2011, 19:52
I apologize for taking so much of your time on such a small issue.
I'll try one more time to explain what I want but if it's not clear enough I won't bother you again

I explained this before: "Forced" does what you think "default" should do. "Forced" indicates if a stream should be always activated, thats not the meaning of the "default" flag.

both "forced" and "default" are "positive" settings - they define what should happen when they are set to "true" but don't define what should happen when they are set to "false" and that's the situation we (with STaRGaZeR) are talking about.
In the following scenario:
I have a movie with a single Chinese subs track which is intentionally marked as "not default". I've configured LAV Splitter to "Full Subtitles", "only with matching language" unchecked and "bul" as preferred subs language. Now when I play the movie the Chinese subs are shown and they definitely interfere because I have absolutely no clue of Chinese. In this situation I prefer no subtitles.
I haven't enable "only with matching language" because in some cases (languages) the default track is the "forced subs" track in the language of the movie (mostly English) and I'd like to have at least them if there aren't any Bulgarian subs.
Can I accomplish this with the current configuration options?

nevcairiel
14th August 2011, 20:08
Right now, you cannot do this.

The problem is that people interpret the flags like they understand them, so even when LAV Splitter follows the spec, files will still be weird.
I doubt it'll ever be able to automatically select all subs perfectly fine. Some files don't even have languages assigned to their streams.

I've been thinking about some smart configuration syntax for subtitles, so you could input a string like this:

"bul:always;eng:default;eng:forced"

Which basically means: "Always use "bul" subs, only use "eng" subs when they are marked default, or marked forced"

As an alternative, could input something like this:

"bul:always;*:default;*:forced" -- "Always use "bul" subs, use all other languages if they are default or forced."

Would that make sense? Would people understand how to use it?

Allowing the same flexibility like this through checkboxes will be quite annoying to pull off.

SamuriHL
14th August 2011, 20:11
Hmm, that'd be neat. As long as it's well documented I think it should be something that's useful. Just keep the "defaults" as they are now and 99% of the people won't have any problems. But this does seem like it'd allow that 1% (warning: pulling % out of Samuel Clemens' nether regions) to tweak to their heart's content. Nice compromise.

glorp
14th August 2011, 20:16
Right now, you cannot do this.

The problem is that people interpret the flags like they understand them, so even when LAV Splitter follows the spec, files will still be weird.
I doubt it'll ever be able to automatically select all subs perfectly fine. Some files don't even have languages assigned to their streams.

I've been thinking about some smart configuration syntax for subtitles, so you could input a string like this:

"bul:always;eng:default;eng:forced"

Which basically means: "Always use "bul" subs, only use "eng" subs when they are marked default, or marked forced"

As an alternative, could input something like this:

"bul:always;*:default;*:forced" -- "Always use "bul" subs, use all other languages if they are default or forced."

Would that make sense? Would people understand how to use it?

Allowing the same flexibility like this through checkboxes will be quite annoying to pull off.

Yes, absolutely :)
And include the keyword "off" too for language matching like outlined in tracker item #29

:thanks:

nautilus7
14th August 2011, 20:19
While you are on this...

I am Greek, so if a movie has foreign audio (anything but Greek), I want to have subs displayed (in Greek). If a movie has Greek audio track, I want to have no subs enabled at all, or (if there is available) a Greek sub track marked as "forced".

Can I achieve this?

pankov
14th August 2011, 20:21
nev,
your example for "smart configuration syntax for subtitles" looks great and I like it very much.
This will allow every advanced user to do what he likes and if you keep the defaults (omitting the ":xxxxx") as the current ones it will be enough for the less advanced users.
I think we don't need checkboxes for this.

nevcairiel
14th August 2011, 20:27
Thats a whole different topic, contextual selection based on the available audio...

DISCLAIMER: The contents of this post are ideas, and do not work like this (yet)

I guess i'll have to think about that a lot how to combine the two things.

Starting simple:

gre:off;*:gre

This is basically what Haali allows you to do, specify audio:subtitle pairs.
This configuration would get your Greek audio with no subs, or any audio with greek subs.

Now, how to add the forced subs into the logic?

gre:gre(f);*:gre
gre:gre(forced);*:gre
gre:gre|f;*:gre
gre:gre|forced;*:gre

Does any of that look sane to anyone? Syntax ideas?
In addition to "forced", there would of course also be "default" (or "d")

pankov
14th August 2011, 20:31
All of them look sane to me.
It's only a syntax - we'll learn it
;)

glorp
14th August 2011, 20:34
Does any of that look sane to anyone?


It's perfectly fine with me. It will certainly accomplish what I would like as well as provide more granular control over subs selection. I would just ask that if the "off" functionality is implemented then the keyword ought to override any other subs flag (forced/default, etc). That's really what I'd like to see.

nevcairiel
14th August 2011, 20:36
It's perfectly fine with me. It will certainly accomplish what I would like as well as privde more granular control. I would just ask that if the "off" functionality is implemented then the keyword ought to override any other subs flag (forced/default, etc). That's really what I'd like to see.

If you use the advanced syntax, it'll only use the rules specified in there, there won't be any other rules anymore. So "off" means "off"
If i implement this, i'll probably just write a small bit of code so that the checkboxes and all that just produce a string in advanced syntax, so that i don't have to build duplicated code. ;)

Thunderbolt8
14th August 2011, 20:37
would this also allow exclusion like always having the default or english track enabled, unless the main audio is flagged as german? or can I already do this with the current version of lavsplitter?

nevcairiel
14th August 2011, 20:37
would this also allow exclusion like always having the default or english track enabled, unless the main audio is flagged as german? or can I already do this with the current version of lavsplitter?

It would allow it - and you cannot do that right now.

Thunderbolt8
14th August 2011, 20:40
then I approve :p

nautilus7
14th August 2011, 20:41
Perfectly fine (and sane off course) with me. Looking forward.

glorp
14th August 2011, 20:45
If you use the advanced syntax, it'll only use the rules specified in there, there won't be any other rules anymore. So "off" means "off"
If i implement this, i'll probably just write a small bit of code so that the checkboxes and all that just produce a string in advanced syntax, so that i don't have to build duplicated code. ;)

Perfect! I think your idea does everything Haali's can do and goes at least one better by providing granularity over the individual flags as well. I'd for sure get rid of the checkboxes and sub mode options and just rely on this one option. Haali has both and doesn't tell you anywhere that the 'selection string' option overrides all the others. It gets totally confusing trying to configure all its options until you realize that.

nautilus7
14th August 2011, 20:46
Nev, since you 're in a good mood today, I 'll ask another thing. :p

If I have a movie with an audio track named for example "Director's Commentary" could it be possible to autoselect a subtitle track named also "Director's Commentary" regardless language?

nevcairiel
14th August 2011, 21:01
Nev, since you 're in a good mood today, I 'll ask another thing. :p

If I have a movie with an audio track named for example "Director's Commentary" could it be possible to autoselect a subtitle track named also "Director's Commentary" regardless language?

Thats really too much of a edge case to do, sorry.

nautilus7
14th August 2011, 21:02
I thought so. No problem. :)

STaRGaZeR
15th August 2011, 00:28
Blu-rays never have any flags on their subtitles, only MKVs have those.

Like i explained earlier, its just a default setting, and you could ask 100 people, and everyone would favor different default settings, therefor i will not argue about the default settings. Thats why its configurable, so people can switch them to something they like.
I also explained that the "default" flag does *NOT* specify IF a track should be played, it just specifys *WHICH* track should be played if its present (but i also offered to add an option to treat them like that, basically treating them like "forced")

The default mode selects always the first track because you haven't told it what language you want. Enter a language code, and it'll select that languages track, or if its not found, no track at all.

Somehow i feel like you didn't even bother to read my posts completely.

So it's the same case after all: LAVS doesn't know which one to select, so it picks the first one.

It seems you still don't get it: it's not about the default settings, settings can be changed. It's about something we can't do (which happens to be the default in other splitters, nothing else), even with your proposed new option. Haali and MPC's internal splitter work like we say, for a reason. Also your new option would work only for MKVs. Files with no flags like (m2)ts will still display subtitles.

Why should I enter a language? I don't want any. I don't want any smart selection of anything.

Please don't be an ass, we read all your posts. In fact I could say it's the other way around, as you haven't specifically responded to the two key cases we have mentioned, and those are the only ones that need attention:

1) MKV. 4 subtitle tracks. All of them flagged as no forced. All of them flagged as no default. Why pick the first one? I don't want any specific language. In fact I want no subs at all, that's why the flags are like that.

2) M2TS (Blu-ray), or any other file without flags. 30 subtitle tracks. No flags. Why pick the first one? I don't want any specific language. In fact I want no subs at all.

Haali (for MKV and M2TS) and MPC's internal (for M2TS) do this by default. LAVS cannot, default or not. Your proposed option "fixes" 1), doesn't solve 2).

"Default" is not always on. By default, its off. You actually manually have to flag tracks like that. Well, i guess that depends on the tool you're using, but most mkvs i have do not have any flags.

"Default" means no unless all the other tracks are no, in that case it means yes. If at least one track is muxed with "default" OR "yes", in the file there'll be a default flag set to "yes", guaranteed. This is with mkvmerge, the "official" tool. Try it if you want.

So back to Haali I guess, having to manually turn off subtitles with every MKV("no" flags everywhere)/Blu-ray negates all the advantages the splitter has.

nevcairiel
15th August 2011, 00:42
If you want no subs at all, why don't you configure lav splitter just that way?

I dont get wtf your problem is. There is an option to never select any subs. There is an option to only select forced subs (if marked as such). And I offered to extend said option to do the same with the default flag. If that doesn't do what you want, I don't know what will, and you should be clearer on your requests.

Btw, there is no "no default" flag, there is only the default flag and the absence of the same. A mkv without the default flag behaves exactly the same as a bluray. The flags shown in the stream selector are exactly the ones the logic works on. There are no "yes" and "no" settings, there is just "default", or "forced", or nothing.

In the end, I don't care what anyone uses, though, so go nuts.

PS:
MPCs internal mkv splitter has no logic at all, it exports all subtitles, all the time. The comparison is kind of flawed.

roytam1
15th August 2011, 02:25
The latest git (5ae63491) is available here: http://roy.orz.hm/lavf-w32-nightlies/lavf-my110815-5ae63491.7z
It seems that the 0x8004022a issue is fixed, tested in XP SP3 in the workplace. I'll test it again when I go home.

And the "magical Color Space Converter crashing when readd default video renderer" issue seems to be fixed also (instead AVI decompressor is inserted but it don't crash anymore), except the RV20+SVT sample (two images upper and two green screen lower, gray Y/U/V splitted images are shown in 1337player, but it is far better than before).

Thanks for your great work!:thanks:

zerowalker
15th August 2011, 03:43
Donīt know if anyone has reported this issue, but i will post it anyway.

Player: Zoom Player 7
Renderer: EVR
Decoder:FFDshow tryout Latest (or some versione earlier if i missed latest)
File: MKV with X264 and AAC/OGG (maybe more?)

When i Skip back and forth, it can sometimes get stuck, with that i mean that the picture is stuck if i for example back, and audio continues until it reaches that point.
Letīs say i am at frame 1000, i then back to frame 900, but the picture is stuck at 1000, but audio is at 900 and continues till 1000 where both the video and audio "resync" and continues together.

Aleksoid1978
15th August 2011, 07:21
Hi. can't play with LAV Splitter this is file http://sharebee.com/2fc570dc
MediaInfo:

General
Format : AC-3
Format/Info : Audio Coding 3
Format profile : TrueHD / Core
File size : 30.0 MiB

Audio
Format : AC-3
Format/Info : Audio Coding 3
Format profile : TrueHD / Core
Mode extension : CM (complete main)
Muxing mode : After core data
Bit rate mode : Variable / Constant
Bit rate : Unknown / 640 Kbps
Maximum bit rate : 3 762 Kbps / 640 Kbps
Channel(s) : 7 channels / 6 channels
Channel positions: Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossless / Lossy

Xaurus
15th August 2011, 07:25
For what it's worth, I don't use subtitles and I never see any subtitles either except forced ones (which I prefer) and I am using LAV splitter. So for me this system is perfect. Go figure.

So like nev says:
"There is an option to never select any subs. There is an option to only select forced subs (if marked as such)."

hoborg
15th August 2011, 07:55
FLAC sample (?offtopic?)

Hi.
I have one FLAC sample (http://hobring.esero.net/saf/samples/flac_sample.zip), that doesnot play correctly - only noise.
Is the sample damaged/broken or unsuported?
Even MadFLAC wont play it correctly...

nevcairiel
15th August 2011, 08:00
Hi. can't play with LAV Splitter this is file http://sharebee.com/2fc570dc
MediaInfo:

General
Format : AC-3
Format/Info : Audio Coding 3
Format profile : TrueHD / Core
File size : 30.0 MiB

Audio
Format : AC-3
Format/Info : Audio Coding 3
Format profile : TrueHD / Core
Mode extension : CM (complete main)
Muxing mode : After core data
Bit rate mode : Variable / Constant
Bit rate : Unknown / 640 Kbps
Maximum bit rate : 3 762 Kbps / 640 Kbps
Channel(s) : 7 channels / 6 channels
Channel positions: Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossless / Lossy


Thats a TrueHD/AC3 interleaved track. Those tracks are only supported in a MPEG-TS, they are not valid as elementary streams. When demuxing, it should be split in two, one TrueHD and one AC3 track.

FLAC sample (?offtopic?)

Hi.
I have one FLAC sample (http://hobring.esero.net/saf/samples/flac_sample.zip), that doesnot play correctly - only noise.
Is the sample damaged/broken or unsuported?
Even MadFLAC wont play it correctly...

I get loads of log errors when playing that file, and of course the noise. It would appear someone encoded the noise. :)
Or the file is plain and simple broken..

Does anything play it properly?

v0lt
15th August 2011, 10:22
Does anything play it properly?
foobar 2000

Someone encoded DTS-WAV in FLAC. Perverts! :D

hoborg
15th August 2011, 10:27
foobar 2000

Someone encoded DTS-WAV in FLAC. Perverts! :D

Me not, i didnt make it! :D

Midzuki
15th August 2011, 16:19
Me not, i didnt make it! :D

Many moons ago, and only for testing and learning purposes, I :devil: did it :) :p :D

It's called "DTS-LD Monster Audio" ;) :rolleyes:

STaRGaZeR
15th August 2011, 18:26
If you want no subs at all, why don't you configure lav splitter just that way?

I dont get wtf your problem is. There is an option to never select any subs. There is an option to only select forced subs (if marked as such). And I offered to extend said option to do the same with the default flag. If that doesn't do what you want, I don't know what will, and you should be clearer on your requests.

Btw, there is no "no default" flag, there is only the default flag and the absence of the same. A mkv without the default flag behaves exactly the same as a bluray. The flags shown in the stream selector are exactly the ones the logic works on. There are no "yes" and "no" settings, there is just "default", or "forced", or nothing.

Because that's not what I want. *sigh*

Let me put it again in one compact sentence: I want LAVS default behavior (Full subtitles, only with matching language on) BUT instead of selecting the first track when it finds no matches (no preferred languages in the list, no forced flags in MKV, no default flags in MKV, or no flags at all like in M2TS), select the "none" track.

Alternative compact sentence: I want LAVS to always disable subtitles UNLESS: there is a preferred language in the list, there is a forced flag or there is a default flag.

Both are really the same. They can't be accomplished with any combination of settings in LAVS right now, nor with your new setting. And if there is, I just can't find it. I hope I've been cristal clear this time around.

PS:
MPCs internal mkv splitter has no logic at all, it exports all subtitles, all the time. The comparison is kind of flawed.

I didn't say anything about MPC's internal MKV splitter. I said Haali (for MKV and TS) and MPC's internal (for TS) ;)

nevcairiel
15th August 2011, 18:55
You're right, you cannot do that right now.

If you read the last pages, then you see the new advanced selection syntax i proposed, somewhat modelled after Haalis syntax, but with more features.
Anyhow, with it you would easily be able to do that, and i might even change the "simple" setup controls to have a bit smarter behaviour (allowing what you want it to do). The whole selection logic is a bit convulted right now, and needs some cleanup to be more adaptable.

One thing puzzles me, though. You don't configure any language, but you still expect the "default" stream to show up? And the forced stream? How is it supposed to select the proper forced stream, in case there is more then one?
Without a language preference, it really is only guesswork which stream is right. Sure, it can go with the "default" stream, or the first "forced" stream, but unless you configure languages, it'll never be 100%.

Anyway, i won't be doing small adjustments to the logic now, i rather schedule a full logic rewrite for one of the future versions.

VipZ
15th August 2011, 21:37
Nev, maybe you can give more info on this, was playing my Transformers 2 Bluray via index.bdmv and choose the Forced Subtitles (auto) option, every time this immediately crashes mpc. I just leave LAV splitter at defaults.

If I open the M2TS directly, this option doesn't crash MPC

Thanks

nevcairiel
15th August 2011, 21:41
Nev, maybe you can give more info on this, was playing my Transformers 2 Bluray via index.bdmv and choose the Forced Subtitles (auto) option, every time this immediately crashes mpc. I just leave LAV splitter at defaults.

If I open the M2TS directly, this option doesn't crash MPC

Thanks

That only happens on that one disc?
I have that movie on Blu-ray, and nothing crashes. Does it happen always, even when no subs are currently showing, like at the beginning? If yes, that doesn't make any sense. :p

VipZ
15th August 2011, 21:52
That only happens on that one disc?
I have that movie on Blu-ray, and nothing crashes. Does it happen always, even when no subs are currently showing, like at the beginning? If yes, that doesn't make any sense. :p

Also happens on my A-Team and Zombieland Blu-ray's. Seems to be any Blu-ray I test.

EDIT: Nope, it seems to only crash when subtitles would be showing or around it. It doesn't crash in intro or credits. If I switch to it when in credits or intro and then seek into movie, it will crash.

nevcairiel
15th August 2011, 22:10
I cannot reproduce any problems. Are you using MPC-HCs internal sub renderer? VSFilter? ffdshow?
All plays fine for me, and i bet for alot of other people as well, as the feature is default on. :)

Its especially weird that it doesnt crash when you open the m2ts. There is no special handling for Blu-rays or anything.