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-2790505 ] Misleading help-hint in soxi with MPEG stream in RIFF Date: Tue, 19 Feb 2013 07:39:01 -0800 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 1361288349 17070 80.91.229.3 (19 Feb 2013 15:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2013 15:39:09 +0000 (UTC) To: SourceForge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Tue Feb 19 16:39:31 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=Bg1YDNWbGS3yAKpMilqjCPwyaUBNFiuQmJszdqgGwdQ=; b=TJjcF+ZMdzOD0MsNW/SlO7jHunem3dZTRWTwtv0iyvGMbSPbWQ2jYE1LSkG6x2ooWz9QtkmELilZqzPSZ9a8w1B1V/kmHK/U+b9MQOUpzuTrUhgArOYlzOafB4ZszfeuNhyWYbfCxpXkzCZSVBjU7tLos++m/H0k6fg5ayaiyqI=; Received-SPF: neutral (sog-mx-2.v43.ch3.sourceforge.com: 172.29.29.72 is neither permitted nor denied by domain of sourceforge.net) client-ip=172.29.29.72; envelope-from=noreply@sourceforge.net; helo=localhost; X-SourceForge-Tracker-unixname: sox X-SourceForge-Tracker-trackerid: 110706 X-SourceForge-Tracker-itemid: 2790505 X-SourceForge-Tracker-itemstatus: Open X-SourceForge-Tracker-itemassignee: nobody X-SourceForge-Tracker-itemupdate-reason: Comment added X-SourceForge-Tracker-itemupdate-username: bat999 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:251 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7pHx-0000tM-Dr for gcasd-sox-devel@m.gmane.org; Tue, 19 Feb 2013 16:39:25 +0100 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 1U7pHb-000050-VR; Tue, 19 Feb 2013 15:39:04 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1U7pHZ-00004t-Hu for sox-devel@lists.sourceforge.net; Tue, 19 Feb 2013 15:39:01 +0000 Received: from sfs-web-12.v29.ch3.sourceforge.com ([172.29.29.72] helo=localhost) by sog-mx-2.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1U7pHZ-0005ue-6s; Tue, 19 Feb 2013 15:39:01 +0000 Bugs item #2790505, was opened at 2009-05-12 01:30 Message generated for change (Comment added) made by bat999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=2790505&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: ^Rooker (the-rooker) Assigned to: Nobody/Anonymous (nobody) Summary: Misleading help-hint in soxi with MPEG stream in RIFF Initial Comment: Opening WAV files containing MPEG data (e.g. mp2, mp3) with "soxi" returns the following hint: "Try overriding the encoding: e.g. for an MP3 WAV, `-t mp3'" Soxi does not provide the option to override the detected type, so it's impossible to follow the given "hint". Here is the full output: ---------------- soxi formats: detected file format type `wav' soxi wav: WAV Chunk bext soxi wav: WAV Chunk fmt soxi formats: can't open input file `xxx.wav': Unhandled WAV file encoding (MPEG). Try overriding the encoding: e.g. for an MP3 WAV, `-t mp3' ---------------- Thanks for your great work! btw: It would be great if soxi could read these files, but that's a separate feature request, I guess... ---------------------------------------------------------------------- Comment By: bat (bat999) Date: 2013-02-19 07:39 Message: Is this bug evident in current version SoX-14.4.1? ---------------------------------------------------------------------- Comment By: robs (robs) Date: 2009-05-12 10:21 Message: Well this is a bug, but being able to follow the hint probably wouldn't help and shouldn't be needed anyway: soxi is basically about reading the file header, and the fact that libSoX cannot decode the body of these files shouldn't prevent soxi from doing this. So probably what is needed is to move the generation of these errors from the wav.c `start_read' function to the `read_samples' function (codec not available) and sox.c (hint on what to do about it). I'm guessing this will have to wait until after the upcoming 14.3.0 release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=2790505&group_id=10706 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb