This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#!/bin/bash
|
|
|
|
PARAMS="-ac 2 -ar 44000 -f s16le -acodec pcm_mulaw"
|
|
|
|
if [ $# != 1 ]
|
|
then
|
|
echo "usage: $0 music-file" 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
FILE="$1"
|
|
|
|
ffmpeg -loglevel 0 -i ${FILE} ${PARAMS} -
|