X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=actions%2Ftranscode.sh;h=a61c2bb7345b67012df6e5f2cbdd5fff127e8dbf;hb=60cbdfb7d508fd8381eaa8837d71dd5675d20f32;hp=835a166f4591a3828b8dd14a0db1045711d9fab8;hpb=aeb6bb1a133bfdf66e614fd3b5f9d34d80bcd1c9;p=serve0 diff --git a/actions/transcode.sh b/actions/transcode.sh index 835a166..a61c2bb 100644 --- a/actions/transcode.sh +++ b/actions/transcode.sh @@ -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