
Recherche avancée
Autres articles (45)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11712)
-
How to wait until ffmpeg is finished with the conversion
15 mai 2022, par ThePinkLynaIm going nuts with this. The situation is this. I have a picture, I convert that picture into something else using fluentffmpeg and then I want to edit that image then send it. The problem here is that I the conversion stops the script from continuing after is done. And also, the edit part needs to wait until the conversion is done and I don't know how to do that, because it seems that with fluentffmpeg the order of the code doesn't matter.
Here is the script



 case 'sticker':
 
 
 const encmedia = isQuotedImage ? JSON.parse(JSON.stringify(mek).replace('quotedM','m')).message.extendedTextMessage.contextInfo : mek
 const media = await Bether.downloadAndSaveMediaMessage(encmedia)
 
 await ffmpeg(`./${media}`)
 .input(media)
 
 .addOutputOptions([`-vcodec`,`libwebp`,`-vf`,`scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15, pad=320:320:-1:-1:color=white@0.0, split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse`])
 .toFormat('webp')
 .save('./a.webp')
 .on('start', function (cmd) {
 console.log(`Started : ${cmd}`)
 })
 .on('error', function (err) {
 console.log(`Error : ${err}`)
 
 reply(mess.error.stick)
 }) 
 
 
 
exec(`webpmux -set exif ./BetherMultiMedia/Marca.exif ./a.webp -o ./a.webp`)
ran = fs.readFileSync(`./a.webp`)
Bether.sendMessage(from, ran, sticker, {quoted: freply})
break



On console I get the latter part first then the conversion, it doesn't make any sense. Help


-
How to Image on Another image using FFMPEG in Android
27 août 2021, par Retrix DevI am working on an Android Video Editor App & I am just a newbie.
I want to Add overlay of image , test, or sticker on video & that can be moved and resized by guestures like of zoom and drag.


Could anyone help me out in this


-
Android Stickers on Video using FFmpeg
14 mai 2017, par 1234567Android Stickers on Video using FFmpeg
Android doesnot have a native support for adding text and watermark to videos, I would like to add stickers and text to videos using ffmpeg while the command for adding text and stickers is based on ffmpeg , the UI would be dependent on the user, the user can drag, scale, rotate, the stickers, text etc, and position them where he wants
there are many libraries to use for stickers
like http://stackoverflow.com/a/35739505/3126760
however the problem is to get the scale, rotation,position of the sticker on the video that we have, which can be the passed on to the ffmpeg command like
String[] complexCommand2 = {"-y", "-i", videoFilePath, "-i", imagepath, "-filter_complex","[1:v] format=bgra, rotate=30*PI/180:c=none:ow=rotw(30*PI/180):oh=roth(30*PI/180) [rotate];[rotate]scale=50:50[scale];[0:v][scale] overlay=40:10","-codec:a","copy", outputFilePath};
Is there a opensource project or tutorial that can help me to achieve this
it is similar to this image