IPB

Welcome Guest ( Log In | Register )

Any encoders which will 'accept but crop' too high resolution , ... so that the user will notice that not all formats are equal?
Porcus
post Jan 3 2011, 17:22
Post #1





Group: Members
Posts: 1912
Joined: 30-November 06
Member No.: 38207



Q: Will all (at least all widely used) 'lossless' audio encoders abort with the appropriate error message if the user tries to feed unsupported audio? Or is there any which will discard channels, downsample, crop bits or just produce nonsense?


The reason why I ask, is that this forum fairly often gets the n00b question of whether 'lossless' is indeed lossless -- and get no more than a simple 'Yes' (or 'Yes, thread closed'). The devil in the detail is hardly ever mentioned, and most users will anyway never encounter that mismatch. But if the situation is 'in the few instances where the usual answer is inadequate, the encoder will warn the users rather than eating audio information', it would certainly be A Good Thing.


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Robertina
post Jan 4 2011, 01:19
Post #2





Group: Members
Posts: 1306
Joined: 4-January 09
Member No.: 65169



With foobar2000 1.1.1 and flac encoder 1.2.1b:
  • Source file = wav 32-bit (floating-point)
  • Output file format = flac
  • Output bit depth = either "32-bit" or "Auto"
Due to the specifications of the flac format two identical 24-bit flac files are created, without an error message or a lead on the bit depth reduction. foobar's console reports: "Track converted successfully."

Conclusions:
  • Porcus posed a legitimate question.
  • It's the duty of the user to check which specifications are supported by the encoder he uses.
Go to the top of the page
+Quote Post
saratoga
post Jan 4 2011, 01:49
Post #3





Group: Members
Posts: 5045
Joined: 2-September 02
Member No.: 3264



QUOTE (Robertina @ Jan 3 2011, 19:19) *
With foobar2000 1.1.1 and flac encoder 1.2.1b:
  • Source file = wav 32-bit (floating-point)
  • Output file format = flac
  • Output bit depth = either "32-bit" or "Auto"
Due to the specifications of the flac format two identical 24-bit flac files are created, without an error message or a lead on the bit depth reduction. foobar's console reports: "Track converted successfully."

Conclusions:
  • Porcus posed a legitimate question.
  • It's the duty of the user to check which specifications are supported by the encoder he uses.


Since floating point numbers are by definition approximate, I don't think theres an expectation that processing will be lossless.
Go to the top of the page
+Quote Post
Porcus
post Jan 4 2011, 09:51
Post #4





Group: Members
Posts: 1912
Joined: 30-November 06
Member No.: 38207



QUOTE (saratoga @ Jan 4 2011, 01:49) *
Since floating point numbers are by definition approximate, I don't think theres an expectation that processing will be lossless.


Disagree totally here. We are telling users that 'lossless' means ... well, actually, lossless. By assumption, we are talking about users who don't know the meaning of the term 'lossless audio format'. Users who cannot be expected to have even the faintest idea of the concept 'floating-point number'.

Obviously, they cannot be expected to know anything about format internals, or encoder/decoder internals, and all they are told is, yes goddammit, what part of 'lossless' did you fail to understand?, please accept as a universal truth (thread closed and STFU).


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post

Posts in this topic
- Porcus   Any encoders which will 'accept but crop' too high resolution   Jan 3 2011, 17:22
- - googlebot   QUOTE (Porcus @ Jan 3 2011, 17:22) The de...   Jan 3 2011, 18:41
|- - MichaelW   QUOTE (googlebot @ Jan 4 2011, 06:41) der...   Jan 3 2011, 23:15
- - googlebot   I agree that stuff like this is happening in the f...   Jan 3 2011, 23:51
- - Robertina   With foobar2000 1.1.1 and flac encoder 1.2.1b:Sour...   Jan 4 2011, 01:19
|- - saratoga   QUOTE (Robertina @ Jan 3 2011, 19:19) Wit...   Jan 4 2011, 01:49
|- - Robertina   QUOTE (saratoga @ Jan 3 2011, 13:49) Sinc...   Jan 4 2011, 01:55
|- - Robertina   QUOTE (saratoga @ Jan 3 2011, 13:49) Sinc...   Jan 4 2011, 03:37
||- - saratoga   QUOTE (Robertina @ Jan 3 2011, 21:37) Doe...   Jan 4 2011, 05:06
||- - 2Bdecided   QUOTE (saratoga @ Jan 4 2011, 04:06) Floa...   Jan 4 2011, 13:02
||- - saratoga   QUOTE (2Bdecided @ Jan 4 2011, 07:02) QUO...   Jan 4 2011, 19:55
||- - lvqcl   QUOTE (saratoga @ Jan 4 2011, 21:55) I th...   Jan 4 2011, 20:22
|||- - saratoga   QUOTE (lvqcl @ Jan 4 2011, 14:22) QUOTE (...   Jan 4 2011, 20:39
|||- - googlebot   QUOTE (saratoga @ Jan 4 2011, 20:39) I th...   Jan 5 2011, 02:00
||- - 2Bdecided   QUOTE (saratoga @ Jan 4 2011, 18:55) The ...   Jan 5 2011, 11:59
|- - Porcus   QUOTE (saratoga @ Jan 4 2011, 01:49) Sinc...   Jan 4 2011, 09:51
|- - Porcus   QUOTE (Porcus @ Jan 4 2011, 09:51) encode...   Jan 4 2011, 09:53
- - Axon   FWIW, AFAIK, neither flac.exe nor foobar2000 warns...   Jan 4 2011, 01:21
- - Robertina   Thank you for your clarification, saratoga. -----...   Jan 4 2011, 08:26
- - googlebot   I stand corrected by practice, it seems. I still ...   Jan 4 2011, 10:41
|- - Robertina   QUOTE (googlebot @ Jan 3 2011, 22:41) I s...   Jan 4 2011, 11:50
|- - lvqcl   QUOTE (Robertina @ Jan 4 2011, 13:50) I t...   Jan 4 2011, 12:27
|- - googlebot   QUOTE (Robertina @ Jan 4 2011, 11:50) I t...   Jan 4 2011, 12:27
- - Robertina   Thank you for your full answer , googlebot. QUOTE...   Jan 4 2011, 15:32
- - lvqcl   f32.wav: 32-bit floating point. CODEf32.wav: E...   Jan 4 2011, 15:48
- - lvqcl   By the way, WavPack accepts 32-bit integer files, ...   Jan 4 2011, 16:14
|- - Robertina   QUOTE (lvqcl @ Jan 4 2011, 04:14) By the ...   Jan 4 2011, 17:02
- - lvqcl   That's probably because foobar2000 converts ev...   Jan 4 2011, 17:10
- - Robertina   I am not really happy with what I have learned in ...   Jan 4 2011, 17:37
- - googlebot   32 bit float values can safely store 24 bit int sa...   Jan 4 2011, 17:50
- - googlebot   AFAIK the meaning is well defined. Just the precis...   Jan 4 2011, 20:04
- - lvqcl   Both compressing and decompressing can be performe...   Jan 4 2011, 21:11
- - Axon   Certainly doing anything meaningful with floating ...   Jan 4 2011, 21:49
- - indybrett   I recall years ago reading (on this board) about n...   Jan 4 2011, 22:22
- - lvqcl   FLAC has --keep-foreign-metadata switch: QUOTE If ...   Jan 4 2011, 22:28
|- - indybrett   QUOTE (lvqcl @ Jan 4 2011, 16:28) FLAC ha...   Jan 4 2011, 22:31
|- - greynol   QUOTE (indybrett @ Jan 4 2011, 13:31) or ...   Jan 4 2011, 22:50
- - greynol   That's not really on-topic but... It was with...   Jan 4 2011, 22:31
- - Porcus   Even though I originally asked about encoders, I d...   Jan 5 2011, 00:54
- - Axon   For that matter, IIRC, since IEEE 754 demands norm...   Jan 5 2011, 02:37
- - bryant   Id like to clarify a couple things about WavPack ...   Jan 5 2011, 21:32


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 01:15