
Recherche avancée
Autres articles (79)
-
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10258)
-
How to add this line to FFMPEG batch command ? [closed]
10 décembre 2020, par user7959439I inherited a batch command that takes every png file inside the folder (with the .exe and the command inside) and converts it into a webp file.


for /r %%F in (*.png) do (
 ffmpeg.exe -y -i "%%F" -compression_level 6 "%%~dpnF.webp"
 if not errorlevel 1 if exist "%%~dpnF.webp" del /q "%%F"
)



I want to add a line that at the same time checks for any mp4 files and converts them to gifs.


This is the line


ffmpeg -i input.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif



I tried something like but it doesn't work.


for /r %%F in (*.png) do (
 ffmpeg.exe -y -i "%%F" -compression_level 6 "%%~dpnF.webp"
 if not errorlevel 1 if exist "%%~dpnF.webp" del /q "%%F"
)


for /r %%F in (*.mp4) do (
 ffmpeg.exe -y -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 "%%~dpnF.gif"
 if not errorlevel 1 if exist "%%~dpnF.mp4" del /q "%%F"
)



-
libxvid : fix missing end of line character
7 avril 2014, par Vittorio Giovara -
vf_frei0r : fix missing end of line character
4 mars 2014, par Vittorio Giovara