
Recherche avancée
Autres articles (85)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (14905)
-
Anomalie #3236 (Nouveau) : opendir et readdir
27 juin 2014, par Ybbet SPIPHello,
Juste pour signaler qu’il y a une erreur d’écriture (par conseillé en tout cas) sur :
- SPIP 3.1 :
http://core.spip.org/projects/spip/repository/entry/spip/ecrire/public/composer.php#L475
http://core.spip.org/projects/spip/repository/entry/spip/ecrire/inc/install.php#L348- SPIP 3.0 :
http://core.spip.org/projects/spip/repository/entry/branches/spip-3.0/ecrire/public/composer.php#L392
http://core.spip.org/projects/spip/repository/entry/branches/spip-3.0/ecrire/inc/install.php#L341- SPIP 2.1 :
http://core.spip.org/projects/spip/repository/entry/branches/spip-2.1/ecrire/public/composer.php#L392
http://core.spip.org/projects/spip/repository/entry/branches/spip-2.1/ecrire/inc/install.php#L272- SPIP 2.0 : http://core.spip.org/projects/spip/repository/entry/branches/spip-2.0/ecrire/public/composer.php#L403
On a
while ($f = readdir($d))
Au lieu de
while (($f = readdir($d)) !== false)
Ecriture adoptée partout ailleurs dans le core de SPIP. -
Error while saving a matplotlib animation, missing 'dpi' argument
27 septembre 2020, par aarcasI'm trying to save an animation of matplotlib.animation.AnimationFunc and I get an error saying 'dpi' argument missing. Obviously, I have the dpi set so I don't understand where this error comes from.



I'm running python 3.6 and matplotlib 3.0.3, I also just installed ffmpeg from ubuntu official repositories (Ubuntu 18.04).



This is the part of my code that should affect that, although I think it should be something of the system :



Writer = writers['ffmpeg']
writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800,)
ani = FuncAnimation(fig, anime, interval=time_step *
 10**3, frames=F, repeat=False,) 
ani.save('standard_map.mp4', writer=Writer, dpi=100)




The errors is :



with writer.saving(self._fig, filename, dpi):
File "/usr/lib/python3.6/contextlib.py", line 159, in helper
 return _GeneratorContextManager(func, args, kwds)
File "/usr/lib/python3.6/contextlib.py", line 60, in __init__
 self.gen = func(*args, **kwds) TypeError: saving() missing 1 required positional argument: 'dpi'




I tried both adding the lines they suggested there and the error stills the same.



plt.rcParams['animation.ffmpeg_path'] = '/usr/bin/ffmpeg'




I also tried changing the writer to 'imagemagick' the one set on Ubuntu by default and the error persists.


-
What are all the command `options` to execute with ?
25 janvier 2023, par Phil LucksI'd like to be able to compress the video in a way to help improve upload times.


In reading the docs for FFMpeg Kit, using React Native, there is a basic
execute
command string of'-i file1.mp4 -c:v mpeg4 file2.mp4'
... I can guess at what some of this means, in terms of input & output file names based on the ffMPEG docs, however, some of these options I am not sure of.

Like why is there a
-i
flag prefix ? Is this "input" ?
Why is there-c:v
? Is this "convert video" ?
What if I want to reduce frame rate, or change size of video ?

The TS def is just a string...


Is there a good place to understand what the official docs options map to the strings ? I think