View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
What do you mean with byte markers? Do you mean "commo types" are handled different?
SamuriHL
4th May 2011, 11:51
ah, completely missed those posts, they're very similar to my problem. Another thing to check when I update the firmware. If Samuri is not having this problem I guess there's a good chance Pioneer fixed it at some point.
I don't think I have any material to test that with.
Andy o
4th May 2011, 12:03
anything with a legacy DTS track should do, if you don't have one you could just remux the DTS core from a DTS-HD disc. I'll know soon enough though, so don't do it on my account, but you might have this problem as well.
SamuriHL
4th May 2011, 12:06
I'll definitely take a look into this with both pios tonight. Gotta go into the office today so it'll be much later, unfortunately.
Sent from my Xoom using Tapatalk
nevcairiel
4th May 2011, 16:32
Its new build time!
http://files.1f0.de/lavf/LAVFilters-0.24-66-g00e407c.zip
I added DTS-HD detection, so "normal" DTS should use normal DTS bitstreaming, and DTS-HD should switch to HD streaming. There is also an option to force HD streaming.
All those users with DTS bitstreaming problems before, please try this build.
I also implemented a first draft of the Separate forced subtitle stream. Its a pretty crude implementation - when selected, it'll use the first PGS sub stream matching the language of your Audio stream, and try to extract forced subs. On my Avatar disc, it works just fine.
It'll only show up when there are actually some PGS streams.
This is now feature complete for what i wanted in 0.25 - so its basically a release candidate. Please test this, especially the two new features from today.
Thanks!
Sebastiii
4th May 2011, 16:39
Thanks Nev :)
Will try later tonight:)
SamuriHL
4th May 2011, 16:44
I'll try when i get home later as well.
nevcairiel
4th May 2011, 17:36
Never mind that earlier version, it had some crash in it.
http://files.1f0.de/lavf/LAVFilters-0.24-67-g85a66a8.zip
pie1394
4th May 2011, 17:45
Its new build time!
http://files.1f0.de/lavf/LAVFilters-0.24-66-g00e407c.zip
With filter version 0.24-66, MPC-HC got crashed with most video samples at my side!
Those files are ok with filter version 0.24-57 or 0.24-60.
Bitstream passthrough mode on DTS / DTS-core in DTS-HD / AC-3 has worked since 0.24-57 on my system.
The AVR is the somewhat old one --- Yamaha RX-V1500
(up to DTS-ES. No HDMI for DTS-HD/MA, TrueHD, AAC, WMAPro, 192KHz 24-bit LPCM).
DTS-HD passthrough mode gets noise from AVR, of course.
The sound card is HDA X-Plosion. (C-media 8770 + DTS@Connect)
Another found issue is about 1440x1080 16:9 anamorphic MKV file's H.264 video. Somehow it gets 4:3 video window instead of 16:9. It works fine with Haali Media Splitter.
n3w813
4th May 2011, 17:47
Never mind that earlier version, it had some crash in it.
http://files.1f0.de/lavf/LAVFilters-0.24-67-g85a66a8.zip
Wow, you're quick! I was just about to report that. :D
BTW, DTS and DTS-HD are working nicely now with my HK. :thanks:
nevcairiel
4th May 2011, 18:55
BTW, DTS and DTS-HD are working nicely now with my HK. :thanks:
Great. :)
SamuriHL
4th May 2011, 18:57
Building it now. I'll get to testing sometime this afternoon.
CruNcher
4th May 2011, 19:16
I've run a bunch of tests on DVB recordings with LAVFilters-0.24-60-g64b193c and put the results (http://www.mediafire.com/?82acnyskt4n43hn) in an Excel 2007 format table. The table width shouldn't be a problem with that new 30 inch beast. Admittedly I have to scroll a little on my tiny 27" 1920x1200 (with the Win7 taskbar on the left). ;)
The audio format descriptions look weird (see the "reported audio" column). These are from the MPC-HC file properties dialog (or from LAV Splitter audio pin info). The listed audio tracks in the filters menu look fine though (and I suppose subtypes etc.).
The table also addresses the ts/h264 video parsing issue. With the four decoders I've tested here, it seems to me that disabling video parsing for (DVB-sourced) H.264 in TS is mostly fine.
The exception is CoreAVC (2.5.5) which looks buggy with interlaced content. Using their bob option instead of hw deint makes it even worse (chokes EVR-CP). I think it's mostly better to keep parsing on for this particular decoder, but even that has its issues (causes wrong field order and still needs FTC with some files).
MPC-HC DXVA decoder has some issues, but I don't think parsing on/off has much effect either way. The Microsoft and PDVD11 decoders are pretty much problem free with these samples. Some startup glitching with MS. Cyberlink (but only with DXVA mode) is probably better also for other reasons (I won't elaborate on those here).
Tested with ATI and hw deint + pulldown detection enabled in CCC. Hopefully Nvidia cards will behave the same with their ivtc driver option enabled (I think they do, but I can't say for sure). The only progressive sample (720p50) is problem free with all decoders.
I focused on DVB-S2/DVB-T/DVB-T2 recordings and DXVA (CoreAVC, Microsoft, MPC-HC, PDVD11 decoders). If someone else wants to expand with other decoders (LAV CUVID, Arcsoft, ffdshow, DiAVC etc.) or samples from other sources (BD, ATSC, ISDB, DMB, Hauppauge HDPVR, DVB-C etc.) feel free to edit the .xlsx or just post your findings here or whatever.
The Discovery HD sample is here (http://www.multiupload.com/QV2UOR1QLO). All other samples used have been uploaded and linked to at some point earlier in the thread, either be me or by someone else. Let me know if you need them and I can try to dig up the links or upload them again.
As usual, all tests were done quickly, and nothing double-checked or proof-read, so there may be mistakes.
Everything works perfect for every H.264/VC-1 ts (Cyberlink) :) also deinterlacing (MBAFF,PAFF) (Frame/Field-Interlaced-progressive) is done properly for every sample i have, also Mpeg-2 works perfect now after some config changes (especially for painless deinterlacing in all samples) in the particular decoder (in this case Mainconcept).
Though it seems other issues arise now such as seek Hillary.0001.ts seeking stopped working also with Lav Cuvid here :(
Im concentrating now searching for seek related issues and then once and for all move on though i guess i will left out .m2ts more as enough are testing that :)
So all in all i found no issues with Cyberlinks decoder and Video Stream Parsing OFF :) i would say its save to disable it by default but leave it in just in case (MPC-HC Decoder issues) :)
PS: Personally i would be careful with Nvidias Controll Panel Telecine and some Decoders it seems it can go wrong depending on the config and Soft Telecine at least most good decoder do that right based on the flags, though they also dont seem to be interupted by Nvidias Controll Panel setting then anyways doing their own thing see MPC-HC Decoder issue as well.
Nev, your AVR seems to behave well with bitstreaming as well, do you require all DTS-HD framing for DTS-ES to passthough?
My Yamaha seems to like DTS-HD for everything, I loose DTS-ES etc with the new default settings, but this is also what my custom installer is for :p
Also don't know what changed, but WMA is now also working in x86 for me in latest build :)
Out if interest, do you ever plan to add AC3 encoding to LAV audio? This isn't something I would ever use again, but just wandering.
Just noticed a regression with DVB subs. They're not working anymore. Nothing is shown in MPC-HC.
It was actually broken already in the 0.24 release:
LAVFilters-0.23-11-g5d50f7c.zip working.
LAVFilters-0.24.zip and later is broken.
Previous samples with DVB subs include John Adams, Medium and the Discovery HD sample I uploaded this morning.
PS. The ugly green DVB sub background is the MPC-HC sub renderers fault. It's supposed to be semi-transparent gray like in VLC or DVBViewer.
nevcairiel
4th May 2011, 19:51
Nev, your AVR seems to behave well with bitstreaming as well, do you require all DTS-HD framing for DTS-ES to passthough?
I don't think i have any ES stream
Out if interest, do you ever plan to add AC3 encoding to LAV audio? This isn't something I would ever use again, but just wandering.
No, you can do this with reclock, or any half-good sound card offers that ability - or hell even ffdshow in raw mode if you must.
Andy o
4th May 2011, 19:53
I have DTS-ES content, I'll test it in a moment.
CruNcher
4th May 2011, 19:55
Never mind that earlier version, it had some crash in it.
http://files.1f0.de/lavf/LAVFilters-0.24-67-g85a66a8.zip
hehe i wonder why that always happens it was now the 3rd time after a build you had to replace it shortly after i think not counting the lav source (destroy your files issue) ;)
You could @ least test some basic functionality before making a public build available ;)
nevcairiel
4th May 2011, 20:02
Though it seems other issues arise now such as seek Hillary.0001.ts seeking stopped working also with Lav Cuvid here :(
Im concentrating now searching for seek related issues and then once and for all move on though i guess i will left out .m2ts more as enough are testing that
Seeking is broken because there appears to be a PTS wrap-around in the file, and apparently the seeking code does not like that very much, especially because the two programs in that file do not share the same starting time. Its a design flaw in ffmpeg, nothing thats easily fixable, too.
Stupid MPEG-TS with its silly timestamps.
Edit:
I managed to fix that particular file, but there will be breakage on files with pts wraps in them, seeking is not fully possible in them.
You could @ least test some basic functionality before making a public build available ;)
Testing is for wusses
No, you can do this with reclock, or any half-good sound card offers that ability - or hell even ffdshow in raw mode if you must.
Expected as much
SamuriHL
4th May 2011, 20:12
hehe i wonder why that always happens it was now the 3rd time after a build you had to replace it shortly after i think not counting the lav source (destroy your files issue) ;)
You could @ least test some basic functionality before making a public build available ;)
You've GOT to be joking. :rolleyes: The nature of *TESTING* precludes having and finding issues. If you want stability and problem free builds, wait til the official releases. If you're going to use a beta that's posted, you should expect to run into problems. That's the point...to find those to solidify an actual release. If Nev waited to post these builds until he tested them, then, he wouldn't need us to test them in the first place. The idea is that he develops, we test, and end users get more stable release versions. This model is what I signed on for and completely works for me.
CruNcher
4th May 2011, 20:44
You've GOT to be joking. :rolleyes: The nature of *TESTING* precludes having and finding issues. If you want stability and problem free builds, wait til the official releases. If you're going to use a beta that's posted, you should expect to run into problems. That's the point...to find those to solidify an actual release. If Nev waited to post these builds until he tested them, then, he wouldn't need us to test them in the first place. The idea is that he develops, we test, and end users get more stable release versions. This model is what I signed on for and completely works for me.
Testing if a build works or not (crashes in a particular load situation) by running some predefined test environment has nothing todo with what you saying about the actual test phase (Lav source killing the content). Sure the testing of a Dshow filter is in it's core much more complex but not that initial part that most parsing functions work correctly and it doesn't crash when feed with a stream it supports :)
nevcairiel
4th May 2011, 20:49
It didn't crash with all files, just with some with certain attributes.
I do test my own builds, but i usually upload them after i see they work with a some files, usually the ones i was developing some feature for before. As you see from the order of posts, i did notice the crash before anyone else reported it - i just uploaded it first so others get a chance to test it. :p
The source snapshots are just that - snapshots. If i were to extensively test every upload, i could just call them releases. :p
nevcairiel
4th May 2011, 21:01
Just noticed a regression with DVB subs. They're not working anymore. Nothing is shown in MPC-HC.
Fixed, sorry about that.
Andy o
4th May 2011, 21:30
Nev, your AVR seems to behave well with bitstreaming as well, do you require all DTS-HD framing for DTS-ES to passthough?
My Yamaha seems to like DTS-HD for everything, I loose DTS-ES etc with the new default settings, but this is also what my custom installer is for :p
DTS-ES working as it should here without DTS-HD framing.
Sub Testing (from BD Disk): The config option seems important at present, eg
- Auto loading of PGS subs looks good if you have LAVSplitter set to (for me): Audio 'eng', Subtitles 'eng', Subtitle Selection Mode 'Full Subtitles' with only "Austo-Selected Forced Subtitles" check (eg Only with matching language and Deliver only Forced Subtitles is unchecked.
- MC16 will crash if LAV Splitter under Subtitle Selection Mode: "Only Forced Subs" + "only with matching language" is checked on BD playback but this setting is fine with files.
DTS-ES working as it should here without DTS-HD framing.
Thanks, I guess this is the 1st quirk of my AVR :p
nevcairiel
4th May 2011, 22:02
- MC16 will crash if LAV Splitter under Subtitle Selection Mode: "Only Forced Subs" + "only with matching language" is checked on BD playback but this setting is fine with files.
I cannot reproduce any crashes.
nevcairiel
4th May 2011, 22:05
I don't understand your question.
You said earlier you have Full Subtitle mode active, of course it'll select the full english track then. Switch it to Only Forced Subs and it'll use the new virtual track by default.
I cannot reproduce any crashes.
Uggg - it is 100% repleatable for me and will crash if all the following is met:
- Only Forced Subs" + "only with matching language" is checked
- BD (index.bdmv) playback
- Must have Subtitle Tracks
File Playback is fine, BD without subs is fine....
Here is a bit of the MC Log (prob no great use) indivcating a crash in the filters.
Is there any other combination of settings that I should test?
0956145: 10852: Playback: CDShowFilterGraph::RenderFileEx: Start
0956145: 10852: Playback: CDShowFilterGraph::RenderFileEx: extension=mpls, bWindowsMedia=0, filename=X:\Output\Letters_From_Iwo_Jima\Letters_From_Iwo_Jima\BDMV\PLAYLIST\00000.mpls
0956145: 10852: Playback: CDShowFileRenderer::RenderFile: Start
0956145: 10852: Playback: CDShowFileRenderer::LoadSourceFilter: Start
0956145: 10852: Playback: CDShowFileRenderer::LoadSourceFilter: Failed to add user selected filter to graph
0956145: 10852: Playback: CDShowFileRenderer::LoadSourceFilter: Finish (0 ms)
0956145: 10852: Playback: CDShowFileRenderer::RenderFile: LoadSourceFilter returned 0x80004005
0956145: 10852: Playback: CDShowFileRenderer::LoadTransformFilters: Start
0956145: 10852: Playback: CDShowFileRenderer::LoadTransformFilters: Adding filter LAV Audio Decoder
0956145: 10852: Playback: CDShowFileRenderer::LoadTransformFilters: Adding filter ffdshow Video Decoder
0956161: 10852: Playback: CDShowFileRenderer::LoadTransformFilters: Finish (16 ms)
0956161: 10852: Playback: CDShowFileRenderer::RenderFile: LoadTransformFilters returned 0x0
0956161: 10852: Playback: CDShowFileRenderer::RenderFile: Rendering by automatic way
0956161: 11004: Playback: COSDWindow::Draw: Start
0956161: 11004: Playback: COSDWindow::Draw: Finish (0 ms)
0956208: 11004: Playback: COSDWindow::UpdatePosition: Start
0956208: 11004: Playback: COSDWindow::UpdatePosition: Finish (0 ms)
0956317: 11004: Playback: COSDWindow::UpdatePosition: Start
0956317: 11004: Playback: COSDWindow::UpdatePosition: Finish (0 ms)
0956333: 10852: General: TopLevelExceptionFilter: Unhandled exception -- program crashing
0956333: 10852: General: TopLevelExceptionFilter: Message: 0, wParam: 0, lParam: 0, Window class:
0956988: 11004: Playback: CBitrateMonitor::UpdateBitrate: Start
0956988: 11004: Playback: CBitrateMonitor::UpdateBitrate: Accum audio bytes 0, video bytes 0, time period 1057.980160 ms
0956988: 11004: Playback: CBitrateMonitor::UpdateBitrate: Bitrate for current period: 0, audio: 0, video 0
0956988: 11004: Playback: CBitrateMonitor::UpdateBitrate: Finish (0 ms)
0959983: 11004: Playback: CBitrateMonitor::UpdateBitrate: Start
I don't understand your question.
You said earlier you have Full Subtitle mode active, of course it'll select the full english track then. Switch it to Only Forced Subs and it'll use the new virtual track by default.
I'm obviously not getting it (or explaing well) sorry. Let me take a step back and ask first what the recomended settings are for a default config for Forced subs (in your language) for both file and blu playback.
nevcairiel
4th May 2011, 22:15
I'm obviously not getting it (or explaing well) sorry. Let me take a step back and ask first what the recomended settings are for a default config for Forced subs (in your language) for both file and blu playback.
- Fill the audio language field
- Set submode to "Only Forced Subs"
- Only with matching language is your choice, really.
- Enable "Auto-Select Forced Subtitles" (i should rename this option)
- Deliver only forced subs has no influence on this setup, can remain off.
BTW, which version are you using? I hope at least 0.24-67, -66 had a crash which could somehow explain yours. :P
SamuriHL
4th May 2011, 22:27
@Andy - I'm ripping a True Blood episode with DTS core only right now to test with the older (non-fixed) version of LAVF Splitter so I can see if the Pio handles it ok.
@Nev - I'm building the very latest code to test after I'm done with that
@jmone - I will take a look and see if I can repro your issue when I'm done. Before now I always had just only forced and matching language. I've never had an issue.
- Fill the audio language field
- Set submode to "Only Forced Subs"
- Only with matching language is your choice, really.
- Enable "Auto-Select Forced Subtitles" (i should rename this option)
- Deliver only forced subs has no influence on this setup, can remain off.
Thanks what I thought and the exact setting that causes the crash.
BTW, which version are you using? I hope at least 0.24-67, -66 had a crash which could somehow explain yours. :P
V67.
@jmone - I will take a look and see if I can repro your issue when I'm done. Before now I always had just only forced and matching language. I've never had an issue.
Thanks - I've never had an issue till V67 either and ONLY with the specific combo outlined. Rest seems fine.
http://img689.imageshack.us/img689/8982/54210199.jpg
nevcairiel
4th May 2011, 22:36
I figured out the crash, its ffdshows fault, MPC-HC sub renderer didn't do it.
I'll fix it.
Nev, any reason I shouldn't be able to use MSVC++ 2010 Express to build? Are you guys using MinGW GCC 4.5.2 to build ffmpeg?
nevcairiel
4th May 2011, 22:38
No idea if Express works. And yes, 4.5.2 here.
SamuriHL
4th May 2011, 22:41
I'm not using express, either, so no clue there, but, I'm also sticking with 4.5.2. No reason to change to 4.6.0.
SamuriHL
4th May 2011, 22:42
@Andy - Bitstreams DTS just fine with the older version of LAVF Splitter that wasn't fixed. Looks like Pio fixed it on my 21TXH. That was nice of them. :D
I figured out the crash, its ffdshows fault, MPC-HC sub renderer didn't do it.
I'll fix it.
Thanks.
SamuriHL
4th May 2011, 22:55
Jmone, I can confirm the crash bug so we'll need to wait until Nev fixes it. I'll do a new build as soon as he does and verify it.
nevcairiel
4th May 2011, 23:08
http://files.1f0.de/lavf/LAVFilters-0.24-72-g8f67c41.zip
- DVB subs fixed
- Minor mpeg-ts seeking improvements
- fixed a crash with ffdshow and the new virtual forced subs stream
SamuriHL
4th May 2011, 23:11
Confirmed the crash fix. Thanks, Nev!
Thanks - I can also confirm the fix + disregard the earlier post as the logic now makes sence and with this setting the extracted subtitle stream is being marked as selected in the players menu (as you would expect).
Also this latest build no longer dispays the arabic text subs I was getting on extracted DVD Content. :)
SamuriHL
5th May 2011, 00:09
That's, uh, probably good yea? :)
Andy o
5th May 2011, 01:13
@Andy - Bitstreams DTS just fine with the older version of LAVF Splitter that wasn't fixed. Looks like Pio fixed it on my 21TXH. That was nice of them. :D
Thanks. Does it work with the new build and with DTS-HD framing turned on?
It was not like DTS didn't work for me 100%. I have one file that doesn't, and another did work but it switched off MCACC with DTS-HD framing.
SamuriHL
5th May 2011, 01:16
Thanks. Does it work with the new build and with DTS-HD framing turned on?
It was not like DTS didn't work for me 100%. I have one file that doesn't, and another did work but it switched off MCACC with DTS-HD framing.
No problems at all. I tried with all the new settings and without. Played fine with no issues. All good.
Andy o
5th May 2011, 01:30
Thanks, now just to wait for that letter. It's gonna be a mess to disconnect and take out my receiver.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.