
Recherche avancée
Autres articles (62)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (9876)
-
What is the scaling algorithm of the FFmpeg scale filter ?
7 août 2021, par AtrinI have upscaled and downscaled an image with following command.


ffmpeg -s:v 1280:720 -r 25 -i input.yuv -vf scale=1920x1080 -c:v rawvideo -pix_fmt yuv420p out.yuv


I'm wondering what kind of scaling algorithm is used to do down scaling (bilinear, bicubic,...) ?


and how can I change the filter or add it if there is no filter in this command ?


-
Scale watermark in ffmpeg based on video size [duplicate]
24 octobre 2016, par user3600338This question already has an answer here :
I have a folder with videos, all with different resolutions. The goal is to add a watermark on them, which I’ve successfully been able to done using this batch script :
for %%I IN ("C:\path\input\*.flv") DO ffmpeg.exe -i "%%I" -i "watermark.png" -filter_complex "overlay=W-w-5:5" -qscale 1 C:\path\output\%%~nI.avi"
The problem is that the size of the watermark changes a lot based on the video resolution. I’ve understood that I should use one -filter_complex with both scale and overlay, but I don’t get it to work. I want something like this :
-filter_complex "scale=main_w*0.3:-1 ; overlay=W-w-5:5"
To clarify, I want the watermark to be 30% of the width of the video. How can I do this ? Thanks in advance
-
Getting an error 'too many inputs specified for the "scale" filter' in ffmpeg
15 septembre 2021, par Code MaxI'm trying to add watermarks to multiple images using
ffmpeg
. It works good in the beginning but when I try to change the opacity of the watermark it shows the error as :



[AVFilterGraph @ 0000019b2a655340] Too many inputs specified for the
"scale" filter. Error initializing complex filters. Invalid argument




The used code :


for %%a in ("*.jpg") do ffmpeg -i "%%a" -i wm.png -filter_complex "[1]lut=a=val*0.3[a];[0][a][1]scale=iw*0.50:-1[wm];[0][wm]overlay=0:0" -preset ultrafast "post\%%~na.jpg"