Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45582

How to use flaccl in combination with ffmpeg&sox ?

$
0
0
when I call:
Code:

"G:\Hybrid\ffmpeg.exe" -y -analyzeduration 500000000 -threads 8 -v -10 -i "H:\Temp\iId_2_aid_1_01_19_56_0910_05.mp3" -ac 2 -acodec pcm_s16le -f wav - |  "G:\Hybrid\CUETools.FLACCL.cmd.exe" -5 -o "H:\Output\iId_2_aid_1_01_19_56_091005.flac" -
the output is properly produced, but if I add sox to the mix:
Code:

"G:\Hybrid\ffmpeg.exe" -y -analyzeduration 500000000 -threads 8 -v -10 -i "H:\Temp\iId_1_aid_1_01_11_20_6710_01.mp3" -ac 2 -f sox - | "G:\Hybrid\sox.exe" --multi-threaded --temp "H:\Temp" --buffer 524288 -t sox - -b 16 -t wavpcm - | "G:\Hybrid\CUETools.FLACCL.cmd.exe" -5 -o "H:\Output\iId_1_aid_1_01_11_20_671001.flac" -
it aborts with
Quote:

Error : Incomplete file read.
I suspect this might be due to a warning sox throws: "WARN wav: Length in output .wav header will be wrong since can't seek to fix it" (if I create an intermediate file for the sox output everything works)

Does anyone know what really is the problem and how to fix it?

I don't want to:
a. skip sox, since I'd like to do some additional filtering through sox
or
b. create a temporal wav file

Cu Selur

Viewing all articles
Browse latest Browse all 45582

Trending Articles