Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th October 2012, 12:01   #12641  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Quote:
Originally Posted by nevcairiel View Post
It does, but you may be forcing something else. Also, unless you use a soundcard in your PC as DAC, it'll most likely be converted to integer at some point.
That's true. I don't suppose you have any idea what kind of dynamic range you would be constraining yourself to when doing this? (assume it's being output as 24-bit int, as that seems common)
6233638 is offline   Reply With Quote
Old 27th October 2012, 12:10   #12642  |  Link
noee
Registered User
 
Join Date: Jan 2007
Posts: 530
Quote:
I am hearing with Blade Runner must be encoded on the disc itself, can anyone else confirm this?
I have that disc, just tried if from the disc and my rip, I don't hear LFE "crackle" at those times.
noee is offline   Reply With Quote
Old 27th October 2012, 13:08   #12643  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
Quote:
Originally Posted by Dogway View Post
Quote:
Originally Posted by filler56789 View Post
I agree with you, and I'm sorry for having contributed to the off-topic stuff , but IMHO you really should have said that 2 pages ago.

@Dogway: thanks for the clarification.
No problem, my questions were on topic and off topic on and off, so it wasn't his fault, but now that it seems clear is not a LAV Video or LAV Splitter issue I won't bother more around here.

But for example, there are still questions open without answers:

-Why isn't LAV Audio the default audio decoder?
-Has LAVSplitter ever been able to connect to ffdshow?
My questions still stand true because:

Quote:
Originally Posted by clsid View Post
First of all, you should stop messing with external filter settings. (...) My list is totally empty and everything works exactly the way I want.
Quote:
Originally Posted by CoRoNe View Post
there's absolutely no reason to mess with the merit settings or external filters in MPC-HC.
Quote:
Originally Posted by CoRoNe View Post
there's absolutely no reason to mess with the merit settings or external filters in MPC-HC,
Quote:
Originally Posted by CoRoNe View Post
I'll say it again; there's absolutely no reason to mess with the merit settings or external filters in MPC-HC to play any audio or video file.
If I'm using it, it's only to block specific filters for testing purposes.
But LAV Filters don't work as wished without doing one thing or the other because you are totally ignoring ffdshow in the equation, just like clsid:

Quote:
Originally Posted by clsid View Post
Things are very simple:
* ffdshow has a very high merit. This means that if a format is enabled in ffdshow settings, ffdshow will get used.
* LAV decoders have a merit that is a little bit higher than most other decoders. So if a format is enabled in LAV (and not in ffdshow), then LAV will be used.
And probably you missed the most likely configuration, ffdshow and lavfilters both installed (because well, you know that I had to use RAW Video in order to decode AVS anyways).

By your logic and reading between lines, LAV Decoders have a merit higher than MOST decoders, but not all because "This means that if a format is enabled in ffdshow settings, ffdshow will get used". So LAV Filters actually is incompatible with ffdshow, you gotta either, disable all the decoders in ffdshow, lower ffdshow merit, raise LAVFilters merit, or block in MPC-HC which is the way I chose. So if nevcairiel recommends a tutorial where the third option is promoted, what way do you think I am going to take? Unless you give a founded reason there is no incovenient to use any of the 4 options.
Dogway is offline   Reply With Quote
Old 27th October 2012, 15:40   #12644  |  Link
e-t172
Registered User
 
Join Date: Jan 2008
Posts: 589
Quote:
Originally Posted by 6233638 View Post
I assumed the 10dB boost was part of the decoding step - all competent receivers boost LFE by 10dB automatically when sent anything other than PCM these days for example.

Is LAV not doing that when decoding audio?
No it doesn't, and for good reason. The 10dB boost is done at the amplification stage (if not downmixing). If it was done earlier in the chain it would be implemented as a -10dB attenuation in all other channels, which reduces dynamic range, thus defeating the purpose of the +10dB boost in the first place.

That means LFE level matching is done at the last possible stage. When using a surround sound system this is normally done by the power amplifier. When downmixing this is done when the LFE channel is removed (mixed).

What nevcairiel is afraid of is that the 7dB LFE boost translates to a -7dB attenuation for other channels when downmixing with a normalized matrix. This means you're losing 7dB of dynamic range, you're raising your signal source noise floor by 7dB, and you might run into maximum gain issues. Whether or not this is an issue depends heavily on the hardware you're using.

You can also try without normalizing, in which case you get the correct LFE level and no dynamic range reduction, but you risk clipping. That said, I think that standard stereo downmix of 5.1 content is not allowed to clip per Dolby specifications.

Last edited by e-t172; 27th October 2012 at 15:43.
e-t172 is offline   Reply With Quote
Old 27th October 2012, 16:07   #12645  |  Link
Deim0s
Registered User
 
Join Date: Jul 2012
Posts: 20
6233638
Still, check to the filter chain, after LAV Audio, were no other audio filters, which can not handle 32 float.
Examples:
Mixing AC3 5.1 in stereo (not normalized matrix):

LAVSplitter -> LAVAudio - Dump
no clipping

LAVSplitter -> LAVAudio -> ffdshow Audio Processor (enabled: Volume -> Master volume: 99%) - Dump
clipping
Deim0s is offline   Reply With Quote
Old 27th October 2012, 16:21   #12646  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Microsoft's AC-3 has a special laptop mode that applies a 11dB gain. I don't know if that applies to just Center or all channels.
http://support.microsoft.com/kb/944436
I would be interesting to see a comparison of stereo output of MS/LAV/ffdshow.

Currently the Center level allows a maximum gain of 3dB compared to normal value. Would it make sense to allow higher values like was done for LFE?
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 27th October 2012, 16:30   #12647  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Quote:
Originally Posted by Dogway View Post
So LAV Filters actually is incompatible with ffdshow, you gotta either, disable all the decoders in ffdshow, lower ffdshow merit, raise LAVFilters merit, or block in MPC-HC which is the way I chose. So if nevcairiel recommends a tutorial where the third option is promoted, what way do you think I am going to take? Unless you give a founded reason there is no incovenient to use any of the 4 options.
You can quickly disable formats in ffdshow if you do it in its installer. It has a tree structure, so 4 clicks is enough to disable everything if you click on the roots of the tree ("Decode the following formats with..." entries).
But if your prefer LAV decoders, then you don't actually need ffdshow at all. There is no point in installing it if you block it later on.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 27th October 2012, 16:49   #12648  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
Quote:
Originally Posted by clsid View Post
You can quickly disable formats in ffdshow if you do it in its installer. It has a tree structure, so 4 clicks is enough to disable everything if you click on the roots of the tree ("Decode the following formats with..." entries).
But if your prefer LAV decoders, then you don't actually need ffdshow at all. There is no point in installing it if you block it later on.
I intalled from the time I needed to mix down audio, play strange video/audio codecs, post-process video with avs, or as you know preview avs files, etc. I thought it was a good fallback to have there because it's very powerful with its filter system (although a bit old and messy).
But still I don't understand why you are so against raising LAVFilters merit (or lowering other decoders'). It's much easier, unless there's any drawback you haven't told me until now.
Dogway is offline   Reply With Quote
Old 27th October 2012, 20:54   #12649  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
Quote:
Originally Posted by Dogway View Post
-Why isn't LAV Audio the default audio decoder?
Simply because FFDShow's Audio Decoder by default has a higher merit than the LAV Audio Decoder. Either uninstall FFDShow (do you really still need it?), disable specific formats in the "Codecs"-section, or lower FFDShow's merit settings, for LAV Filters to take over.
Quote:
Originally Posted by Dogway View Post
-Has LAVSplitter ever been able to connect to ffdshow?
...
By your logic and reading between lines, LAV Decoders have a merit higher than MOST decoders, but not all because "This means that if a format is enabled in ffdshow settings, ffdshow will get used". So LAV Filters actually is incompatible with ffdshow...
You do realize FFDShow lags the splitter LAV Filters does have? For FFDShow you'd always need a splitter filter to play anything. Unless FFDShow functions as a post-processor, the LAV- and FFDShow's Video Decoder will of course never connect with eachother.
I don't know about you, but I can perfectly play videos where LAV Filters does the splitting and FFDShow the decoding of the video and audio stream.
Although there's still a few exotic formats for which LAV Splitter prefers to connect to LAV Video/Audio Decoder, LAV Splitter and FFDShow can get along just fine.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 27th October 2012, 23:19   #12650  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
Quote:
Originally Posted by CoRoNe View Post
Simply because FFDShow's Audio Decoder by default has a higher merit than the LAV Audio Decoder
That's what had to be expected, but in order to know that you need to "have messed" with (the forbidden) merit settings.

Quote:
Originally Posted by CoRoNe View Post
Either uninstall FFDShow (do you really still need it?), disable specific formats in the "Codecs"-section, or lower FFDShow's merit settings, for LAV Filters to take over.
What's so bad in FFDShow that you encourage me to uninstall it? I mean it's the same question I'm trying to get an answer for since 2 pages back. What's so bad in rasing or lowering merit settings? Can't I raise LAV Filter merits? (you didn't name it as an option)

Quote:
Originally Posted by CoRoNe View Post
but I can perfectly play videos where LAV Filters does the splitting and FFDShow the decoding
Yes sorry I had some confussion for when I couldn't split AVS with LAV but had to decode with ffdshow.
Dogway is offline   Reply With Quote
Old 27th October 2012, 23:54   #12651  |  Link
ddjmagic
Registered User
 
Join Date: Jan 2007
Posts: 110
Don't know if any of you guys have seen or not but the latest version of AnyDVD HD seems to have implemented a cool feature -
It adds a "disc.inf" file to the root of the Blu-ray disc that contains some basic information about the disc, this could be most useful on Blu-ray's that contain fake playlist protection (Which causes LAV to pick the wrong playlist)
The correct playlist is listed in the "disc.inf" file, it looks like this -

[disc]
type=BD-ROM
totalsectors=24382848
label=WARRIOR
region=1
playlists=789, 790

Is this something that software like LAV/XBMC etc could read from to help choose the correct main movie playlist?

Thanks for the latest update Nev!
ddjmagic is offline   Reply With Quote
Old 28th October 2012, 00:16   #12652  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
It's the player's responsibility to use that, not LAV. I've requested it for MC18.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 28th October 2012, 00:19   #12653  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
LOL! I quit this pointless discussion. Never met anyone like you before.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 28th October 2012, 01:28   #12654  |  Link
ddjmagic
Registered User
 
Join Date: Jan 2007
Posts: 110
Quote:
Originally Posted by SamuriHL View Post
It's the player's responsibility to use that, not LAV. I've requested it for MC18.
I'm using MPC-HC, anyway I can get that to work with the disc.inf file?
ddjmagic is offline   Reply With Quote
Old 28th October 2012, 01:31   #12655  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
No. That's what I'm saying, the player itself needs to support it. Nev said he looked at it but he doesn't have a screen pass disc so didn't see the playlist info. So maybe now that you posted one he might consider looking at it. At least for exposing just the valid playlists that the player can then pick from. It would make the non-commercial players infinitely more useful. Especially now where the commercial ones all have Cinavia.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 28th October 2012, 03:26   #12656  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Quote:
Originally Posted by e-t172 View Post
No it doesn't, and for good reason. The 10dB boost is done at the amplification stage (if not downmixing). If it was done earlier in the chain it would be implemented as a -10dB attenuation in all other channels, which reduces dynamic range, thus defeating the purpose of the +10dB boost in the first place.
That makes sense, I simply assumed it was done at the decoding stage due to it being applied automatically in the receiver when it was sent anything other than PCM. Of course boosting it at the amplification stage avoids the reduction of dynamic range.

Quote:
Originally Posted by e-t172 View Post
What nevcairiel is afraid of is that the 7dB LFE boost translates to a -7dB attenuation for other channels when downmixing with a normalized matrix. This means you're losing 7dB of dynamic range, you're raising your signal source noise floor by 7dB, and you might run into maximum gain issues. Whether or not this is an issue depends heavily on the hardware you're using.
What is the reason for using 7dB and not 10dB?

Quote:
Originally Posted by e-t172 View Post
You can also try without normalizing, in which case you get the correct LFE level and no dynamic range reduction, but you risk clipping. That said, I think that standard stereo downmix of 5.1 content is not allowed to clip per Dolby specifications.
You say it is "not allowed to clip" do you mean that normalization should not be necessary to avoid clipping, or that you should be normalizing because clipping is not allowed? (of course I want to avoid clipping)

Quote:
Originally Posted by Deim0s View Post
6233638
Still, check to the filter chain, after LAV Audio, were no other audio filters, which can not handle 32 float.
Examples:
Mixing AC3 5.1 in stereo (not normalized matrix):

LAVSplitter -> LAVAudio - Dump
no clipping

LAVSplitter -> LAVAudio -> ffdshow Audio Processor (enabled: Volume -> Master volume: 99%) - Dump
clipping
Thank you. I am currently either using:
  • LAV Audio (Float) → ReClock (Float) → Windows 8 Mixer (24-bit HDMI)
  • LAV Audio (Float) → ReClock (24-bit Int Padded to 32) → WASAPI Exclusive (HDMI)
Either scenario has this "crackling" problem when LFE is above 0.04 in the stereo mix.

How are you dumping the audio for these images? (and what software is that?)
6233638 is offline   Reply With Quote
Old 28th October 2012, 05:23   #12657  |  Link
Deim0s
Registered User
 
Join Date: Jul 2012
Posts: 20
6233638
Quote:
LAV Audio (Float) → ReClock (Float) → Windows 8 Mixer (24-bit HDMI)
LAV Audio (Float) → ReClock (24-bit Int Padded to 32) → WASAPI Exclusive (HDMI)
I do not use ReClock, do not know how it handles 32 float.
In conjuction: LAV Audio (32 float) -> Win 7 Mixer (24 bit, 48000 Hz) -> Creative X-Fi (48000 Hz, Bit-Matched), even when playing the file with the overflow > 0dB (an example from the post above), I do not get clipping:
Image 1 Image 2
If after LAV Audio (and before mixer Win) is going audio filter not capable of processing 32 float, then there will be clipping:
Image 1 Image 2
I have got so.
Quote:
How are you dumping the audio for these images? (and what software is that?)
I use a Dump Filter from GraphStudioNext. Further open the raw-file in Adobe Audition (Import -> Raw Data).
Deim0s is offline   Reply With Quote
Old 28th October 2012, 08:07   #12658  |  Link
bugmen0t
Banned
 
Join Date: May 2012
Location: _Lies|Greed|Misery_
Posts: 114
If you set LAV Audio to output 32bit Integer directly will it prevent overflow/clipping in such situations? Is this overflow/clipping stuff a rounding problem?
bugmen0t is offline   Reply With Quote
Old 28th October 2012, 08:09   #12659  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Integer will always clip because you can't go over 100%. Which integer mode you use does not matter. Float on the other hand has no limitation on its value range, so you can go above 100% (which in float is 1.0), so a value of 1.1 is perfectly valid. The question just is how other components deal with this, and since DACs are typically integer, it needs to be converted at some point.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 28th October 2012, 08:22   #12660  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Quote:
Originally Posted by Deim0s View Post
I use a Dump Filter from GraphStudioNext. Further open the raw-file in Adobe Audition (Import -> Raw Data).
Thank you, I have now exported this to a raw file (32-bit Float, 48kHz) and also converted that to a 24-bit, 48kHz FLAC using Audacity for easier playback.

http://www.filedropper.com/thunder

There does not appear to be any clipping (this is at 2.24 LFE) but I am still hearing that crackling noise when including any significant amount of LFE in the downmix.

Can anyone confirm that they hear it in these files? I suppose there's always the possibility that it's my audio setup.


I'm also hearing it when I set the LAV mix to:
Center: 0.0000
Surround: 0.0000
LFE: 1.0000
Which makes me think that either something in my audio setup is causing that crackling with LFE, or it's part of the encoded audio.

Last edited by 6233638; 28th October 2012 at 08:25.
6233638 is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.