|
|
@ -9,7 +9,7 @@ |
|
|
|
#to pray to St. Isidore... good luck if you encounter issues. |
|
|
|
|
|
|
|
#Default operations, change if necessary |
|
|
|
FFBIN="/usr/bin/" #if unusual install or a specific version |
|
|
|
FFBIN="/usr/bin" #if unusual install or a specific version |
|
|
|
HostName="localhost" #if localhost then will do locally (removes ssh/scp cmds) |
|
|
|
hostFile="/tmp/transcode/list.txt" |
|
|
|
workDIR="$PWD/transcode" |
|
|
@ -41,7 +41,7 @@ function encode { |
|
|
|
"enable-overlays=1:\ |
|
|
|
tune=0:\ |
|
|
|
keyint=10s" \ |
|
|
|
-map 0:a? -acodec eac3 \ |
|
|
|
-map 0:a? -c:a eac3 \ |
|
|
|
-map 0:s? -c:s copy $subline \ |
|
|
|
-map 0:d? -c:d copy \ |
|
|
|
-map 0:t? -c:t copy \ |
|
|
@ -277,16 +277,16 @@ do |
|
|
|
|
|
|
|
fi |
|
|
|
#REMOVE THE TEMP FILE (if necessary) |
|
|
|
if ls "$workDIR"/"$fileNAME" |
|
|
|
if [ -f "$workDIR"/"$fileNAME" ] |
|
|
|
then |
|
|
|
rm "$workDIR"/"$fileNAME" |
|
|
|
else |
|
|
|
echo "Workdir already cleaned" |
|
|
|
fi |
|
|
|
if ls "$tmpDIR"/"$fileNAME" |
|
|
|
if [ -f "$tmpDIR"/"$fileNAME" ] |
|
|
|
then |
|
|
|
rm "$tmpDIR"/"$fileNAME" |
|
|
|
elif ls "$tmpDIR"/"dummy.mkv" |
|
|
|
elif [ -f "$tmpDIR"/"dummy.mkv" ] |
|
|
|
then |
|
|
|
rm "$tmpDIR"/"dummy.mkv" |
|
|
|
else |
|
|
|