Log in

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


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

Underground78
17th August 2010, 17:30
I found the problem with TS file durations, was kinda a "oops" on my side, heh. :)
And like expected seeking is working fine with the proper durations.

Great ! :)

Ger
17th August 2010, 18:26
I found the problem with TS file durations, was kinda a "oops" on my side, heh. :)
And like expected seeking is working fine with the proper durations.
Great.

@Ger:
Man that zSHARE page is a mess.
Still downloading.... previously it just stopped at 20% or so and i had to restart. If it does that again, screw it =P
How about splitting the files and uploading to rapidshare or something?

I'll try to create multipart rars < 150 MB or something like that, and upload to sharebee (which should distribute to several other services). But it will take a few hours because of my slow upload speed.

nevcairiel
17th August 2010, 18:56
I'll try to create multipart rars < 150 MB or something like that, and upload to sharebee (which should distribute to several other services). But it will take a few hours because of my slow upload speed.

I finished the download now, so don't worry about it.

Regarding your files:

LATM AAC is not supported by libavformat at all right now, someone will have to implement this, so no deal on audio. Trying to get subtitles to work, but ffdshow subtitle renderer doesnt even connect to the DVB subtitles, wonder if MPC does..

Ger
17th August 2010, 19:13
MPC-HC does show DVB-subs (Casimir added this not too long ago IIRC) with the internal splitter, but wrong background color (green instead of semi-transparent grey in the John Adams sample). That is probably not a splitter issue though. DVB subs with a fully transparent background (Bulgarian etc. in the Henry IV sample) seems OK with internal splitter/renderer (not tested thoroughly though).

TTX subs probably need a Teletext decoder, which I doubt MPC-HC has currently, but it would be nice if the splitter identified both the DVB and TTX subtitle tracks correctly anyway.

nevcairiel
17th August 2010, 19:21
I'm just having it ignore TTX for now, as i don't really know what to do with them.

EDIT:
DVB subs work, yay.
Now i just need to find the difference in the flags for your hearing impaired thing and i'm all done.

EDIT2:
Ok, i arrived at that sample with subs in both DVB and TTX, but how exactly am i supposed to figure out if its a TTX sub or some other TTX stream that i don't want to show?
This puzzles me! For now i'm just showing the 3 DVB sub tracks.

tetsuo55
17th August 2010, 19:40
You guys could use megaupload.com in the future, it offers a high upload and download speed and supports files up to 1gb iirc

Ger
17th August 2010, 19:51
EDIT2:
Ok, i arrived at that sample with subs in both DVB and TTX, but how exactly am i supposed to figure out if its a TTX sub or some other TTX stream that i don't want to show?
This puzzles me! For now i'm just showing the 3 DVB sub tracks.

It's over my head, but if you look at the "Whatever works" sample in VLC, or the screenshot I've included, VLC can tell the difference between TTX index pages and TTX subtitles with a valid language code. So perhaps you can peek at the VLC code? Unless a teletext decoder is required for that part (I have no clue).

@Tetsou55
Thanks. I'll try to remember that for future use.

STaRGaZeR
17th August 2010, 20:35
so bear with me while i try different approaches. =)

Ofc :)

but ffdshow subtitle renderer doesnt even connect to the DVB subtitles, wonder if MPC does..

ffdshow doesn't support DVB subs, MPC does.

naomatrix
18th August 2010, 00:29
Thank you for the splitter , great job.

Stuffed in a Pot 1.5.23507Ru place MKV / WebM, AVI, MP4/MOV, TS/M2TS/MPG, FLV, drove on the test files at 1080p (720p) BDrip everything seems Ok
Of course there is for 0.4 versions are still drawbacks - no graphical interface, yet buggy to switch audio and subtitle roads, more slowly shifts.
But there is a big plus, correctly sees and connects the sound of the road (TrueHD, DTS MA), as well, and I'm very pleased so far the world's only splitter that correctly identifies the audio format AAC + + HEv2 SBR PS 2ch (5.1ch). Believe me I've tried a lot of splitters and decoders AAC (6 pieces) all spoke HE SBR 2ch PS (parametric stereo) as mono, only LAVFSplitter correctly identifies.

Good luck

Ger
18th August 2010, 01:02
I did some digging, and don't take my word for it (my understanding is limited), but there may be something of interest here:

Regarding the hearing impaired flags in DVB-subs: Page 38 and 73 (http://www.etsi.org/deliver/etsi_en/300400_300499/300468/01.11.01_60/en_300468v011101p.pdf).
Teletext subs vs non-subs: Page 8 (http://www.etsi.org/deliver/etsi_en/300400_300499/300472/01.03.01_60/en_300472v010301p.pdf).

Both found here (http://www.dvb.org/technology/standards/).

If that doesn't help, I guess VLC git or Enigma2 git.

nevcairiel
18th August 2010, 10:01
I did some research, and it seems that i can even get LATM AAC to work. It was only disabled in libavformat because libavcodec does not support it, but for example libfaad does.
This will have to wait until i setup my own ffmpeg repository with some custom patches though, so not 0.5 i'm afraid.
I hope to get 0.5 out today with the fixes for TS durations, DVB subs, audio/subtitle stream switching, the "No Subtitles" option and possibly some other small things, but for now i'm still stuck at work, so don't hold your breath, it'll be a few hours.

Speaking about AAC, does anyone know if the populare AAC decoders (ffdshow, mpc-hc internal, CoreAAC, ...) understand the HEAACWAVEFORMAT structure, or if they require everything being packed up in a WAVEFORMATEX?
Edit: I just noticed that CoreAAC does not have LATM support yet, so i guess the monogram decoder will have to do. :)

tetsuo55
18th August 2010, 10:26
Yeah a custom ffmpeg "fork" sounds like a good idea, that way work can be done on the various patches we have/intend to create and clean them up if/before they are committed upstream

Ger
18th August 2010, 17:17
I did some research, and it seems that i can even get LATM AAC to work. It was only disabled in libavformat because libavcodec does not support it, but for example libfaad does.
This will have to wait until i setup my own ffmpeg repository with some custom patches though, so not 0.5 i'm afraid.
I hope to get 0.5 out today with the fixes for TS durations, DVB subs, audio/subtitle stream switching, the "No Subtitles" option and possibly some other small things, but for now i'm still stuck at work, so don't hold your breath, it'll be a few hours.

Wow, didn't expect that. Sounds promising. If we get a free DS splitter working for LATM, the chances of seeing LATM support added to ffdshow/MPC-HC decoders should improve as well, since libfaad is used for AAC both places already. But Monogram-AAC should be fine in the meantime.

Take your time. Some of us have waited years for a project like this, so we can certainly wait a little longer. Thanks again. :)

Underground78
18th August 2010, 17:22
I hope to get 0.5 out today with the fixes for TS durations, DVB subs, audio/subtitle stream switching, the "No Subtitles" option and possibly some other small things, but for now i'm still stuck at work, so don't hold your breath, it'll be a few hours.

Sound like version 0.5 will be a great step ! I will wait for it before continuing my test with others samples. :)

Sebastiii
18th August 2010, 17:59
Congrats again for your great job :)
Seb.

nevcairiel
18th August 2010, 19:45
LAVFSplitter 0.5
- Fixed duration of MPEG-TS files
- Added support for DVB subtitles
- Fixed switching of Audio and Subtitle Streams
- Added a "No Subtitles" Stream

Download: 32-bit (http://files.1f0.de/lavf/LAVFSplitter-0.5.zip) & 64-bit (http://files.1f0.de/lavf/LAVFSplitter-0.5-x64.zip)

I hope the stream switching works properly now. The current approach works as follows: For Audio Streams, it deletes the current audio decoder, and lets the graph choose a new one, this ensures that we always get the right codec. For Subtitles (and Video), i just disconnect the filter, and let the graph reconnect itself. This seems to work fine so far. Feedback is appreciated. =)

On the DVB Subs: It can't detect the difference between normal and hearing impaired yet, thats still on my list of things to do.

liquidskin76
18th August 2010, 19:52
Hey nevcairiel,

I haven't had chance to test 0.5 yet, but was curious if the stuttering when begining a vid has been fixed? I was still seeing it with 0.4.

Thanks

nevcairiel
18th August 2010, 19:54
Did you see it in the changelog? :d

I'll try to get that one on the weekend when i have more time to try some things.

Underground78
18th August 2010, 19:57
LAVFSplitter 0.5
- Fixed duration of MPEG-TS files
- Fixed switching of Audio and Subtitle Streams

Confirmed, thanks a lot ! :)

I hope the stream switching works properly now. The current approach works as follows: For Audio Streams, it deletes the current audio decoder, and lets the graph choose a new one, this ensures that we always get the right codec. For Subtitles (and Video), i just disconnect the filter, and let the graph reconnect itself. This seems to work fine so far. Feedback is appreciated. =)

The audio part does work very well but I cannot get the DVB subtitles to work ... It may be me doing something wrong, can someone tell me what I should do exactly to ensure MPC-HC can display subtitles without problems ?

nevcairiel
18th August 2010, 20:01
Use one of the supported renderes, on XP that would be VMR9 (renderless), on Vista/7 EVR-CP, it should just magically work then. Additionally during playback check the "Play -> Subtitles" menu if Enabled is ticked
Oh, and the splitter currently defaults to the "No Subtitles" stream, so you need to turn them on, but i think you figured that out.

Underground78
18th August 2010, 20:22
Use one of the supported renderes, on XP that would be VMR9 (renderless), on Vista/7 EVR-CP, it should just magically work then. Additionally during playback check the "Play -> Subtitles" menu if Enabled is ticked
Oh, and the splitter currently defaults to the "No Subtitles" stream, so you need to turn them on, but i think you figured that out.

Thanks, I had forgotten to use WMR9 (renderless) ... It seems to work ! :)

Ger
18th August 2010, 20:50
Some quick v0.5 first impressions:
- MPC-HC crashes when seeking in TS. Not always, but often. Mostly tested with the "Henry IV" sample and is easily reproduced with that sample on my system, but also seen with other samples.
- When enabling DVB-subs in "John Adams" sample, the video freezes. Don't know if this is related to the missing audio support.
- When enabling DVB-subs in "Henry IV" sample, quick video audio freeze, but then resumes and works, so I guess that is expected with the graph reconnecting on change. Would be ideal if it could be enabled seamlessly, but it's probably no big deal if it stays like this.
- TS duration is better (in most cases), but still not OK. HD sample duration is very wrong. I have another HD, sample here which doesn't play at all now, but the previously uploaded "Gossip Girl" HD sample (which is really just over a minute long and was reported as over an hour long in v0.3) is now reported as over 7 hours long in v0.5, but it plays. I don't think there is any point in uploading the other HD sample that doesn't play at all anymore in case it's duration related, and you can see the duration problem in the "Gossip Girl" sample as well.

nevcairiel
18th August 2010, 20:55
- MPC-HC crashes when seeking in TS. Not always, but often. Mostly tested with the "Henry IV" sample and is easily reproduced with that sample on my system, but also seen with other samples.
I can't really reproduce this. Do you use the MPC-HC internal video/audio decoder, or others?
Edit: I just noticed that for some reason the internal mpeg2 decoder doesnt even connect to the stream in the Henry IV sample. Another thing to check out.


- When enabling DVB-subs in "John Adams" sample, the video freezes. Don't know if this is related to the missing audio support.

A short freeze is to be expected, as the graph is stopped to change the stream connections. Here it resumes after that. What do you mean with freeze exactly, does it stay stopped?
Again, what filters?

Ger
18th August 2010, 20:57
Yes, it stays stopped. I'm using EVR Sync, with Sync Video To Display.

Underground78
18th August 2010, 20:57
Some quick v0.5 first impressions:
- MPC-HC crashes when seeking in TS. Not always, but often. Mostly tested with the "Henry IV" sample and is easily reproduced with that sample on my system, but also seen with other samples.
- When enabling DVB-subs in "John Adams" sample, the video freezes. Don't know if this is related to the missing audio support.

I can't confirm this two bugs (I only tried my own samples) but ...

- When enabling DVB-subs in "Henry IV" sample, quick video audio freeze, but then resumes and works, so I guess that is expected with the graph reconnecting on change. Would be ideal if it could be enabled seamlessly, but it's probably no big deal if it stays like this.
- TS duration is better (in most cases), but still not OK. HD sample duration is very wrong. I have another HD, sample here which doesn't play at all now, but the previously uploaded "Gossip Girl" HD sample (which is really just over a minute long and was reported as over an hour long in v0.3) is now reported as over 7 hours long in v0.5, but it plays. I don't think there is any point in uploading the other HD sample that doesn't play at all anymore in case it's duration related, and you can see the duration problem in the "Gossip Girl" sample as well.

... I can confirm those. When switching audio or subtitle there is a little freeze which doesn't seem to exist with VLC and for TS with H264 video track, duration is totally wrong (cf sample : http://www.mediafire.com/?g2xjd4rwa2n). By the way, with this sample I can't get the E-AC3 audio to play (whereas it works with internal splitter), is this expected ?

Ger
18th August 2010, 21:06
With the "John Adams" sample when I first open it, I get a warning about missing audio codec. I click that away and it starts playing (with no audio obviously and with wrong AR). If I then press stop, and play again, it remains frozen. Does that happen with you? This also happens to me with the internal splitter, but not with Haali (stop and play works with Haali).

I'm using Microsoft Win7 decoder (preferred in MPC-HC).

Changing from EVR Sync to EVR Custom didn't seem to change anything.

Problem signature:
Problem Event Name: APPCRASH
Application Name: mpc-hc.exe
Application Version: 1.3.2268.0
Application Timestamp: 4c6c045d
Fault Module Name: StackHash_2b7a
Fault Module Version: 6.1.7600.16559
Fault Module Timestamp: 4ba9b29c
Exception Code: c0000374
Exception Offset: 000cdc9b
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1044
Additional Information 1: 2b7a
Additional Information 2: 2b7a8aec88b183a1d5db4fdf487691fb
Additional Information 3: f18e
Additional Information 4: f18e74554e409b66e4b5aebc55921319


Edit: OK, the freeze on enabling subs and after stop/play depends on the H264 decoder also, as well as the splitter. With ArcSoft decoder that freeze doesn't happen, but video plays at seemingly double speed. Perhaps due to the AnnexB stuff in the first post?

nevcairiel
18th August 2010, 21:13
If I then press stop, and play again, it remains frozen. Does that happen with you?
No, but i also use ffdshow instead of MS, going to test that.
Actually, the AR is correct with ffdshow as well.

The small freeze on stream switches cannot be avoided, its here to stay. Comparing to VLC on this matter is pointless, as the freeze is a result of Direct Show interaction

Edit:
I see the freeze issue with the MS thing as well.

Underground78
18th August 2010, 21:15
The small freeze on stream switches cannot be avoided, its here to stay. Comparing to VLC on this matter is pointless, as the freeze is a result of Direct Show interaction

I has quite sure of your answer, it is ok then. :)

Ger
18th August 2010, 22:15
I just noticed that for some reason the internal mpeg2 decoder doesnt even connect to the stream in the Henry IV sample. Another thing to check out.


Actually, for MPEG-2 video I can't get it to connect to anything except ffdshow now. :confused: If I block ffdshow it refuses all other MPEG-2 decoders on my system.

All my crashes on skipping are in MPEG-2 files, so I guess they must all have been with ffdshow as the video decoder then.

Tried both ffdshow and internal for MPEG audio, and crash with both.

H264 still connects to whatever I set to preferred.

If I missed any questions, ask again. I hope I've answered everything.

Edit: To reproduce the crash, try clicking on different parts of the seek bar in quick succession with MPEG-2 TS samples with ffdshow for video. CTRL-LEFT and CTRL-RIGHT (I think those are the original shortcuts in MPC-HC for jumping a few seconds back/forward) also causes the crash, especially when done in quick succession. I've changed mine to just left/right arrow like in other players so I'm not 100 % sure what the default shortcut is anymore.

STaRGaZeR
18th August 2010, 22:23
No subtitles option, subtitle and audio switching working like a charm, good work.

Minor things I noticed:

- Seeking seems a bit slower than Haali/Gabest, specially with high bitrate Blu-ray content where there's a lot to decode if you don't seek to an I-frame. Same with stream switching, a bit slower. Maybe Haali doesn't reconstruct the entire graph?
- I'd put the no subtitles option always at the bottom of the subtitle streams list, instead of at the top.
- There's nothing in MPC's Navigate -> Audio Language -> ??. Same with subtitles. ffdshow detects the stuff though (it uses IAMStreamSelect).

Kurtnoise
18th August 2010, 22:47
By the way, with this sample I can't get the E-AC3 audio to play (whereas it works with internal splitter), is this expected ?

should be fine with this (http://pastebin.ca/1919682)...;)

tetsuo55
18th August 2010, 22:48
Edit: To reproduce the crash, try clicking on different parts of the seek bar in quick succession with MPEG-2 TS samples with ffdshow for video. CTRL-LEFT and CTRL-RIGHT (I think those are the original shortcuts in MPC-HC for jumping a few seconds back/forward) also causes the crash, especially when done in quick succession. I've changed mine to just left/right arrow like in other players so I'm not 100 % sure what the default shortcut is anymore.Sounds a lot like this decoder bug: http://sourceforge.net/apps/trac/mpc-hc/ticket/135

Underground78
18th August 2010, 22:53
should be fine with this (http://pastebin.ca/1919682)...;)

I don't know much but it would make sens. I think you have made a little typo, correct patch is probably : http://pastebin.ca/1919690 ... :)

naomatrix
18th August 2010, 22:55
OK, now soundtracks and subtitles switches quickly, but the screen at this point flashes black.
And there are new challenges - in PotPlayer(madVR) LAVFSplitter for .avi files does not connect to XVID decoder (also DivX,3viX) only built-in codecs, and on .TS interlaced 1080i MPEG2 (4:2:2) did not see Elecard Mpeg2 HD codec (also DScaler Mpeg2 Video Decoder).
The same problem in the MPC-HC(EVR), only sees the built-in decoders, possibly errors in the players or splitter ?
Another small question, is it possible to make an icon in the tray, as an indicator of spliter's work.
And yet another side issue, there is a problem with Cyrillic fonts in splitter's message.

Thanks.

nevcairiel
19th August 2010, 07:06
OK, now soundtracks and subtitles switches quickly, but the screen at this point flashes black.

Like i said before, this is a side effect of the graph rebuild and cannot be avoided. I tested with Haali, and it does the same, i also get a short interruption of playback. I realize that the switch seems a bit slower then on Haali, but sadly there are no other open-source splitters that do this, so i'm building this from scratch, and seeing how this goes.

I can do one change, and on audio switch try to connect to the old filter. If it accepts the connection, just go with that one. This does however have one drawback. If you, for example, use ffdshow, it can handle most, if not all, audio formats, so once its in use, it would not switch to another decoder, even if it has a higher merit. Is this a real problem? To fix it, you would have to turn the formats you don't want ffdshow to handle off in its configuration, but not every filter supports this kind of configuration.
For me it would be fine, as i use ffdshow for most formats, and ffdshow supports turning off the formats i don't want, but i realize not everyone uses a simple setup like this.
I might make this behaviour configurable once i have a property page.

I'll look into the issue with mpeg2 decoder connections, its probably a simple thing thats wrong in the format header.

Btw. MPEG-TS is such a screwed up format, no wonder there is no good reference splitter for it.

tetsuo55
19th August 2010, 09:00
I can do one change, and on audio switch try to connect to the old filter. If it accepts the connection, just go with that one. That actually sounds like a good idea for all the streams? do you think that is possible?

Also, the slower seeking might be partially caused by time based seeking vs keyframe based, maybe that should be ruled out first?

nevcairiel
19th August 2010, 09:04
That actually sounds like a good idea for all the streams? do you think that is possible?

Video and Subtitles already do this, as replacing the video decoder causes some issues, and the subtitle decoder is usually linked to the video decoder/renderer in some way.

Also, the slower seeking might be partially caused by time based seeking vs keyframe based, maybe that should be ruled out first?
MPEG-TS doesn't offer an easy way to get the keyframes like MKV does, this will need some custom magic to figure out where the GOP borders are.

tetsuo55
19th August 2010, 09:04
God MPEG-TS sucks :(

naomatrix
20th August 2010, 01:00
I tested the LAVFSplitter on this set of files http://thepiratebay.org/torrent/5155837/HDTV_test_files_%28v1.7%29 in PotPlayer/LAVF/MadVr/(XP SP3;Athlon64X25600+/Nvidia9800GT/LCD1400x900)
Overall not bad but there are exceptions:
in file 00019.m2ts (Interlace) splitter can not connect the LPCM audio track to any decoder, indicates error, while Haali quietly connects ffdshow audio decoder;
in VC-1_Sub.mkv does not connect to WMVideoDecoderDMO for "WVC1" FOURCC, like any other except the Pot's built-in(FFmpeg);

That's all, thank you

kieranrk
20th August 2010, 01:37
MPEG-TS doesn't offer an easy way to get the keyframes like MKV does, this will need some custom magic to figure out where the GOP borders are.

MPEG-TS has a keyframe flag in the header.

nevcairiel
20th August 2010, 13:33
Okay, a little status update on MPEG-TS support.

The remaining duration problems are bugs in libavformat. You can easily verify this yourself when running the files through ffplay or ffprobe (i can provide binaries later). TS isn't the best supported format in avformat, sorry.
I have some plans in mind that might improve this situation, but i don't want to go into specifics just yet. It probably will be some time before you hear of this again, so much stuff to do first!

I'm working on a fix for the MPEG-2 headers to properly connect to other filters, and i'll try to fix VC-1 to work with the MS DMO decoder. About the MPEG2 crash .. i'll try to reproduce this first.

Also, i haven't forgotten about all the non-TS bugs, and i'm looking at them too.

hoborg
20th August 2010, 13:37
I updated my post (http://forum.doom9.org/showthread.php?p=1426670#post1426670) - tested on 0.5 now.

Virtual_ManPL
20th August 2010, 13:56
Finally someone make splitter from scratch to replace buggy Haali and not developed Gabest splitter :devil:

Feature request:
1. Tray icon to easily manage streams and chapters (like in Haali)
2. Support for indexless, metadateless or other broken or unfinished files
3. Ogg splitter


Bugs:

1.
Unicode support is missing
http://img801.imageshack.us/img801/2006/unicode.png


2.
Audio isn't recognized in this file
DOWNLOAD (http://www.mediafire.com/?o39248xrjxxicyk)

Error in MPC-HC
C:\Documents and Settings\Virtual_ManPL\Pulpit\Lovers End [H264].mkv::Audio

Media Type 0:
--------------------------
Audio: Vorbis (deprecated) 48000Hz stereo

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {CDDCA2D5-6D75-4F98-840E-737BEDD5C63B}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 256000
cbFormat: 3779

WAVEFORMATEX:
wFormatTag: 0x6771
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 3761 (extra bytes)

pbFormat:
0000: SOME_TOO_LONG_CODE_TO_PASTE_IT_HERE

File info
General
Complete name : C:\Documents and Settings\Virtual_ManPL\Pulpit\Lovers End [H264].mkv
Format : Matroska
File size : 36.6 MiB
Duration : 4mn 14s
Overall bit rate : 1 208 Kbps
Encoded date : UTC 2006-06-09 22:24:38
Writing application : mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:20:19
Writing library : libebml v0.7.7 + libmatroska v0.8.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 4mn 14s
Bit rate : 1 000 Kbps
Width : 848 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.102
Stream size : 29.1 MiB (79%)
Writing library : x264 core 47 svn-527
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=hex / subme=7 / brdo=1 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / chroma_qp_offset=0 / slices=1 / nr=0 / decimate=1 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=1000 / ratetol=4.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Language : English

Audio
ID : 2
Format : Vorbis
Format settings, Floor : 1
Codec ID : A_VORBIS
Duration : 4mn 14s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Stream size : 6.79 MiB (19%)
Writing library : libVorbis 1.1.1/1.1.2 (UTC 2005-03-04)


3.
This file didn't want to play in EVR Custom and in other renderers like VMR7/9 or overlay I hear only audio, video seems missing, but decoder are loaded
DOWNLOAD (http://www.mediafire.com/?v4zdnoxxhpcsy2h)

File info
General
Complete name : C:\Documents and Settings\Virtual_ManPL\Pulpit\Time.mov
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 5.57 MiB
Duration : 1mn 31s
Overall bit rate : 510 Kbps
Encoded date : UTC 2008-06-03 01:46:57
Tagged date : UTC 2008-06-03 01:46:57

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L2.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 30s
Bit rate mode : Variable
Bit rate : 388 Kbps
Maximum bit rate : 1 794 Kbps
Width : 480 pixels
Height : 320 pixels
Display aspect ratio : 3:2
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.084
Stream size : 4.21 MiB (76%)
Title : (C) 2007 Google Inc. v06.24.2007.
Encoded date : UTC 2008-06-03 01:46:57
Tagged date : UTC 2008-06-03 01:46:57

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 1mn 31s
Bit rate mode : Variable
Bit rate : 122 Kbps
Maximum bit rate : 209 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Stream size : 1.33 MiB (24%)
Title : (C) 2007 Google Inc. v06.24.2007.
Encoded date : UTC 2008-06-03 01:46:57
Tagged date : UTC 2008-06-03 01:46:57

Underground78
20th August 2010, 14:24
Okay, a little status update on MPEG-TS support.

The remaining duration problems are bugs in libavformat. You can easily verify this yourself when running the files through ffplay or ffprobe (i can provide binaries later). TS isn't the best supported format in avformat, sorry.
I have some plans in mind that might improve this situation, but i don't want to go into specifics just yet. It probably will be some time before you hear of this again, so much stuff to do first!

I'm working on a fix for the MPEG-2 headers to properly connect to other filters, and i'll try to fix VC-1 to work with the MS DMO decoder. About the MPEG2 crash .. i'll try to reproduce this first.

Also, i haven't forgotten about all the non-TS bugs, and i'm looking at them too.

Ok, thanks a lot for your work.

As there will be probably a lot of bug reports that you won't have time to look at rapidly, don't you think it could be great to have some sort of bug tracker to keep trace of them better than a thread where it will gradually become very difficult to find them ?

MatMaul
20th August 2010, 14:27
The remaining duration problems are bugs in libavformat. You can easily verify this yourself when running the files through ffplay or ffprobe (i can provide binaries later). TS isn't the best supported format in avformat, sorry.
vlc demuxer seems to be a lot better in that regard.

Underground78
20th August 2010, 14:32
vlc demuxer seems to be a lot better in that regard.

Well, VLC demuxer is quite strange too. It does not seem to correctly detect the duration since it displays 00:00 but seeking works, I don't understand how it can be possible so maybe it is just a display problem ...

nevcairiel
20th August 2010, 14:33
As there will be probably a lot of bug reports that you won't have time to look at rapidly, don't you think it could be great to have some sort of bug tracker to keep trace of them better than a thread where it will gradually become very difficult to find them ?

I was storing important links in some text file so far. :D but i've been thinking about a proper project page before, and i'll just set it up on googlecode or so.

clsid
20th August 2010, 15:17
The readme mentions that it is needed to uninstall Haali. That is actually not needed at all. Simply use this registry key to enable use of LAVFSplitter:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Media Type\Extensions\.mkv]
"Source Filter"="{B98D13E7-55DB-4385-A33D-09FD1BA26338}"

May I suggest to enable runtime CPU detect and not force compilation for a specific CPU type. The filter currently does not work on older CPUs.

Can you give a list of which entries in the following key correspond to which file formats? That will allow the testers here to tweak the filter registration until a configuration dialog is implemented.
HKEY_CLASSES_ROOT\Media Type\{e436eb83-524f-11ce-9f53-0020af0ba770}\{9C53931C-7D5A-4A75-B26F-4E51654DB2C0}

An INI file could be useful to specify for which formats the filter should register itself during installation/regsvr32.

clsid
20th August 2010, 15:29
Figured out the list myself:
HKEY_CLASSES_ROOT\Media Type\{e436eb83-524f-11ce-9f53-0020af0ba770}\{9C53931C-7D5A-4A75-B26F-4E51654DB2C0}
0 - Matroska - 0,4,,1A45DFA3
1 - MPEG - 0,16,FFFFFFFFF100010001800001FFFFFFFF,000001BA2100010001800001000001BB
2 - MPEG - 0,5,FFFFFFFFC0,000001BA40
3 - MPEG - 0,8,fffffc00ffe00000,4156000055000000
4 - MPEG - 0,1,,47,188,1,,47,376,1,,47
5 - MPEG - 4,1,,47,196,1,,47,388,1,,47
6 - MPEG - 0,4,,54467263,1660,1,,47
7 - AVI - 0,4,,52494646,8,4,,41564920
8 - AVI - 0,4,,52494646,8,4,,41564958
9 - MP4 - (ftyp) - 4,4,,66747970
10 - MP4 (moov) - 4,4,,6d6f6f76
11 - MP4 (mdat) - 4,4,,6d646174
12 - MP4 (skip) - 4,4,,736b6970
13 - MP4 (wide mdat) - 4,12,ffffffff00000000ffffffff,77696465027fe3706d646174
14 - MP4 (raw) - 3,3,,000001
15 - FLV - 0,4,,464C5601

XhmikosR
20th August 2010, 15:49
Does anybody know why the splitter cannot be registered with Inno Setup? Using a simple script like this (http://xhmikosr.1f0.de/patches/lavfsplitter/LAVFSplitter.iss) fails with a RegSvr32 failed with exit code 0x3 message.