]> code.delx.au - transcoding/blobdiff - fix-pal-speedup
fix-pal-speedup switch back to mplayer
[transcoding] / fix-pal-speedup
index 67397c09a742f5d7c32d282a4ebc99ffd746bafa..27ddd482aa187526dbd47a21b6873462a1532357 100755 (executable)
@@ -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 {