
Recherche avancée
Autres articles (107)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (12763)
-
matplotlib funcanimation save issue
20 avril 2015, par Richie AbrahamI have been trying some animation recently using matplotlib animations. It has been going great, i create an ffmpeg writer and save it as a video file. However i face an issue whenever the function that FuncAnimation calls returns more than one object.
Below is a small snippet of my code base. When I return both im0 and im1, the video file created only has im1 , although the plt.show command works as expected ( showing both the videos ). If i return just a single im0, then it works as expected. IT also works as expected if i return both im0 and im1 with alpha=0.5.
Can anyone shed some light on what is happening underneath the hood ?
fig, ax = plt.subplots(1)
def animate(i):
im0=ax.imshow(np.ma.masked_array(imgl[i][:,:,0], mask=get_blob(i)),cmap='cubehelix')
im1=ax.imshow(imgl[(i-100)%len(imgl)][:,:,0],cmap='cubehelix')
return [im1,im0]
ani = animation.FuncAnimation(fig, animate, frames=200,
interval=10, blit=True,repeat=False)
ani.save('ps.mp4', writer=writer)
plt.show() -
How to save the output of an FFmpeg command into a text file
14 décembre 2019, par Baba.SHow can I save the output of an ffmpeg process into a text file ? I see the stuff I want to save come up in the terminal :
frame=62 fps=0.0 q=-0.0 size=0kB time=00:00:01.06 bitrate=0.3kbit
frame=116 fps=115 q=-0.0 size=0kB time=00:00:01.97 bitrate=0.2kbit
frame=175 fps=116 q=-0.0 size=kB time=00:00:02.92 bitrate=0.1kbit
frame=232 fps=113 q=-0.0 size=0kB time=00:00:03.87 bitrate=0.1kbitBut need to know how this can be saved into a test file or even a csv file
-
avformat/mux : add proper support for full N:M bitstream filtering
18 avril 2020, par Marton Balintavformat/mux : add proper support for full N:M bitstream filtering
Previously only 1:1 bitstream filters were supported, the end of the stream was
not signalled to the bitstream filters and time base changes were ignored.This change also allows muxers to set up bitstream filters regardless of the
autobsf flag during write_header instead of during check_bitstream and those
bitstream filters will always be executed.Signed-off-by : Marton Balint <cus@passwd.hu>