Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit cca17706 authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

avconv → ffmpeg

parent d1b15dd1
......@@ -28,7 +28,7 @@ foreach(array('audio') as $type) {
$conversion = "avconv -i %source% -acodec libmp3lame -q:a 2 -ac 1 %target%";
$conversion = "ffmpeg -i %source% -acodec libmp3lame -q:a 2 -ac 1 %target%";
$commande = audio_convert($conversion, $file['filename']);
......@@ -49,6 +49,7 @@ foreach(array('audio') as $type) {
$duration = 1;//durée minimale…
if($ext == ".mp3"){
//would better use ffmpeg, but if we do that, might as well replace avconv
//now we have replaced ffmpeg, we can do that
//see http://stackoverflow.com/questions/12053125/php-function-to-get-mp3-duration#answer-15237692
//short term solution
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment