INTERACT FORUM

Please login or register.

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

Author Topic: Bit depth questions  (Read 4977 times)

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Bit depth questions
« on: February 12, 2013, 05:09:00 pm »

MC18 sets the "Bit Depth" of files of file type:

AC3
DTS
MPC

to "32" which, of course, is incorrect.  (It is also not editable in these file types and the raw tags view shows no bit depth setting at all.)

I only discovered this because I set my "High Resolution View" to "24 or greater" bit depth, since there are plans for 32 bit depth PCM files (just as there are plans for greater than 1080p video files).

As a workaround, I can, of course, set it to "equal to 24" - but it should be an easy fix (and might be evidence of some other bug in import).

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Bit depth questions
« Reply #1 on: February 14, 2013, 04:31:56 pm »

MC18 sets the "Bit Depth" of files of file type:

AC3
DTS
MPC

to "32" which, of course, is incorrect.

There is no correct answer, and 32bit is what the decoder delivers.

I suppose it could say 'Lossy' instead, but it's a numeric field.

More here:
http://wiki.jriver.com/index.php/Audio_Bitdepth#Bitdepth_of_Lossy_Formats
Logged
Matt Ashland, JRiver Media Center

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Bit depth questions
« Reply #2 on: February 14, 2013, 04:49:23 pm »

There is no correct answer, and 32bit is what the decoder delivers.

I suppose it could say 'Lossy' instead, but it's a numeric field.

More here:
http://wiki.jriver.com/index.php/Audio_Bitdepth#Bitdepth_of_Lossy_Formats
There was an easy workaround, so it's not really important.  However, the files don't have a third more bit-depth than 24-bit lossless files, and they won't have the same bit-depth as 32-bit lossless files (if and when those show up).   So, it's "apples and onions" to write "32" into that tag - better would be to leave nothing at all.

switch6343

  • Recent member
  • *
  • Posts: 33
Re: Bit depth questions
« Reply #3 on: February 15, 2013, 10:18:04 am »

I entered in DSP Studio the following settings:

1. Sample rates as specified > Output: "no change" (so all input sample rates are "not changed" in output)
2. Bitdepth: "source bitdepth".


No problem when I play an album in WAV format (16 bit, 44.1 Khz, 1401 kbps)

However when I play an album in WAV format (24 bit, 48.0 kHz, 2304 kbps) I get the following pop-up window, as attached.

When I click on "Change Settings and Continue playback", the Bitdepth is changed from "source bitdepth" to 16 bit in DSP Studio.

However, the display states it is 24 bit (I added in Customize Display > Play Mode Main > Status line: [Bitdepth] ).

Can you have a look at this please to correct? Thx
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Bit depth questions
« Reply #4 on: February 15, 2013, 10:40:10 am »

I entered in DSP Studio the following settings:

1. Sample rates as specified > Output: "no change" (so all input sample rates are "not changed" in output)
2. Bitdepth: "source bitdepth".


No problem when I play an album in WAV format (16 bit, 44.1 Khz, 1401 kbps)

However when I play an album in WAV format (24 bit, 48.0 kHz, 2304 kbps) I get the following pop-up window, as attached.

When I click on "Change Settings and Continue playback", the Bitdepth is changed from "source bitdepth" to 16 bit in DSP Studio.

However, the display states it is 24 bit (I added in Customize Display > Play Mode Main > Status line: [Bitdepth] ).

Can you have a look at this please to correct? Thx

This is normal, and just means your output hardware requires 16-bit.

[Bitdepth] shows the source file, not output.  Use Audio Path to view the full output chain.
Logged
Matt Ashland, JRiver Media Center

switch6343

  • Recent member
  • *
  • Posts: 33
Re: Bit depth questions
« Reply #5 on: February 15, 2013, 11:15:53 am »

Thx, but I didn't experience this in MC17
Logged

switch6343

  • Recent member
  • *
  • Posts: 33
Re: Bit depth questions
« Reply #6 on: February 15, 2013, 01:15:19 pm »

Hi Matt,

when I used MC v17 (until yesterday) I had the bitdepth set at 24 bit. Exactly as described in here: http://wiki.jriver.com/index.php/Audio_Setup "Bitdepth-Select the highest bitdepth your hardware supports (usually 24-bit)."

I never encountered a problem (during some 15 months or so) with MC17.

I installed MC18 today, on the same hardware (Notebook Thinkpad W series, with 8 GB RAM, 250 GB Intel SSD, Windows 7 Enterprise 64-bit), and all of a sudden I get that pop-up window. I drives me nuts that pop-up window.

What has changed under the hood between MC 17 and MC 18?


Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Bit depth questions
« Reply #7 on: February 15, 2013, 01:20:09 pm »

Logged

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Bit depth questions
« Reply #8 on: February 15, 2013, 03:08:02 pm »

[Bitdepth] shows the source file, not output.  Use Audio Path to view the full output chain.
" [Bitdepth] shows the source file, not output."

That's exactly why "32" is not right for a lossy file.

Your previous explanation was that 32 is what is being output.

The field is only an internal field, so it should be specified according to its uses, which are:

* To sort Views
* To display characteristics of the source file (such as in the Player Display)

Right now, neither of these work, because only 24-bit files like HDtracks files, are properly tagged.  CDs ripped to lossless files have Bit Depth "blank" and the Player Display says " -bits ".  Some lossy files say " 32-bits " when that is wrong in terms of the two possible uses of the field.

Again, it's also not a high priority.

Jong

  • Citizen of the Universe
  • *****
  • Posts: 578
Re: Bit depth questions
« Reply #9 on: February 16, 2013, 06:38:58 am »

I don't think Matt was saying the "output" was 32-bit (Matt correct me if I am wrong!). I believe he is saying the bitdepth field reports what the responsible decoder says it to be. If you think this is wrong you could try discussing with the author of the decoder (LAV, nevcairiel?). I can see it would be messy for Matt to start writing contorted logic to second guess what is reported by the responsible filter.
Logged

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Bit depth questions
« Reply #10 on: February 16, 2013, 12:22:54 pm »

I don't think Matt was saying the "output" was 32-bit (Matt correct me if I am wrong!). I believe he is saying the bitdepth field reports what the responsible decoder says it to be. If you think this is wrong you could try discussing with the author of the decoder (LAV, nevcairiel?). I can see it would be messy for Matt to start writing contorted logic to second guess what is reported by the responsible filter.
By "source" one is presumably saying what was present before the decoder.

The whole point of the Bit-depth field is the source.   In what way, it is not the source (i.e. whether it is "output" or "decoder" is irrelevant.

So, in the statement you are objecting to, change "output" to "not source".

Jong

  • Citizen of the Universe
  • *****
  • Posts: 578
Re: Bit depth questions
« Reply #11 on: February 16, 2013, 12:31:29 pm »

No, what I'm saying is MC relies on the decoder filter to tell it the bit depth. I'm not sure but I don't think LAV passes a 32 bit integer on up the chain. I think it passes a floating point value (but I could be wrong on that).
Logged

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Bit depth questions
« Reply #12 on: February 16, 2013, 02:29:57 pm »

No, what I'm saying is MC relies on the decoder filter to tell it the bit depth. I'm not sure but I don't think LAV passes a 32 bit integer on up the chain. I think it passes a floating point value (but I could be wrong on that).
As I said earlier, MC reports that .MPC files are "32-bit".

If I open an .MPC file with the tiny freeware utility MediaInfo, it reports:

Format                                   : Musepack SV7
File size                                : 3.95 MiB
Duration                                 : 3mn 29s
Overall bit rate                         : 158 Kbps

Audio
Format                                   : Musepack SV7
Duration                                 : 3mn 29s
Bit rate                                 : 158 Kbps
Sampling rate                            : 44.1 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 3.95 MiB (100%)
Writing library                          : 0.00

It's open source and the source code is at:

http://mediainfo.sourceforge.net/en/Download/Source

Jong

  • Citizen of the Universe
  • *****
  • Posts: 578
Re: Bit depth questions
« Reply #13 on: February 17, 2013, 07:23:03 am »

So MediaInfo gets it wrong too, just in a different way.  :)

This is not a very interesting and the longer it goes on the more I sound like i am nit-picking and a little pedantic! But I think you misunderstand what I am saying. I agree this field should ideally have something different in it, even if, as you say, it is not at all urgent.

I was just explaining that Matt was not contradicting himself. He was not saying it has the output bit depth, he was not even saying it has the internal bit depth he gets from the decoder, as you later seemed to think. He was explaining that MC currently fills that fields with what the decoder tells it is the source bit depth (at least that is my understanding!) . You can ask Matt to change so he overrides what he is told by the decoder in this specific case (but where does that end?) or the decoder could be changed to pass a different or null value. The latter is probably cleaner, but I guess it depends on who can be bothered!
Logged

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Bit depth questions
« Reply #14 on: February 17, 2013, 03:32:16 pm »

So MediaInfo gets it wrong too, just in a different way.  :)
In what way is MediaInfo getting it wrong ?

It reports that the MPC file is 16-bit, 44.1 khz, which is what it is, since it is just a CD run through lossy compression.

If MC18 is getting "32-bit" from the input plugin, then the input plugin is buggy - which apparently seems to be the source of a number of problems in MC18.

jamesecox50

  • Junior Woodchuck
  • **
  • Posts: 52
Re: Bit depth questions
« Reply #15 on: February 21, 2013, 10:45:58 pm »

Logged
ZU DW6, Marantz PM8006, Re-Tubed Music Hall DAC, Good Connections, Dedicated Grounds and Outlet, Furman Conditioner... best sys in the WORLD 420AM friendly
Pages: [1]   Go Up