
Recherche avancée
Autres articles (67)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 (9707)
-
Anomalie #3436 (Nouveau) : Forum : id_thread = 0
5 mai 2015, par Debondt DidierSi j’utilise l’API objet pour créer des éléments de forum, sans spécifier explicitement un id_thread :
$id_forum = objet_inserer(’forum’, null, $c) ;
Il est possible que le champ id_thread soit égale à 0. Hors cela ne devrait jamais être le cas, il devrait à minima être égale à id_forum.
-
PHP ffmpeg output location
18 janvier 2016, par Mick JackMy website allow users to upload video files to the server. Original file will be move to folder "Original" ffmpeg will compress the video and store the video in 480p folder. how to i setup ffmpeg so that it will store output of the compressed video file into original/480p ?
Partial code of upload.php
$target_dir = "Original/"; //where you want to upload the files to
$target_file = $target_dir.basename($_FILES['file']['name']);
$fileType = pathinfo($target_file, PATHINFO_EXTENSION);
$newFileName = $target_dir.sha1(pathinfo(basename($_FILES['file']['name']), PATHINFO_FILENAME)).'480p'.'.'.$fileType;
//$newFileName = $target_dir.sha1(pathinfo(basename($_FILES['file']['name']), PATHINFO_FILENAME)).'-'.time().'.'.$fileType;
move_uploaded_file($_FILES['file']['tmp_name'], $newFileName);using this FFMPEG command
shell_exec("C:\\ffmpeg\\bin\\ffmpeg.exe -y -i ".$newFileName." -c:v libx264 -s:v 854x480 -c:a copy \"480p\\{$newFileName}\" > logfile.txt 2>&1");
i get the error
480p\Original/ffbaf58f1231628f9ac2a583f038b51719006ec6480p.mp4 : No such file or directoryi will like the output to be stored in original/480p/compressed-video-file
-
Revision 79003 : Pipeline "afficher_contenu_objet" : prendre en compte le cas où ...
30 novembre 2013, par tcharlss@… — LogPipeline "afficher_contenu_objet" : prendre en compte le cas où l’identifiant de l’objet n’est pas donné par $fluxargs ?id_objet ? mais par $fluxargs ?contexte ?id ?.
Problème constaté sur la fiche d’une commande.
ps : De plus, l’exemple du site http://programmer.spip.net/afficher_contenu_objet,434 récupère l’identifiant avec $fluxargs ?id ?…