]> code.delx.au - transcoding/blobdiff - hencode
hencode: Remove pal25fps temporary file
[transcoding] / hencode
diff --git a/hencode b/hencode
index 35dfb5e6112a5dccc1838dff6290ae2e1a1098a0..c78ff2eeb936fea4b9ca029e392039c623d4e44e 100755 (executable)
--- a/hencode
+++ b/hencode
@@ -31,6 +31,7 @@ set -x
 HandBrakeCLI \
     --encoder x264 --x264-preset slow --quality 20 --loose-anamorphic \
     --aencoder "${AENCODER:-fdk_aac}" --mixdown 7point1 --aq 3 \
+    --audio-lang-list eng \
     --subtitle scan --subtitle-forced \
     --markers \
     "$@"
@@ -39,4 +40,5 @@ HandBrakeCLI \
 if [ "$PAL24FPS" -eq 1 ]; then
     mv "$OUTPUTFILE" "pal25fps $OUTPUTFILE"
     "${THIS_DIR}/fix-pal-speedup" "pal25fps $OUTPUTFILE" "$OUTPUTFILE"
+    rm "pal25fps $OUTPUTFILE"
 fi