
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (83)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8863)
-
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.
-
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
-
Bash script to extract first seconds and rename mp3 files in folder
15 mai 2015, par Designs EdgeI have a folder with several MP3 files that I need to extract 10-15 seconds of audio from. I would also like to rename these by appending sample-(name).mp3 to the converted files. How can I do this via Shell Script ? Thanks in advance !