X-Git-Url: https://code.delx.au/transcoding/blobdiff_plain/58605ff24fe9e8072361c3e65c3feeb2eb796ef5..47ae9da213b0d1ac8c5a5da0ab327dadab761490:/fix-pal-speedup diff --git a/fix-pal-speedup b/fix-pal-speedup index 67397c0..27ddd48 100755 --- a/fix-pal-speedup +++ b/fix-pal-speedup @@ -27,10 +27,10 @@ function extract_audio { 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}" \ "$infile" } @@ -44,8 +44,7 @@ function slow_audio { -t wav \ "$outfile" \ speed "${SLOWDOWN}" \ - gain -n \ - channels 2 + gain -n } function encode_audio {