sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* [ sox-Bugs-3610258 ] Decompressing 24bit flac to wav using SoX
@ 2013-04-07 23:07 SourceForge.net
  0 siblings, 0 replies; 2+ messages in thread
From: SourceForge.net @ 2013-04-07 23:07 UTC (permalink / raw)
  To: SourceForge.net

Bugs item #3610258, was opened at 2013-04-07 16:07
Message generated for change (Tracker Item Submitted) made by softrunner
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3610258&group_id=10706

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: softrunner (softrunner)
Assigned to: Nobody/Anonymous (nobody)
Summary: Decompressing 24bit flac to wav using SoX

Initial Comment:
I run this command on some 24bit file:
c:\\>sox.exe 24bit_file.flac test.wav
Then I try to compress decompressed file by FLAC:
c:\\>flac.exe test.wav
and it says:
test.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x0004

On 16bit files it is ok. If aiff is used instead of wav, it is also ok:
c:\\>sox.exe 24bit_file.flac test.aiff
c:\\>flac test.aiff
flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

test.aiff: WARNING: skipping unknown chunk 'COMT' (use --keep-foreign-metadata t
o keep)
test.aiff: wrote 101823 bytes, ratio=0,385
------------------------------------------------------------------------------------------

c:\>sox -V -V 24bit_file.flac test.wav
sox:      SoX v14.4.1
time:     Feb 10 2013 21:51:34
compiler: gcc 4.7.2 20120920 (Fedora MinGW 4.7.2-7.fc18)
arch:     1248 48 44 L
sox INFO formats: detected file format type `flac'
sox DBUG flac: API version 10

Input File     : '24bit_file.flac'
Channels       : 1
Sample Rate    : 44100
Precision      : 24-bit
Duration       : 00:00:02.00 = 88200 samples = 150 CDDA sectors
File Size      : 87.9k
Bit Rate       : 352k
Sample Encoding: 24-bit FLAC
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

sox INFO sox: Overwriting `test.wav'
sox DBUG wav: Writing Wave file: Microsoft PCM format, 1 channel, 44100 samp/sec

sox DBUG wav:         132300 byte/sec, 3 block align, 24 bits/samp

Output File    : 'test.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 24-bit
Duration       : 00:00:02.00 = 88200 samples = 150 CDDA sectors
Sample Encoding: 24-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no
Comment        : 'Processed by SoX'

sox INFO sox: effects chain: input        44100Hz  1 channels (multi) 24 bits 00
:00:02.00
sox INFO sox: effects chain: output       44100Hz  1 channels (multi) 24 bits 00
:00:02.00

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3610258&group_id=10706

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ sox-Bugs-3610258 ] Decompressing 24bit flac to wav using SoX
@ 2013-04-08 10:40 SourceForge.net
  0 siblings, 0 replies; 2+ messages in thread
From: SourceForge.net @ 2013-04-08 10:40 UTC (permalink / raw)
  To: SourceForge.net

Bugs item #3610258, was opened at 2013-04-07 16:07
Message generated for change (Comment added) made by uklauer
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3610258&group_id=10706

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: softrunner (softrunner)
Assigned to: Nobody/Anonymous (nobody)
Summary: Decompressing 24bit flac to wav using SoX

Initial Comment:
I run this command on some 24bit file:
c:\\>sox.exe 24bit_file.flac test.wav
Then I try to compress decompressed file by FLAC:
c:\\>flac.exe test.wav
and it says:
test.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x0004

On 16bit files it is ok. If aiff is used instead of wav, it is also ok:
c:\\>sox.exe 24bit_file.flac test.aiff
c:\\>flac test.aiff
flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

test.aiff: WARNING: skipping unknown chunk 'COMT' (use --keep-foreign-metadata t
o keep)
test.aiff: wrote 101823 bytes, ratio=0,385
------------------------------------------------------------------------------------------

c:\>sox -V -V 24bit_file.flac test.wav
sox:      SoX v14.4.1
time:     Feb 10 2013 21:51:34
compiler: gcc 4.7.2 20120920 (Fedora MinGW 4.7.2-7.fc18)
arch:     1248 48 44 L
sox INFO formats: detected file format type `flac'
sox DBUG flac: API version 10

Input File     : '24bit_file.flac'
Channels       : 1
Sample Rate    : 44100
Precision      : 24-bit
Duration       : 00:00:02.00 = 88200 samples = 150 CDDA sectors
File Size      : 87.9k
Bit Rate       : 352k
Sample Encoding: 24-bit FLAC
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

sox INFO sox: Overwriting `test.wav'
sox DBUG wav: Writing Wave file: Microsoft PCM format, 1 channel, 44100 samp/sec

sox DBUG wav:         132300 byte/sec, 3 block align, 24 bits/samp

Output File    : 'test.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 24-bit
Duration       : 00:00:02.00 = 88200 samples = 150 CDDA sectors
Sample Encoding: 24-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no
Comment        : 'Processed by SoX'

sox INFO sox: effects chain: input        44100Hz  1 channels (multi) 24 bits 00
:00:02.00
sox INFO sox: effects chain: output       44100Hz  1 channels (multi) 24 bits 00
:00:02.00

----------------------------------------------------------------------

>Comment By: Ulrich Klauer (uklauer)
Date: 2013-04-08 03:40

Message:
The flac command-line utility is very picky about which channel mappings it
accepts. A mono file whose single channel is marked "center" is not
accepted.

Run flac with the option --channel-map=none (it's undocumented, but it's
there) to override the default. In the forthcoming version 1.3.0 of flac,
the error message has been changed to point to this option:

flac 1.3.0pre3, Copyright (C)
2000,2001,2002,2003,2004,2005,2006,2007,2008,2009  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are
welcome to redistribute it under certain conditions.  Type `flac' for
details.

tst1.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel
mask=0x0004

Use --channel-map=none option to store channels in current order; FLAC
files
must also be decoded with --channel-map=none to restore correct order.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3610258&group_id=10706

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-08 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 10:40 [ sox-Bugs-3610258 ] Decompressing 24bit flac to wav using SoX SourceForge.net
  -- strict thread matches above, loose matches on Subject: below --
2013-04-07 23:07 SourceForge.net

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).