summaryrefslogtreecommitdiff
path: root/localvideodump
diff options
context:
space:
mode:
Diffstat (limited to 'localvideodump')
-rwxr-xr-xlocalvideodump6
1 files changed, 3 insertions, 3 deletions
diff --git a/localvideodump b/localvideodump
index ba4880c..49546fa 100755
--- a/localvideodump
+++ b/localvideodump
@@ -108,12 +108,12 @@ FORMATS
;;
esac
[ -n "$format" ] || { echo "Skipping unsuitable input $input"; continue; }
- vinargs="${vinargs:+$vinargs }-f video4linux2 -input_format $format ${inrate:+-framerate $inrate }-s $size -i $input"
+ vinargs="${vinargs:+$vinargs }-f video4linux2 -input_format $format ${inrate:+-framerate $inrate }-s $size -threads auto -i $input"
vmaps="${vmaps:+$vmaps }-map $i:v:0"
i=$(expr $i + 1)
done
voutargs=${vinputs:+-c:v $vcodec $vf ${outrate:+-r $outrate}}
aoutargs=${ainputs:+-c:a $acodec}
-echo avconv -threads auto $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"
-exec avconv -threads auto $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"
+echo avconv $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"
+exec avconv $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"