
Recherche avancée
Autres articles (100)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9657)
-
Video upload size
16 mai 2014, par Jonas mI’m having a hard time figuring this one out, so hopefully, some of you who has tried this before, will take the time to reply and share your knowledge.
I’m working on a site, which after release, will be feeded in the television and other commercial places. The site asks the user to upload a video with a story, and we expect alot of people to do so.
My problem is the whole storage/space talk. A normal, unencoded iPhone recording easily fills around 100-120 MB for a minute or two.
I’ve tried setting up and using FFMPEG to re-encode the movies, but the problem is, that one encoding sucks up 100% of the CPU, leaving the site inaccisible for anybody else.
Is there anything you could suggest, which would be sufficient for such a site ? The client is on a budget, so price is a consideration aswell. Best of all would be a free alternative to etc. FFMPEG, but with less CPU usage.
My specs are as follows
CentOs 6 on a
1GB ram DigitalOcean cloud service with nginx + php-fpm and mysql.Im hoping for some cleaver folks to answer this !
Thanks in advance.
Jonas -
Evolution #3488 : Stocker globalement toutes les requetes passées
30 juin 2015, par nico dÇa semble bien pour le plugin dev, mais du coup il faut ajouter un compteur de requêtes en global dans req/mysql (et dans req/sqlite), par exemple :
function spip_mysql_query($query, $serveur=’’,$requeter=true)
...
$GLOBALS[’compteur_requetes’]++ ;
...Moi j’ai ça dans mon code en local, mais dans le code dist ça fait pas un peu crado ?
Je vois pas où insérer ce compteur sinon.Et pour afficher le temps de calcul de la page, il faut stocker le microtime dès le démarrage.
Moi je le mets dans mes_options au tout début : $GLOBALS[’_start’] = microtime(true) ;
Une meilleure idée pour que ce soit plus générique ? -
Anomalie #3418 : Les tables des plugins ne s’installent pas
20 avril 2015, par Franck DalotJe viens de faire un test en SPIP 2.0.25 [21954]
Installation en MysqlPhp 5.4 = ok
app.engine=php
app.engine.version=5.4http.firewall=none
environment=productionPHP 5.3 = Les tables du plugin agenda ne s’installent pas
app.engine=php
app.engine.version=5.3http.firewall=none
environment=productionJ’ai fait ce test, car b_b n’avait pas fait de report de https://core.spip.net/issues/3086 dans cette branche.
Le comportement semble identique à spip 3.1