Displaying 1 result from an estimated 1 matches for "ogg_decod".
Did you mean:
ogg_decode
2000 May 20
0
Useful scripts for WAV encode/decode
...rgument and stdout as the second. They
aren't extremely well tested,
consider them beta or example code themselves.
Here they are:
ogg_encode:
#! /bin/sh
if [ $# -gt 0 ]; then
exec < $1
fi
if [ $# -gt 1 ]; then
exec > $2
fi
sox - -t wav -c 2 -s -w -r 44100 - | encoder_example
ogg_decode:
#! /bin/sh
if [ $# -gt 0 ]; then
exec < $1
fi
if [ $# -gt 1 ]; then
exec > $2
fi
decoder_example | sox -t sw -c 2 -s -w -r 44100 - -t wav -s -w -r 44100
-
Hope these help. They work for me. They may (or may not) work for you.
--- >8 ----
List archives: http://www.xiph.org/ar...