HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - Tech => Topic started by: ntnmnc on 2012-03-21 10:50:28

Title: piping sox to oggenc
Post by: ntnmnc on 2012-03-21 10:50:28
Hi everybody,

mixing file1 with file2 into file3 works good with the following

Code: [Select]
sox file1.wav file2.wav -m file3.wav


but cannot pipe directly to oggeng

Code: [Select]
sox file1.wav file2.wav -m -t wav - | oggenc - file3.ogg


any help will be appreciated
Title: piping sox to oggenc
Post by: ntnmnc on 2012-03-21 11:14:32
Hi everybody,

mixing file1 with file2 into file3 works good with the following

Code: [Select]
sox file1.wav file2.wav -m file3.wav


but cannot pipe directly to oggeng

Code: [Select]
sox file1.wav file2.wav -m -t wav - | oggenc - file3.ogg


any help will be appreciated


SOLVED:

Code: [Select]
sox -m file1.wav file2.wav -t .wav - | oggenc - -o file3.ogg