
Recherche avancée
Autres articles (24)
-
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 (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (4025)
-
Error "Unable to find a suitable output format for" while Doing Overlay and Audio loop on Video
23 octobre 2020, par Vinesh Chauhani want to add image as watermark on video and also add music in loop as background music of video. i have set command of ffmpeg as below


ffmpeg -i input.mp4 -i 1.png -i 2.png -filter_complex "amovie=test.m4a:loop=0,volume=0.2[a2];[0]volume=0.5[a1];[a1][a2]amix[a3];[0][1]overlay=0:0:enable='between(t,2,5)'[ovrlay]" -map [ovrlay] -map [a3] -shortest -t 11 testVolumemp4AMixCheck.mp4



this command set is working fine in PC (ffmpeg.exe)


but when i tried to use this same command in android device it gave me error


[NULL @ 0x7af24c1000] Unable to find a suitable output format for [0]volume=0.5[a1]



can any one have idea about this ?


-
FFMPEG on Heroku exceeds memory quota in testing
5 juillet 2022, par Patrick VelliaAfter following this tutorial, and getting it to work locally on my own development environment, before really getting my hands dirty and working deeper on my own project implementation, I decided to push it up to Heroku to test in a staging environment.


I had to have Heroku add the FFMPEG build-pack and turn on the Redis Server for ActionCable to work.


I didn't link the staging to a cloud storage bucket on Google or Amazon yet, just allowed it to upload directly to the dymo disk for testing. So it would go into the storage directory as it would in development for now.


the test MOV file is 186 MB in size.


The system uploaded the file fine.


According to the logs, it then copied the file from storage to tmp as the tutorial has us do.


Then it called streamio-ffmpeg's transcode method.


At this point, Heroku forcibly kills the dymo because it far exceeds the memory quota.


As this is a test environment, it's only on the free tier of Heroku.


I'm thinking I won't be able to directly process video projects on Heroku itself, unless I'm wrong ? Would it be better to call an API like Cloud Functions or Amazon Lambda, or spin up a Compute Engine long enough to process the FFMPEG command ?


-
BASH recursive go trough all subdirectories and if a specific file existis, touch all files from one type in this directory [duplicate]
20 décembre 2023, par mkirbstI have a music collection of the structure Interpret -> Album -> song1.m4a song2.m4a cover.jpg


I can use ffmpeg to add the cover.jpg to the files :


#! /bin/bash

COVER=./cover.jpg

if test -f "${COVER}"
then
 for f in ./*.m4a
 do
 echo "Adding ${COVER} for ${f}"
 mv ${f} tmp.m4a
 ffmpeg -i tmp.m4a -i ${COVER} -map_metadata 0 -map 0 -map 1 -acodec copy ${f} && rm tmp.m4a
 done
else
 echo "No ${COVER} found. Aborting..."
fi



How can I modify my script to do that ?


What it does : when there is a
cover.jpg
in the folder, then add this folder lossless to all m4a audio files.
BUT : It seems that this does not work for all folders. It would be nice to justcd
to the main music folder instead of going to every album folder and run the script above by hand.

What it should do :


- 

- go to every subfolder
- if there is a cover.jpg file then proceed at 3. if not go to step 1. (next subfolder)
- for every m4a in this folder embed the cover.jpg into every m4a file in this subfolder