INTERACT FORUM

Please login or register.

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

Author Topic: BUG? No replay gain - WMA lossless files  (Read 4804 times)

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
BUG? No replay gain - WMA lossless files
« on: October 18, 2012, 02:35:51 am »

I have both flac and wma lossless files. All have RG tags. But MC only detects the RG tags in the flac files? I also tested converting a working flac file to wma lossless (with all RG tags still intact in the file) but MC still doesn't see and use RG in the wma lossless file, only the flac one??
Logged

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #1 on: October 22, 2012, 09:19:00 am »

I've searched the wiki and the forums and haven't found any info.

Should RG work with WMA lossless. Or not?
Logged

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #2 on: October 22, 2012, 03:28:55 pm »

Looks like a bug IMHO:



WMAL-files that have RG tags set in them before importing them into MC do NOT show RG values in MC (all other tags are shown properly)

WMAL-files that are analyzed within MC in "Analyze Audio" and get RG tags that way DO show RG values in MC




The RG tags in the files themselves are identical. Regardless if the tags are set prior to importing the files to MC (RG values and tags created by dbpoweramp) or if done by MC itself in the "Analyze Audio" section



Am I missing some obscure setting in MC?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: BUG? No replay gain - WMA lossless files
« Reply #3 on: October 22, 2012, 03:49:06 pm »

Could you send a file that you believe has a replay gain tag that Media Center is not reading to matt at jriver dot com?

Thanks.
Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #4 on: October 23, 2012, 02:42:35 am »

Could you send a file that you believe has a replay gain tag that Media Center is not reading to matt at jriver dot com?

Thanks.

Sent!

 :)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: BUG? No replay gain - WMA lossless files
« Reply #5 on: October 23, 2012, 10:52:12 am »

Thanks for the file.

It looks like dBpoweramp stores the information using:
replaygain_track_gain
replaygain_track_peak

We use:
JR/ReplayGain
JR/PeakLevel

Standard fields use naming like:
WM/Genre
WM/AlbumTitle

Microsoft doesn't specify a standard way ("WM/*") to store these fields.

I'm not sure what's best.  Is the tag format written by dBpoweramp for WMA honored or used by any other programs or devices?
Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #6 on: October 23, 2012, 11:13:45 am »

I'm not sure what's best.  Is the tag format written by dBpoweramp for WMA honored or used by any other programs or devices?
Yes.
Squeezebox/server for example.

Please note that the RG tags were calculated and stored in a flac file by dbpoweramp. Then the flac file was converted to wma.

But if I use dbpoweramp to calculate and store RG tags in a wma file directly it ends up identical as far as I can see. And neither version of wma file will have RG values detected in MC.

If you want any other type files from me just give me a holler!
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: BUG? No replay gain - WMA lossless files
« Reply #7 on: October 23, 2012, 11:22:32 am »

FYI

The Logitech SBS/LMS source code shows that it internally maps the following physical file tag values into its internal representation of REPLAYGAIN_TRACK_GAIN:

FLAC and OGG

    # JRiver once again.. can't these people use existing standards?
    'REPLAY GAIN' => 'REPLAYGAIN_TRACK_GAIN',
    'PEAK LEVEL' => 'REPLAYGAIN_TRACK_PEAK',


WMA

    'replaygain_track_gain' => 'REPLAYGAIN_TRACK_GAIN',
    'replaygain_track_peak' => 'REPLAYGAIN_TRACK_PEAK',
    'replaygain_album_gain' => 'REPLAYGAIN_ALBUM_GAIN',
    'replaygain_album_peak' => 'REPLAYGAIN_ALBUM_PEAK',

MP3

    # JRiver Media Center uses messed up tags. See Bug 2250
    'MEDIA JUKEBOX: REPLAY GAIN' => 'REPLAYGAIN_TRACK_GAIN',
    'MEDIA JUKEBOX: ALBUM GAIN' => 'REPLAYGAIN_ALBUM_GAIN',
Logged
The opinions I express represent my own folly.

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #8 on: October 23, 2012, 11:26:44 am »

I sent you a link with four testfiles.

Three got RG by dbpoweramp: a wav, a flac and a wmal

A fourth got RG by dbpoweramp when being a flac but was then converted to wmal by dbpoweramp.


Link in your email inbox
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: BUG? No replay gain - WMA lossless files
« Reply #9 on: October 23, 2012, 11:31:16 am »

# JRiver once again.. can't these people use existing standards?

As far as I know, JRiver is fully standards compliant with regards to FLAC Replay Gain.

Sometimes we're the first program to do something (like support Replay Gain at all), so standards aren't "existing" yet.

Or was that a rhetorical question?
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: BUG? No replay gain - WMA lossless files
« Reply #10 on: October 23, 2012, 11:40:36 am »

These were comments placed in the source code by the Slimdevices developers years ago, and they also refer to a couple of other tag mappings out of scope of this replay gain discussion.  There seemed to have been some animosity back then (similar mappings are present for other rippers that used "non-standard" tags, but that code was not adorned with attitude).

I've added mappings above for OGG and MP3 as well.  A similar poke was also present in the MP3 code.

I posted them to give chuckle - no action suggested.
Logged
The opinions I express represent my own folly.

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #11 on: October 24, 2012, 11:05:08 am »

Matt, did you get the second batch of files?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: BUG? No replay gain - WMA lossless files
« Reply #12 on: October 24, 2012, 11:12:52 am »

Matt, did you get the second batch of files?

Yes.

I believe the issue with field naming only applies to WMA.

I think it might make sense to switch to the dBpoweramp naming scheme for WMA replay gain.

Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #13 on: October 24, 2012, 12:05:10 pm »

Yes.

I believe the issue with field naming only applies to WMA.

I think it might make sense to switch to the dBpoweramp naming scheme for WMA replay gain.




Great! Looking forward to it  :)
Logged

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #14 on: October 28, 2012, 01:21:12 pm »

An update to the MC code to support the replay gain tags, can that be done in the official MC18 release or will it be further down the road? I'm curious to have an idea what to expect since I have the option to recode all the 70+ thousand wma tracks back to flac... or not :-)
Logged

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: BUG? No replay gain - WMA lossless files
« Reply #15 on: November 01, 2012, 06:21:46 am »

I'm re-encoding to flac ;D

Still thx for the info and replies!
Logged
Pages: [1]   Go Up