
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (52)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9020)
-
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 :)