INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: WANTED: replay gain for M4A files!  (Read 3190 times)

Solomon

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
WANTED: replay gain for M4A files!
« on: February 23, 2006, 04:11:02 pm »

I've been waiting for what I considered to be a bug fix for a long time: AAC files can't have their Replay Gain analyzed.  I notice that in 11.1, this has been made explicit (with the error message "only audio files on a local drive that can be played in the native playback engine can be analyzed"), so this is definitely an improvement... at least the behavior no longer appears mysterious! 

But nevertheless, there must be a way to implement Replay Gain for M4A files.  Even if it requires storing the replay gain in the library and not in the tags, or some other inelegance, I think it's a necessary feature. 

I've been trying to resist transcoding all my AAC files into Ogg files but if this keeps up much longer I may bite the bullet...

Thoughts?
Logged

trott

  • World Citizen
  • ***
  • Posts: 118
Re: WANTED: replay gain for M4A files!
« Reply #1 on: February 24, 2006, 01:46:13 am »

there is directshow support in the native MC engine as per 11.1.somethingsomething. You need to install a directshowfilter such as ffdshow. Then RG analysis works. (it does for me on m4a files)
Tag writing sadly does not, though...
Logged

Solomon

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
Re: WANTED: replay gain for M4A files!
« Reply #2 on: February 27, 2006, 05:20:11 am »

I notice that in the release notes for 11.1.79 beta (12/12/05) (http://yabb.jriver.com/interact/index.php?topic=30688.0) it says "13. Changed: Mp4 and aac are put in the list of natively played extensions (along with m4a)".  Does that mean that in 11.1.79 beta, M4A was a natively-played file type, but in 11.1.130 it is not?

What is ffdshow and how do I install it?

Solomon
Logged

trott

  • World Citizen
  • ***
  • Posts: 118
Re: WANTED: replay gain for M4A files!
« Reply #3 on: February 27, 2006, 05:46:23 am »

Previously, aac files were played with quicktime. For things like audio analysis and visualisations to work, MC needs to play them with its native engine. Starting from the build you quoted, directshow (which is the audio and video playback system used by windows) is supported by this engine.

Best thing you can do is google for ffdshow and install this. It is a directshow filter supporting a lot of audio and video codecs.
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: WANTED: replay gain for M4A files!
« Reply #4 on: February 27, 2006, 02:22:54 pm »

Best thing you can do is google for ffdshow and install this.

And make sure you get the latest version, 11/29/2005 or later.

You may also need an mp4 splitter filter. This is a good choice:
http://prdownloads.sourceforge.net/guliverkli/mp4splitter_20051125.7z?download
Logged
Yaobing Deng, JRiver Media Center

Solomon

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
Re: WANTED: replay gain for M4A files!
« Reply #5 on: February 27, 2006, 05:31:30 pm »

So, do I understand this correctly?  In older versions of MC, quicktime was used for AAC files.  But in current builds, MC supports directshow which allows it to use ffdshow, which in turn plays AAC files, and directshow is "native" to MC whereas quicktime was "external"?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: WANTED: replay gain for M4A files!
« Reply #6 on: February 27, 2006, 05:53:02 pm »

So, do I understand this correctly?  In older versions of MC, quicktime was used for AAC files.  But in current builds, MC supports directshow which allows it to use ffdshow, which in turn plays AAC files, and directshow is "native" to MC whereas quicktime was "external"?

DirectShow is not exactly native, but the decoded audio is routed back and played through the native audio engine. For more information, you may want to check this thread out: http://yabb.jriver.com/interact/index.php?topic=30561.0.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Solomon

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
Re: WANTED: replay gain for M4A files!
« Reply #7 on: February 27, 2006, 07:06:12 pm »

You may also need an mp4 splitter filter. This is a good choice:
http://prdownloads.sourceforge.net/guliverkli/mp4splitter_20051125.7z?download

What do I do with the mp4 splitter?  I've downloaded the file you suggested, and it contains two files called "MP4Splitter.ax".  Which one (the "Release" or the "Release Unicode") do I want, and what do I want to do with it?
Logged

Solomon

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
Re: WANTED: replay gain for M4A files!
« Reply #8 on: February 27, 2006, 07:52:57 pm »

I installed ffdshow and uninstalled quicktime.  Under "DirectShow playback settings", I checked the option "Try using DirectShow for playback of mp4 media".  To my delight, I was able to play an m4a file, analyze audio, and see a visualation.

However, it only worked once.  Now when I try to play an m4a file, I get a dialog box asking me to install the latest quicktime.

Thoughts?
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: WANTED: replay gain for M4A files!
« Reply #9 on: February 27, 2006, 08:27:33 pm »

What do I do with the mp4 splitter?  I've downloaded the file you suggested, and it contains two files called "MP4Splitter.ax".  Which one (the "Release" or the "Release Unicode") do I want, and what do I want to do with it?

Issue this command from Start -> Run:

regsvr32 "[path]\Release Unicode\MP4Splitter.ax"

Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: WANTED: replay gain for M4A files!
« Reply #10 on: February 27, 2006, 08:30:04 pm »

I installed ffdshow and uninstalled quicktime.  Under "DirectShow playback settings", I checked the option "Try using DirectShow for playback of mp4 media".  To my delight, I was able to play an m4a file, analyze audio, and see a visualation.

However, it only worked once.  Now when I try to play an m4a file, I get a dialog box asking me to install the latest quicktime.

Thoughts?

It looks like the DirectShow graph building took too long, MC "thought" it was hanging and decided not to use it.

Registering MP4 Splitter (see my previous post) may help.
Logged
Yaobing Deng, JRiver Media Center

Solomon

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
Re: WANTED: replay gain for M4A files!
« Reply #11 on: February 28, 2006, 01:24:41 am »

Thanks, that worked.

Now, try explaining that to a recent convert from iTunes...
Logged
Pages: [1]   Go Up