View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
Andy o
12th June 2011, 03:39
sorry, my question above was for endpoint122
Skinleech
12th June 2011, 09:35
DVBViewer works just fine for me, however i have no AAC channels, so i can only test AC3 and MPEG Audio. I would need some Pin informations for that.
No problem - assuming you can let me know how to access the info in DVBViewer? Freeview HD only broadcasts in AAC LATM, and similar to what CiNcH has mentioned, it likes to switch from 2.0 to 5.1 mid-stream.
Thanks :)
pankov
12th June 2011, 10:16
Guys,
if you use the DVBViewer Recording Service ... or even the NetStreeming plugin in DVBViewer you can let nevcairiel access your live video stream.
This way he can debug the AAC LATM problem and fix it.
Even if your internet connection doesn't have enough upload speed I think he'll be able to see the actual data.
If you need help with configuring this send me PM.
Gleb Egorych
12th June 2011, 15:05
Bug in LAV Audio interacting with dtsdecoderdll.dll 1.1.0.0. Here is small sample (http://www.mediafire.com/?u7difyid5s1eqer). In the middle of the file sound mutes. If right after file open you seek to 6 sec position then there is no sound mute.
Version 1.1.0.1 is also affected, versions 1.1.0.7/8 are unaffected. ASAudioHD.ax with 1.1.0.0 plays fine without mute.
BTW there is a discussion (http://forum.doom9.org/showthread.php?p=1504294#post1504294) in eac3to topic regarding best arcsoft version, seems there is no best version unfortunately.
nevcairiel
12th June 2011, 15:32
Bug in LAV Audio interacting with dtsdecoderdll.dll 1.1.0.0
Fixed, thanks for the report and sample.
Regarding the "best" version - i'm using 1.1.0.8 these days, because i've never seen an actual 6.0 sample in real life (only layout thats known to be really broken with 1.1.0.8), and overall it seems to be more stable for me.
Gleb Egorych
12th June 2011, 20:17
You're welcome :)
You wrote only about 6.0 problem with 1.1.0.8 while in eac3to thread some people wrote versions .7 and .8 couldn't decode DTS-HD MA 6.1 properly (see here (http://forum.doom9.org/showthread.php?p=1459063#post1459063) and here (http://forum.doom9.org/showthread.php?p=1461999#post1461999)). Does it work for you?
Sumup of ArcSoft versions is here (http://forum.doom9.org/showthread.php?p=1461841#post1461841).
nevcairiel
12th June 2011, 20:20
6.1 works for me, indeed. Might've been something in eac3to, because it was developed for 1.1.0.0 initially.
Gleb Egorych
12th June 2011, 20:40
Sorry for bothering, 6.1 works without artifacts (ringing, distortions like reported with eac3to), right?
nevcairiel
12th June 2011, 20:42
Go try it, its not like its some super magic to exchange that one dll.
Gleb Egorych
12th June 2011, 22:56
I have only two samples of DTS 6.1, one with noise (http://www.mediafire.com/?k77pldzems9stn3) to test channel mapping and another (http://www.mediafire.com/?jcie332d4231g8r) with voice. With both of them it's hard to differ decoder versions so I used dump.ax to compare results. Outputs of 1.1.0.1, 1.1.0.7 and 1.1.0.8 are bit-identical and differ from output of 1.1.0.0.
cho-gde-kto
13th June 2011, 10:04
TrueHD (Core AC3 5.1 640) passthrough over SPDIF....
- * Splitter + LAV Audio = PCM (stereo) or no sound
- * Splitter + Cyberlink Audio = PCM (stereo)
- CLDemuxer2 + LAV Audio = no sound
- CLDemuxer2 + Cyberlink Audio = Dolby (5.1)
P.S. with any DTS* - no problem
nevcairiel
13th June 2011, 10:06
TrueHD does not work over SPDIF, and never will.
On m2ts files, LAV Splitter will create a separate AC3 track for backwards compat on TrueHD files.
cho-gde-kto
13th June 2011, 10:56
TrueHD does not work over SPDIF, and never will.
On m2ts files, LAV Splitter will create a separate AC3 track for backwards compat on TrueHD files.
yes, but this track (AC3 track for backwards compat on TrueHD files) is wrong passed through spdif with LAV* (PCM Stereo)
with PDVD, TMT, Splash, DAUM - Dolby 5.1 (AC3)
E-AC3 - only with PDVD, TMT I hear DOLBY (AC3)
(7/64, ASUS P5B-E, MicroLab H-500D)
http://www.multiupload.com/KEW7L2LUZG
http://www.multiupload.com/YFK2UDUWOK
MPC-HC > Cyberlink Denuxer2 + Cyberlink Audio Decoder + Cyberlink Video Decoder (11) = perfect :cool: (bitstream any HD-audio tracks on m2ts over SPDIF (DTS-MA/HRA with DTS CORE, TrueHD(with embedded AC3/CORE), and even E-AC3 ! :eek: , ...))
My microlab shows - "DTS" and "Dolby Digital" :cool: , but with LAV* (or with ffdshow, mpadecfilter,...) - "DTS" on DTS* tracks and "PCM Stereo" on TrueHD/E-AC3 :(
Why???
jj666
13th June 2011, 11:16
Tested my Akira BD remux to .TS which is rather a peculiar one with 5.1 TrueHD and 2.0 core for the Japanese, and 5.1/5.1 for the English, that worked perfectly fine (with correct cores being played back on both files). Manually selecting the core of course.
I don't have TrueHD bitstreaming ticked, but can confirm that it's playing 2.0 PCM (which of course is all the SPDIF is capable of) automatically. Is there a way to preselect the core as happens with DTS-HD, if bitstreaming TrueHD isn't selected?
Cheers,
-jj-
I have it on Blu-ray, but who knows if its the same version. What time in the movie does the problem occur?
My Blu-Ray has a runtime of 2h08m44s. The scene is at about 15 minutes, where the terminator figure hits the delete key and the appartment is blown up. After that you see the sniper looking below, that's where the problem starts. You hear him zipping the case and the other guys caughing, while he's still looking at the appartment. Might take a few runs to reproduce the problem, but I'd say it's there about 80% of the time.
Were you able to reproduce the problem?
@nevcairel
I installed v0.29 splitter/audio by clicking on the .bat files in the folder and then reset the media type lists for the audio decoder in Mpc-Hc. I noticed MEDIATYPE_DVD_ENCRYPTED_PACK does not appear in the allowed types, so I can only get DVD audio to work by manaully adding it. Have I missed something ?
nevcairiel
13th June 2011, 15:38
Were you able to reproduce the problem?
Didn't try yet.
@nevcairel
I installed v0.29 splitter/audio by clicking on the .bat files in the folder and then reset the media type lists for the audio decoder in Mpc-Hc. I noticed MEDIATYPE_DVD_ENCRYPTED_PACK does not appear in the allowed types, so I can only get DVD audio to work by manaully adding it. Have I missed something ?
You must've missed something, that shows up just fine here.
---
As a info for everyone else, i'll be on vacation, so don't expect answers for the next 2 weeks. :p
SamuriHL
13th June 2011, 15:42
As a info for everyone else, i'll be on vacation, so don't expect answers for the next 2 weeks. :p
Good thing I'll be drunk on a beach all next week then. :D
Gleb Egorych
13th June 2011, 15:55
I updated my previous post (http://forum.doom9.org/showthread.php?p=1507687#post1507687) with correct sample links. I compared different version of arcsoft decoders (1.1.0.0, .1, .5, .7, .8) and can say that DTS 6.1 problems of .5+ versions with eac3to are clearly eac3to problems, not decoder. Moreover, .0 and .1 often output 24 bit when source is 16 bit, .5+ output correct bitdepth. Guess it's the reason why eac3to fails to decode DTS 6.1 properly with the latter versions.
Even if output bitdepth is identical output pcm is different (tested with dump.ax). Version .0 gives one version, .1 gives the second one, .5+ the third. Don't know which is better but I assume .5+ versions are better.
Version .5 is very similar to .7, same mono bug. Don't have a sample to check 6.0 bug but I assume it's here like in .7 and .8.
i'll be on vacation, so don't expect answers for the next 2 weeks. :p
Have a nice trip :)
nevcairiel
13th June 2011, 15:59
Here (http://files.1f0.de/samples/330.dts) is a 6.0 channel id sample
I installed v0.29 splitter/audio by clicking on the .bat files in the folder and then reset the media type lists for the audio decoder in Mpc-Hc. I noticed MEDIATYPE_DVD_ENCRYPTED_PACK does not appear in the allowed types, so I can only get DVD audio to work by manaully adding it. Have I missed something ?
You must've missed something, that shows up just fine here.
Yes - had to remove the filter from the list and re-add to get the new media types, just resetting does nothing. All sorted now.
nevcairiel
13th June 2011, 16:19
Oh yeah, i noticed that before. Sorry, thought you meant that with "reset".
pirlouy
13th June 2011, 18:29
Option "expand mono to stereo" is nice; could you create an option "expand stereo to rear/surround" ? That would be great (and so, no need for a complete matrix in my case).
clsid
13th June 2011, 19:07
LAVAudio does not decode Vorbis in MKV with Haali as splitter. Is it just a missing mediatype?
Can you let LAVAudio store the format settings in a similar way as LAVSplitter? That is easier to use by external config apps.
Mercury_22
13th June 2011, 19:26
Option "expand mono to stereo" is nice; could you create an option "expand stereo to rear/surround" ? That would be great (and so, no need for a complete matrix in my case).
+1 for REAR:)
Gleb Egorych
13th June 2011, 20:34
Here (http://files.1f0.de/samples/330.dts) is a 6.0 channel id sample
Thanks, nev. Contrary to my assumption version 1.1.0.5 plays this file correctly. In fact it is the only version of dtsdecoderdll.dll which plays the file with proper channel number and proper bitdepth. Sadly it has mono bug like 1.1.0.7 does.
JarrettH
13th June 2011, 21:13
Can I have LAV Audio downmix to 2.0 channels? I used to use AC3 filter for doing this :cool:
nevcairiel
13th June 2011, 21:14
Yes - had to remove the filter from the list and re-add to get the new media types, just resetting does nothing. All sorted now.
I fixed the behaviour of that reset button in MPC-HC 3222.
Can I have LAV Audio downmix to 2.0 channels? I used to use AC3 filter for doing this :cool:
Thats a planned feature, but not yet supported.
Gleb Egorych
13th June 2011, 21:27
About arcsoft and mono: tested DTS-HD MA 1.0 24/48 file, 1.1.0.0 and 1.1.0.1 produce identical output, 1.1.0.8 produces a different output. Nice behaviour for a lossless decoder.
JarrettH
13th June 2011, 21:27
Ok thanks, not a big deal, actually possibly, but I'll just reinstall AC3 filter to do that part. :p
nevcairiel
13th June 2011, 21:29
About arcsoft and mono: tested DTS-HD MA 1.0 24/48 file, 1.1.0.0 and 1.1.0.1 produce identical output, 1.1.0.8 produces a different output. Nice behaviour for a lossless decoder.
The thing about 1.1.0.8 is that it produces Stereo output for Mono files, and i take that output and reduce it back to one channel, and i'm not 100% sure if thats a lossless operation.
I can run a comparison myself and see if i can tweak the conversion algorithm a bit.
Sebastiii
14th June 2011, 09:37
Hi Nevcairiel,
What do you think about talking : http://forum.team-mediaportal.com/756617-post607.html ?
Thank you.
ney2x
14th June 2011, 14:00
FYI.
I asked shark007 (http://shark007.net/) to include LAV CUVID and LAV Filters in his codec pack and he says he will in his next release. And also Win7DSFilterTweaker v4.2 (http://www.codecguide.com/windows7_preferred_filter_tweaker.htm) now supports LAV CUVID (thanks to clsid) and Codec Tweak Tool v4.9.5 (http://www.free-codecs.com/download/codec_tweak_tool.htm) supports LAV Filters. These utilities are useful to those who used WMP12/WMC as their main player.
BloodySword
14th June 2011, 17:23
Found a small bug with TTA, the last buffer seems to be dropped at the end of playback. Don't know if this is a avformat problem or even avcodec problem. This problem is reproduceable with ANY .tta file I have. They were encoded with official ttaenc.exe, latest version.
ney2x
14th June 2011, 19:09
Off-topic:
Is there a way to show subtitles like ffdshow subtitle placement/letterbox/vertical position 98% (bottom)
http://img861.imageshack.us/img861/2369/ffdshowc.jpg
And not like this
DirectVobSub
http://img855.imageshack.us/img855/733/directvobsub.jpg
Note: Sorry, I don't know the right word for what I'm trying to achieve in DirectVobSub, is it video overlay??? :D
Already tried to asked support in other thread but no one answering me. I decided to ask here cause people here are accommodating :)
BloodySword
14th June 2011, 19:58
Is the black letterbox encoded in the video? If not, I think it is only possible with EVR.
pirlouy
14th June 2011, 21:03
I think it's a job for subtitle renderer. So if you use MPC-HC, you have to play with MPC subtitles options.
Johan76
14th June 2011, 21:44
I have been starting to test the LAVF filters recently but have an odd problem with the audio.
All decoded audio gets distorted. I can hear the actual audio but with heavy distortion ontop.
Bitstreaming SPDIF for AC3 and DTS works perfectly but not if I turn off bitstreaming and decode.
I have so far only tested AC3 and AAC format.
I have an old mainbord with Nforce 220 chipset and onboard Nforce MGP audio.
FFDshow audio and other codecs have always been working so something seems to be up with my system and LAV Audio.
LAVF splitter and FFDshow audio works so it must be the audio part where something strange occurs.
What do you need from me to be possible to check this out? I have no clue even where to start looking.
nevcairiel
14th June 2011, 22:01
Both AC3 and AAC get decoded to floating point, some older audio drivers don't handle that properly. In a future version, you may be able to configure the desired output format.
You can confirm that this is the problem by simply going into the ffdshow audio config, and on the Output tab, unselect every format except 32-bit float. If you get the same distortions, thats the problem.
lboregard
15th June 2011, 02:37
nevcairiel,
i have some blu-rays with multi-channel lpcm audio that my receiver (denon avr-1909) interprets as stereo ...
mpchc + lavsplliter + lavaudio
i had this working with reclock before (receiver showing multi channel something)
in the status tab for lavaudio, i can see it sending 6 channels as output
any idea what might be wrong ?
SamuriHL
15th June 2011, 03:41
Your Windows Audio settings are wrong. To do it with just LAV Audio you need to match the Windows Audio settings with the number of channels. ReClock gave you channel matching with exclusive mode, but, without exclusive mode the channels must match. Most likely you have it set to stereo.
lboregard
15th June 2011, 04:03
Your Windows Audio settings are wrong. To do it with just LAV Audio you need to match the Windows Audio settings with the number of channels. ReClock gave you channel matching with exclusive mode, but, without exclusive mode the channels must match. Most likely you have it set to stereo.
excellent ! i had it set to stereo .. changed it to 5.1 and voila ! MULTI CH IN input bliss on my receiver :)
thanks SamuriHL !
SamuriHL
15th June 2011, 04:10
excellent ! i had it set to stereo .. changed it to 5.1 and voila ! MULTI CH IN input bliss on my receiver :)
thanks SamuriHL !
No problem. Glad I was able to help.
CiNcH
15th June 2011, 07:02
I think that I found a potential issue.
I am using LAV Splitter to play BD inside the DVBViewer (it detects the main movie mpls by itself and opens it with LAV). When stopping playback, the DVBViewer remembers the position and will continue from there when restarting playback. This seems to cause problems with certain disks, e.g. "Angels and Daemons" (Illuminati). The DVBViewer just crashes with a C++ exception. I found out that the main movie is scattered among many m2ts files. I think that this happens when playback is stopped and resumed after the first m2ts file.
May this be a seeking bug with seamless branching BD's?
BloodySword
15th June 2011, 08:04
Found a small bug with TTA, the last buffer seems to be dropped at the end of playback. Don't know if this is a avformat problem or even avcodec problem. This problem is reproduceable with ANY .tta file I have. They were encoded with official ttaenc.exe, latest version.
RealSnoopyDog
15th June 2011, 08:09
Hi CiNcH! I don't have this problem here, just checked it with Illuminati. Do you use one of the latest ffdshow builds where nevcairiel provided a patch for crashes in H.264 DXVA playback? Even build 3878 was instable, it always crashed at the same playback position of a special movie. With build 3882 this was gone. (and i compiled my own build right after nev's fix, this was also stable)
I only have one issue with .mpls playback: when i watch a movie (.mpls / .m2ts) and select another mpls playlist (e.g. bonus material) while the current one is still playing back, then LAV starts accessing the disk but never ends. I have to kill the host program with the task manager. Sometimes the first change between .mpls files works but at the latest the third or fourth change causes this behaviour with all movies that i own. I start a new playback while another playback is still running. The original filter in DVBViewer does not show this behaviour.
Johan76
15th June 2011, 08:40
Both AC3 and AAC get decoded to floating point, some older audio drivers don't handle that properly. In a future version, you may be able to configure the desired output format.
You can confirm that this is the problem by simply going into the ffdshow audio config, and on the Output tab, unselect every format except 32-bit float. If you get the same distortions, thats the problem.
You are very right. Tested and confirmed. The only format not working was 32 bit floating. I have never thought about those options since it has just been working.
Are selectable output any near in the future? I can unfortunately not use LAV audio until this is possible :/
Many thanks for pointing this out. Now I at least know why! :)
pankov
15th June 2011, 08:59
Off-topic:
Is there a way to show subtitles like ffdshow subtitle placement/letterbox/vertical position 98% (bottom)
http://img861.imageshack.us/img861/2369/ffdshowc.jpg
And not like this
DirectVobSub
http://img855.imageshack.us/img855/733/directvobsub.jpg
Note: Sorry, I don't know the right word for what I'm trying to achieve in DirectVobSub, is it video overlay??? :D
Already tried to asked support in other thread but no one answering me. I decided to ask here cause people here are accommodating :)
ney2x,
if you do insist on using DirectVobSub instead of FFDShow subtitles (either in the decoder or in the separate filter) you can try the option "Vertical padding" in VobSub's General tab. I remember I used it a long time ago but I think it's broken in the latest versions - not sure.
BloodySword
15th June 2011, 09:37
You are very right. Tested and confirmed. The only format not working was 32 bit floating. I have never thought about those options since it has just been working.
Are selectable output any near in the future? I can unfortunately not use LAV audio until this is possible :/
Many thanks for pointing this out. Now I at least know why! :)
You could try to update your audio drivers. Wich OS are you running? Since Vista, audio conversions are done by CPU, so windows will convert the formats. In XP a driver update might also add CPU conversion of float to integer.
e-t172
15th June 2011, 10:23
You could try to update your audio drivers. Wich OS are you running? Since Vista, audio conversions are done by CPU, so windows will convert the formats. In XP a driver update might also add CPU conversion of float to integer.
You could also use Reclock to convert from floating point to integer.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.