Convertit rapidement une vidéo en sa version la plus petite, sans perte de qualité perceptible.
Après conversion, la vidéo d'origine est supprimée.
La vidéo originale ne sera pas remplacée si elle est au format webm et si le gain de compression est inférieur à 15 %.
USER@MACHINE:~$ sudo apt install {ffmpeg,yasm,doxygen,curl,coreutils,libvpx-dev,libopus-dev}
USER@MACHINE:~$ cd ~/tmp USER@MACHINE:~/tmp$ curl -O https://gitlab.com/es20490446e/args/-/archive/master/args-master.zip USER@MACHINE:~/tmp$ unzip args-master.zip ... USER@MACHINE:~/tmp$ cd args-master/ USER@MACHINE:~/tmp/args-master$ ./install-uninstall.sh installed
USER@MACHINE:~$ cd ~/tmp USER@MACHINE:~/tmp$ curl -O https://gitlab.com/es20490446e/solve/-/archive/master/solve-master.zip USER@MACHINE:~/tmp$ unzip solve-master.zip ... USER@MACHINE:~/tmp$ cd solve-master/ USER@MACHINE:~/tmp/solve-master$ ./install-uninstall.sh installed
USER@MACHINE:~$ cd optimizeVideo-master
USER@MACHINE:~/optimizeVideo-master$ ./install-uninstall.sh Missing required software: libvpx opus args (https://gitlab.com/es20490446e/args) solve (https://gitlab.com/es20490446e/solve) Get those installed first and run this installer again
Modifier comme ceci :
"ffmpeg" "/usr/bin/ffmpeg" "libvpx-dev" "/usr/share/doc/libvpx-dev/copyright" "libopus-dev" "/usr/share/doc/libopus-dev/copyright" "args" "/usr/bin/args" "https://gitlab.com/es20490446e/args" "solve" "/usr/bin/solve" "https://gitlab.com/es20490446e/solve"
USER@MACHINE:~/tmp$ cd optimizeVideo-master USER@MACHINE:~/tmp/optimizeVideo-master$ ./install-uninstall.sh installed
USER@MACHINE:~$ optimizeVideo [videos]
USER@MACHINE:~/tmp$ cd optimizeVideo-master USER@MACHINE:~/tmp/optimizeVideo-master$ ./install-uninstall.sh uninstalled