View Single Post
Old 10th June 2010, 19:37   #8  |  Link
Nick
One click is all it takes
 
Nick's Avatar
 
Join Date: Mar 2002
Location: Heart of the Broad Acres
Posts: 1,404
Quote:
Originally Posted by nm View Post
If Aften can read the input from stdin or a named pipe, it should be about as fast.
Agreed. Haven't tried with sox (yet) but my previous attempts to demux mp3 audio from an avi file to wav via ffmpeg, piping the output directly to aften, resulted in aften closing immediately and a 0 byte AC3 file being produced.

Although I seem to recall reading somewhere recently that sox calculates the supposed output size and writes a valid wav header to a pipe, whereas ffmpeg does not, so some experimentation might be in order.
Nick is offline   Reply With Quote