
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 (9656)
-
Evolution #4349 (Nouveau) : Faire l’ajout du necessite "openssl" dans paquet.xml
16 juin 2019, par Franck DHello :)
Pour que svp puisse faire la récupération des plugins ou du dépôt (je ne sais plus trop) il faut que la lib "openssl" soit activer sur le serveur https://www.openssl.org
C’est pour cela que je propose que l’on fasse l’ajout dans le paquet.xml en spip 3.2 et 3.3 du necessite "openssl" (je ne suis pas certain qu’il soit utile de mettre une version mini)
Cela serait intéressant, car actuellement, il n’y a aucun message qui l’indique !
De plus, php fournit également nativement la lib "sodium" depuis la version 7.2, cela évitera que des gens n’ayant que sodium d’activer ne comprennent pas pourquoi cela ne fonctionne pas ! -
python ffmpeg can't save gif ,but can save mp4
21 février 2019, par waterI use python(jupyter) ffmpeg in mac , the main code is as follows :
import numpy as np
from matplotlib import pyplot as plt
from matplotlib import animation
plt.rcParams['animation.ffmpeg_path'] = '/Users/water/anaconda/bin/ffmpeg'
fig = plt.figure()
ax = plt.axes(xlim=(0, 2), ylim=(-2, 2))
line, = ax.plot([], [], lw=2)
def init():
line.set_data([], [])
return line,
def animate(i):
x = np.linspace(0, 2, 1000)
y = np.sin(2 * np.pi * (x - 0.01 * i))
line.set_data(x, y)
return line,
anim = animation.FuncAnimation(fig, animate, init_func=init,
frames=200, interval=20, blit=True)
mywriter = animation.FFMpegWriter()
anim.save('mymovie.mp4',writer=mywriter)
plt.show()this will be right ,no error.
but i want to save as gif, I change this part :anim.save('mymovie.gif',writer=mywriter)
I get the error as follows :
37 except (AttributeError, TypeError, ValueError):
38 raise ValueError("Invalid file object: "
---> 39 "{!r}".format(fileobj)) from None
40 if fd < 0:
41 raise ValueError("Invalid file descriptor: {}".format(fd))
ValueError: Invalid file object: <_io.BufferedReader name=70>can anyone tell why gif is error and mp4 is oK ? and how to solve this problem
-
Anomalie #4521 (En cours) : Warning en php 8
14 juillet 2020, par Franck DHello :)
Windows 10 (1909)
Firefox 78.0.2
Easyphp
Apache 2.4.43 x64
PHP 8.0.0 alpha1 x64
MySQL 8.0.20 x64
PhpMyAdmin 5.0.2Si je vais à la page ecrire/ ?exec=admin_plugin (après avec activer gd2 et les miniatures dans ecrire/ ?exec=configurer_avancees)
Warning : Trying to access array offset on value of type bool in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test4\ecrire\inc\filtres_images_lib_mini.php on line 1607
Warning : Trying to access array offset on value of type bool in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test4\ecrire\inc\filtres_images_lib_mini.php on line 1608
Warning : Trying to access array offset on value of type bool in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test4\ecrire\inc\filtres_images_lib_mini.php on line 1609
Warning : Trying to access array offset on value of type bool in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test4\ecrire\inc\filtres_images_lib_mini.php on line 1610