From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: SourceForge.net Newsgroups: gmane.comp.audio.sox.devel Subject: [ sox-Bugs-3610258 ] Decompressing 24bit flac to wav using SoX Date: Sun, 07 Apr 2013 16:07:56 -0700 Message-ID: Reply-To: sox-devel@lists.sourceforge.net NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365438796 4109 80.91.229.3 (8 Apr 2013 16:33:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Apr 2013 16:33:16 +0000 (UTC) To: SourceForge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Mon Apr 08 18:33:20 2013 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=beta; h=Message-Id:Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Reply-To:Subject:MIME-Version:Date:From:To; bh=nZoeWNWR47Nqac6AwihsfXKucWPWUETorxrp6WNCH1k=; b=jyFKvzLyKFF3ZampreLSJMBFLOOLG8xzks/8wZq+rZ8Y3m/DjXUyvZEwyR2r9V2InoRJ6l0yYKYQc/Gg68SIsT1++HaEM+AdoekgimnUm5dGQ7y8gAZ/uiNJ8alVu+FHImuTYVB9yZTHh/QBcavnRSDsa8PPXo0zoEPaOxBY9uw=; Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of sourceforge.net designates 172.29.29.71 as permitted sender) client-ip=172.29.29.71; envelope-from=noreply@sourceforge.net; helo=localhost; X-SourceForge-Tracker-unixname: sox X-SourceForge-Tracker-trackerid: 110706 X-SourceForge-Tracker-itemid: 3610258 X-SourceForge-Tracker-itemstatus: Open X-SourceForge-Tracker-itemassignee: nobody X-SourceForge-Tracker-itemupdate-reason: Tracker Item Submitted X-SourceForge-Tracker-itemupdate-username: softrunner Content-Disposition: inline X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-devel-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox.devel:286 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPF03-0001sJ-45 for gcasd-sox-devel@m.gmane.org; Mon, 08 Apr 2013 18:32:55 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UOygn-0003MH-MF; Sun, 07 Apr 2013 23:07:57 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UOygm-0003MC-Pu for sox-devel@lists.sourceforge.net; Sun, 07 Apr 2013 23:07:56 +0000 Received: from sfs-web-11.v29.ch3.sourceforge.com ([172.29.29.71] helo=localhost) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1UOygm-00067m-I5; Sun, 07 Apr 2013 23:07:56 +0000 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