summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
58605ff)
This is a hack :)
mpv outputs multi-channel audio tracks, mplayer downmixes to 2-channel for me.
I was too lazy to figure out why 'sox ... channels 2' doesn't seem to work.
local infile="$1"
local outfile="$2"
local infile="$1"
local outfile="$2"
- mpv \
- --no-terminal \
- --no-video \
- --ao "pcm:waveheader:file=${outfile}" \
+ mplayer \
+ -noconfig all \
+ -novideo \
+ -ao "pcm:waveheader:file=${outfile}" \
-t wav \
"$outfile" \
speed "${SLOWDOWN}" \
-t wav \
"$outfile" \
speed "${SLOWDOWN}" \
}
function encode_audio {
}
function encode_audio {