Miscellany
public text v1 · immutable#!/bin/sh
name="le nom de ton script"
msgnoparam="!!Aucun parametre!! $name necessite au moins 3 parametre ."
convert() {
ffmpeg -i $1 -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect $3 $2
}
if [[ $# -lt 3 ]]
then
echo ""
echo $msgnoparam
echo ""
exit
else
convert()
fi