
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (101)
-
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 ;
-
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 -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (15917)
-
Anomalie #3206 (Nouveau) : Dans l’admin logo des rubriques cache le titre de la rubrique
17 avril 2014, par Fabrice VéronneauJe propose de passer le logo affiché en absolute vers un float pour éviter que le logo ne recouvre le titre d’une rubrique.
Donc l’idée est de remplacer :
.simple.sous-rub .inner .hd .logo margin : 0 ; position : absolute ; right : 0 ; top : 0 ; z-index : 1 ;
par :
.simple.sous-rub .inner .hd .logo float : right ; margin : 4px -5px 0 5px ;
-
How to combine ffmpeg and imagemagick codes which work separately but don't work together ?
3 octobre 2018, par senopsThese codes are getting picture dimensions and combining them one on top of the other.
The first working code :@echo off&setlocal enabledelayedexpansion
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_1.jpg') do set w1=%%x&set h1=%%y
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_2.jpg') do set w2=%%x&set h2=%%y
echo %w1% %h1% %w2% %h2%
pauseThe second working code :
@echo off&setlocal enabledelayedexpansion
set /a w1=1000
set /a w2=500
set /a h1=700
set /a h2=400
if !w1! LSS !h1! (
set "p1=oh/mdar:h='max(ih,main_h)'"
If !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];"
)
) else (
set "p1='max(iw,main_w)':h=ow/mdar"
if !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];[0max][1max]vstack"
)
)
ffmpeg -i image_1.jpg -i image_2.jpg -filter_complex "[0][1]scale2ref=w=!p1![0max][1ref];[1ref][0max]scale2ref=w=!p2!" -q:v 1 -y combined.jpgBut when I put them together they don’t work :
@echo off&setlocal enabledelayedexpansion
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_1.jpg') do set w1=%%x&set h1=%%y
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_2.jpg') do set w2=%%x&set h2=%%y
if !w1! LSS !h1! (
set "p1=oh/mdar:h='max(ih,main_h)'"
If !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];"
)
) else (
set "p1='max(iw,main_w)':h=ow/mdar"
if !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];[0max][1max]vstack"
)
)
ffmpeg -i image_1.jpg -i image_2.jpg -filter_complex "[0][1]scale2ref=w=!p1![0max][1ref];[1ref][0max]scale2ref=w=!p2!" -q:v 1 -y combined.jpg -
using FFMPEG in C# project [on hold]
18 mars 2017, par AhmadThere is a Long process to use FFmpeg in C#. I have some Questions about it when i use it in c# project and make some software using it and give to some one all the things we install to setup Other person needs these things as well ? Is there any Other easy way to setup FFmpeg in c# Project. Which help us in giving some one our project.