
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (68)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (10404)
-
FFMPEG makes my website DOWN while converting video
4 juillet 2018, par casusbelliI have an
upload.php
script to upload & convert videos where I use FFMPEG. (LAMP Ubuntu 16.04)However as soon as FFMPEG starts to convert the video, the all website becomes unresponsive so I guess FFMPEG uses all my CPU.
Here is the 3 lines I use to convert source video :
* Check format, size, ect..
shell_exec('ffmpeg -i '.$temp_path.' -r 1/1 '.$path_jpeg.'');
shell_exec('ffmpeg -i '.$temp_path.' -f webm -c:v libvpx -b:v 1M -acodec libvorbis '.$path_webm.' -hide_banner');
shell_exec('ffmpeg -i '.$temp_path.' -c:v libx264 -preset veryfast -c:a copy '.$path_mp4.' -hide_banner');
* Add video data to DBIs there anyway to limit CPU ressources for FFMPEG while converting videos ?
Thanks
EDIT :
I tried to use
-threads 1
without successshell_exec('ffmpeg -i '.$temp_path.' -f webm -c:v libvpx -threads 1 -b:v 1M -acodec libvorbis '.$path_webm.' -hide_banner');
shell_exec('ffmpeg -i '.$temp_path.' -c:v libx264 -threads 1 -preset veryfast -c:a copy '.$path_mp4.' -hide_banner');I tried to use
nice -n 15
without success as wellshell_exec('nice -n 15 ffmpeg -i '.$temp_path.' -f webm -c:v libvpx -b:v 1M -acodec libvorbis '.$path_webm.' -hide_banner');
shell_exec('nice -n 15 ffmpeg -i '.$temp_path.' -c:v libx264 -preset veryfast -c:a copy '.$path_mp4.' -hide_banner');FFMPEG is still eating 100% of my CPU while converting
-
avcodec/ffv1 : template functions to allow data types different from int16_t
7 août 2016, par Michael Niedermayeravcodec/ffv1 : template functions to allow data types different from int16_t
This is required for >= 16bit RGB support
I tried it without templates but its too much duplicated codeSigned-off-by : Michael Niedermayer <michael@niedermayer.cc>
-
YouTube-dl - How to pass template fields to the postprocessor ?
2 février 2019, par Sweeney ToddI am trying to set the playlist name to the album field, using the
--postprocessor-args
option (using ffmpeg) :youtube-dl -f bestaudio -x --audio-format mp3 --add-metadata --metadata-from-title "%(artist)s - %(title)s" --postprocessor-args "-metadata album=%(playlist)s" PLyIFQr1wryPJ-yUyeBcansxX093B9ug4y
Artist and title fields are set correctly as expected,
However, the%(playlist)s
field is not replaced with the correct playlist name, but instead it is directly passed to ffmpeg, so the album field is set to%(playlist)s
(literally).Is there a way to fix this problem ?