I wrote a script, which I run against the mkv file. The script decodes the DTS stereo into mp3 192 audio. A 1080 dts decoded mkv to 1080 mp3 mkv takes 1/20th of the time of the movie. Your mileage may vary...
Code: Select all
#!/bin/bash
OUTPUT=`basename "$1"`
FILENAME=`echo "$OUTPUT"| tr '[A-Z]' '[a-z]' | sed s/dts/STEREO/g | rev | cut -b5- | rev`
EXTENSION=`echo "$OUTPUT" | rev | cut -c1-4 | rev`
DESTINATION="/home/cr0t/Files/usenet/UpStairs/"
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
for line in $@
do
ffmpeg -i "$1" -c:v copy -c:a libmp3lame -strict experimental -b:a 192 -ab 192k -ar 48000 -ac 2 -threads 0 -scodec copy $DESTINATION"$FILENAME"\_\_UpStairs$EXTENSION
done
IFS=$SAVEIFS
