SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-04-2006, 11:34 PM
trothwell trothwell is offline
Sage User
 
Join Date: May 2006
Posts: 11
Normalize Audio

Is there a good step-by-step guide to normalize the audio in Sage TV 5?

I somehow got ffdshow audio working before. But I had to reinstall windows and lost everything. I've tried using the Radlight Filter Manager and the latest ffdshow but it still doesn't work.

The other threads about this don't really go into what needs to happen inorder for it to work.

Any help would be appreciated.
Reply With Quote
  #2  
Old 06-05-2006, 08:40 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by trothwell
Is there a good step-by-step guide to normalize the audio in Sage TV 5?

I somehow got ffdshow audio working before. But I had to reinstall windows and lost everything. I've tried using the Radlight Filter Manager and the latest ffdshow but it still doesn't work.

The other threads about this don't really go into what needs to happen inorder for it to work.

Any help would be appreciated.
My biggest complaint on audio was that the AC3Filter would have the HD volume really low and the sd volume would be blaring. I don't know why, and didn't care to learn. For me, the purchase of Sonic's decoders for 15 bucks solved my problem. I use NVidia for video and Sonic for audio. And when I want digital output I go into setup to change my codec then start the DVD or whatever.

I too just rebuilt my system over the weekend because of an issue with the NVidia decoders, so this is all fresh for me.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #3  
Old 06-05-2006, 02:43 PM
trothwell trothwell is offline
Sage User
 
Join Date: May 2006
Posts: 11
Audio Decoder

http://www.sonic.com/products/Consum...layer/Decoder/

I couldn't find a trial version. Although in the feature set it talks about the "smart level". Does this normalize the audio?
Reply With Quote
  #4  
Old 06-05-2006, 08:37 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by trothwell
http://www.sonic.com/products/Consum...layer/Decoder/

I couldn't find a trial version. Although in the feature set it talks about the "smart level". Does this normalize the audio?
I am no audiophile, but to me it does. I find my HD channels come in around the same level as my pvr-500 ones. It will also down mix the DD5.1 to 2 channel stereo so you don't have to run the stereo receiver all the time. It is really worth the 15 bucks.

IMHO

B

BTW - I tried the video decoder and prefer the performance from the NVidia one instead.

EDIT - From their site:

Quote:
What is your refund policy?
Sonic Solutions offers a 30-day money back guarantee on all of our products. If you require a refund please contact Customer Service.

Sonic Solutions will refund the actual price paid by the user for the product, taxes and shipping will not be refunded.

To qualify, all components of the product must be returned to Digital River via a Return Merchandise Authorization Number or, in the case of an electronic purchase, a Letter of Destruction must be completed and received prior to the credit being processed.
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT

Last edited by bcjenkins; 06-05-2006 at 08:42 PM.
Reply With Quote
  #5  
Old 06-06-2006, 05:56 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I've been wrestling with this over the past few days. What ended up working best for me (so far) is to install AC3Filter and configure it to only handle AC3, DTS, and PES. Those options are on the System tab. Then, I adjusted the Gain until the DVD and HDTV sound was about the same as the SDTV. My gain ended up at 10. I also checked DRC. Now switching from regular TV to a DVD or an HD channel doesn't mean having to change the volume.

The only thing I don't like is the fact that I can't upconvert the stereo signal to 5.1. It would be nice if you could use different profiles for different inputs. Also, the audio on a DVD has a pretty wide range, so I end up adjusting the volume up and down e.g. when switching from dialog to action. The "Auto Gain Control" setting handles this, but then the audio ends up being softer overall and I'm back to a volume gap between HD and SD.
Reply With Quote
  #6  
Old 06-06-2006, 03:09 PM
xlr8shun xlr8shun is offline
Sage Advanced User
 
Join Date: Dec 2003
Posts: 205
getting ffdshow audio to work is fairly easy, all you need to do is open the ffdshow audio filter configuration window, and at the top of the left hand side, in the scroll window, select 'codecs', and then enable the formats you would like ffdshow to 'intercept' and process.

my guess for sage recordings would be to scroll all the way down on the right hand side to "uncompressed" and change it from 'disabled' to 'all supported'. this will allow ffdshow to insert itself in the rendering graph of ALL uncompressed audio that is processed by the computer.

another example is if you have some divx or xvid, they usually have mp3 audio, you would change the mp3 entry from 'disabled' to one of the codecs in the dropdown. then every time an mp3 audio stream was played, ffdshow would insert itself into the graph and would allow you to manipulate the audio.
Reply With Quote
  #7  
Old 06-06-2006, 03:12 PM
trothwell trothwell is offline
Sage User
 
Join Date: May 2006
Posts: 11
There must be something I'm missing...

When I installed ffdshow, I enabled everything (all the codecs). But it still doesn't work.

I must have done something wrong. I'm gonna try and do another reinstall and try to isolate.
Reply With Quote
  #8  
Old 06-06-2006, 08:27 PM
trothwell trothwell is offline
Sage User
 
Join Date: May 2006
Posts: 11
Sage TV's Behavior

I got it working, and I think I know what happened. I installed 5.0.4 which I believe is a newer version than I had used before. So I thought, maybe I've got everything setup the same way--so it must be Sage behaving differently.

So I reinstalled XP. I installed ffdshow checking all the boxes for codecs (audio + video). I ran mplayer2 (the window's original media player) and tried a video and I saw the ffdshow logo's on the tray. So I know that mplayer2 believe's ffdshow to be the highest preferred for the codecs of that file.

Now, when I run SageTV (using Default) as the filter, it doesn't use ffdshow even though I know that the system has ffdshow as the preferred. So it must be SageTV's behavior to prefer the built in one if using default (since I don't know how to explicitly say I want ffdshow from within SageTV). So I take the SageTV's audio decoder out of the equation by renaming "Common\stvmcdsmpeg.ax" to something else. I run SageTV and it still doesn't show the ffdshow logo. Maybe AC3Filter is still preferred internal to SageTV, so I rename "SageTV\ac3filter.ax". Now when I run SageTV it uses ffdshow for the audio just like I want. Yay!

So my question for the SageTV guys, am I correct in that when you select "Default" it doesn't exclusively look at the MERIT values?
Reply With Quote
  #9  
Old 06-07-2006, 10:43 PM
trothwell trothwell is offline
Sage User
 
Join Date: May 2006
Posts: 11
So I got ffdshow audio working, but it just doesn't sound very good, even though I found the best one at [link].

I went to the next thing, I looked for a single pass normalization direct show filter and came up with Matrix Mixer. It looks like the matrix part of AC3Filter. The only thing I don't like about it is the inability to change the options of the filter when used with SageTV. In mplayer2, you could go File -> Properties -> Advanced -> Select MatrixMixer -> Properties and have access to the options to change during playback. In ffdshow you can enable a systray icon to access these properties.

Is there a way to access this same thing through SageTV?
Reply With Quote
  #10  
Old 07-30-2006, 09:07 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by bcjenkins
My biggest complaint on audio was that the AC3Filter would have the HD volume really low and the sd volume would be blaring.
As I am temporarilly back in the mere mortals (ie analog stereo and a "tube" TV ), I think I might have gained some insight into this.

As some know, I normally run through a nice HT system. In that system, I don't have any audio level issues to speak of.

However, since I'm in process of rebuilding my HT system, I'm back in stereo land, and am having to deal with what I think a number of you are dealing with. It appears that AC3Filter (and probably some other audio decoders) do some massive overkill normalizing their downconversion matrix, which results in very low levels for downconverted AC3 audio.

So how many of you with low levels for DVD are running stereo setups?

The basic issue is this, to go from 5.1 -> 2.0, you need to need to sum a bunch of channels into one (ie L or R + Center + L or R surround + sub). Theoretically, to do that without clipping, you need to reduce each channel so the sum is not more than the max level.

However in practice that's not really a problem. To solve this, if you're using AC3Filter, just uncheck the "normalize matrix" option on the Matrix tab.
Reply With Quote
  #11  
Old 07-30-2006, 09:56 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Normalized Audio with Nvidia Audio

If you're using Nvidia new decoders, you can get this to work very easily by going into the Nvidia audio control panel settings; select "Dynamic Range Control=Late Night"

Note, I've only used this on a stereo speaker setup. I didn't have much luck with AC3 filter, I could never get it to sound right. This works very well for me when normalizing analog DirecTV audio and ATSC digital audio.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #12  
Old 07-30-2006, 10:57 PM
steingra steingra is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 427
Send a message via MSN to steingra
I am not sure if this is a related issue or not. But I have two video sources: one is a Mediacom Digital 2550 receiver for cable, and thats connected to an internal hauppauge WinTV-PVR-150.

And source two is a disk network 811 receiver connected to a hauppauge WinTV-PVR-USB2

It seems like audio from the PVR-150 is noticably lower when watching on any client (a PC or Media MVP). It kind of bothers me that the audio isnt the same levels from these two different sources, but I never tried troubleshooting it very much.

And I just wondered if this might be related to what you are talking about here?

If not maybe this can be moved to the correct thread.
Reply With Quote
  #13  
Old 08-06-2006, 11:27 AM
robertmcox's Avatar
robertmcox robertmcox is offline
Sage Advanced User
 
Join Date: May 2003
Posts: 137
Lightbulb Summary HOWTO

To summarize:

(this worked for me, btw -- awsome tips/explaination KarlFStein and Stanger89)

Because DVD/ATSC has a wider dynamic range, we must compensate:

Nvidia DVD Decoder
AC3Filter installed by Sage

in sage/detailed setup/video-audio:
- audio renderer = default directsound
- audio decoder = default

in sage/detailed setup/dvd:
- audio renderer = default directsound
- audio decoder = ac3 filter

in wmplayer/tools/options/dvd/advanced:
- Main = gain 12, drc enabled 11
- Mixer = gain 12, auto matrix all options EXCEPT normalize matrix
- Gains = gain 12, drc enabled 11
- System = ac3, dts, pes and NOT PCM, mpeg audio
= prefer ac3 filter

This has the effect that AC3Filter is used for DVD playback and adds
preamp, so the volume level is louder. AC3Filter also compresses the
dynamic range, but does not normalize the audio, so loud segments are
still loud and soft segments are still soft, like you'd expect.

Now when watching non-DVD sources, AC3Filter will still insert itself
in the graph, but will just pass its input back out to the default
audio decoder for the system (in this case, the Nvidia Decoder).

This solution works for stereo output from sound card. I would guess the situation/solution changes if you use SPDIF passthru to an external decoder, but this I cannot test...

--- ALTERNATIVE SOLUTIONS ---

Other alternatives gathered, but not tested (by me, anyways)

1 - Disable ac3filter by "regsvr32 /u ac3filter.ax" and then choose to use the Sonic Audio Decoders which have built in compression.

2 - Disable ac3filter by "regsvr32 /u ac3filter.ax" and then choose to use the NVidia Audio Decoders. Enable compression on the filter by choosing "Late Night" under "Dynamic Range Control". Get the properties of the audio decoder, if it's your default, via wmplayer/tools/options/dvd/advanced.

3 - Use/configure ffdshow for audio filter.

Last edited by robertmcox; 08-06-2006 at 11:33 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 -6. The time now is 11:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.