sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* [ sox-Bugs-2790505 ] Misleading help-hint in soxi with MPEG stream in RIFF
@ 2013-02-19 15:39 SourceForge.net
  0 siblings, 0 replies; only message in thread
From: SourceForge.net @ 2013-02-19 15:39 UTC (permalink / raw)
  To: SourceForge.net

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-19 15:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-19 15:39 [ sox-Bugs-2790505 ] Misleading help-hint in soxi with MPEG stream in RIFF 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).