]> git.plutz.net Git - serve0/blobdiff - actions/transcode.sh
improved transcode display
[serve0] / actions / transcode.sh
index 835a166f4591a3828b8dd14a0db1045711d9fab8..a61c2bb7345b67012df6e5f2cbdd5fff127e8dbf 100644 (file)
@@ -10,7 +10,7 @@ head -n1 "$meta" |read length width height name
 
 twidth=$(($width * $target / $height))
 
-[ -f "$target" ] || nohup avconv -i "$video" -s "${twidth}x${target}" "$trans" &
+[ -f "$target" ] || nohup avconv -i "$video" -s "${twidth}x${target}" -threads auto "$trans" &
 
-echo "Location: transcoded/${info}.${target}p.webm"
+echo "Location: /transcoded/${info}.${target}p.webm"
 echo