
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (97)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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
Sur d’autres sites (10824)
-
duration of uploaded video in PHP
14 juillet 2015, par 121kkI need to know the duration of video that I uploaded in a page. I have written a php script for doing this
<?php
$command = "ffmpeg -i video.mp4 2>&1 | grep Duration | awk '{print $2}' | tr -d ,; ";
$cm = shell_exec($command) ;
echo "$cm";
?>When I execute this commands on terminal it shows duration, but on calling it is in PHP page it does not gave an output.
Please provide me a solution....Thanks in Advance
-
Duration of an uploaded video in PHP
14 juillet 2015, par 121kkI need to know the duration of a video that I have uploaded to a page. I have written a PHP script for doing this :
<?php
$command = "ffmpeg -i video.mp4 2>&1 | grep Duration | awk '{print $2}' | tr -d ,; ";
$cm = shell_exec($command) ;
echo "$cm";
?>When I execute this program via terminal it shows duration, but on calling it in a PHP page it does not give an output.
Please provide me a solution....Thanks in advance.
-
How to scale watermark with FFMPEG ?
25 avril 2022, par EduardoI am using ffmpeg to change the resolution and type(mp4) of my videos but I also want to add a watermark on them, but the problem is that the size of the watermark is different in every video I upload (on some videos the watermark becomes small and on other videos become bigger).


Is there a way to add a watermark with a proportional scale to the videos so I don't have different sizes of the watermark ?


Here's my code :


ffmpeg -i input_video.avi -i watermark.png -s 1280x720 -filter_complex overlay=x=(main_w-overlay_w):y=(main_h-overlay_h) output_video.mp4


Thanks in advance :)