Bugs item #3582634, was opened at 2012-11-02 01:57
Message generated for change (Tracker Item Submitted) made by cgwenapp
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3582634&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: Chaz (cgwenapp)
Assigned to: Nobody/Anonymous (nobody)
Summary: output file incorrect when using pipe

Initial Comment:
mp3 to wav conversion while using piping to output instead of writing to file 
doesn't work as expected

How to reproduce error:

$: sox Slipknot\ -\ Psychosocial.mp3 -t wav psychosocial2.wav
$: sox Slipknot\ -\ Psychosocial.mp3 -t wav - | cat > psychosocial.wav
$: diff psychosocial.wav psychosocial2.wav
Binary files psychosocial.wav and psychosocial2.wav differ

This should replicate with most mp3 files.

Investigating with a hex editor, it appears certain bytes which should be 
output as "6E" get output as "80" when piped (there may be others, that is the 
one which manifested first in my file). I suspect this is actually "FFFFFF80" 
being output as "80", with the outputs being the wrong types, but haven't 
confirmed.

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

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

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to