
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (86)
-
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" (...) -
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 (...)
Sur d’autres sites (9284)
-
Anomalie #2875 (Nouveau) : Problème dans Edition > Rubriques
18 octobre 2012, par - EquipementBonjour, Si un administrateur restreint administre uniquement des rubriques qui ne sont pas à la racine du site (c’est-à-dire que ce sont toutes des sous rubriques), alors dans le menu Edition > Rubriques de SPIP 3.0.5, il ne les voit pas. En revanche, si une des rubriques est à la racine du site, (...)
-
Troubles importing manim
14 juin 2023, par Pablo Ballesterosimport manim

class Vectors(VectorScene):

 def construct(self):
 self.add_axes()
 self.add_plane()
 self.add(self.get_basis_vectors())
 self.wait()



thats the code i am using, i just install manim (choco install manimce) 0.17.3 and ffmpeg 6.0 using choco. python version 3.11.3. i run it opening the cmd on the directory of the file an tiping :


python -m manim startingmanim.py



but get the following error/output :


Manim Community v0.17.3

Traceback (most recent call last):
 File "<frozen runpy="runpy">", line 198, in _run_module_as_main
 File "<frozen runpy="runpy">", line 88, in _run_code
 File "C:\tools\Manim\Lib\site-packages\manim\__main__.py", line 58, in <module>
 main()
 File "C:\tools\Manim\Lib\site-packages\click\core.py", line 1130, in __call__
 return self.main(*args, **kwargs)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\tools\Manim\Lib\site-packages\click\core.py", line 1055, in main
 rv = self.invoke(ctx)
 ^^^^^^^^^^^^^^^^
 File "C:\tools\Manim\Lib\site-packages\click\core.py", line 1657, in invoke
 return _process_result(sub_ctx.command.invoke(sub_ctx))
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\tools\Manim\Lib\site-packages\click\core.py", line 1404, in invoke
 return ctx.invoke(self.callback, **ctx.params)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\tools\Manim\Lib\site-packages\click\core.py", line 760, in invoke
 return __callback(*args, **kwargs)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\tools\Manim\Lib\site-packages\manim\cli\render\commands.py", line 111, in render
 for SceneClass in scene_classes_from_file(file):
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\tools\Manim\Lib\site-packages\manim\utils\module_ops.py", line 129, in scene_classes_from_file
 module = get_module(file_path)
 ^^^^^^^^^^^^^^^^^^^^^
 File "C:\tools\Manim\Lib\site-packages\manim\utils\module_ops.py", line 52, in get_module
 spec.loader.exec_module(module)
 File "<frozen>", line 940, in exec_module
 File "<frozen>", line 241, in _call_with_frames_removed
 File "C:\Users\Pablo\Downloads\startingmanim.py", line 1, in <module>
 from manimlib import *
ModuleNotFoundError: No module named 'manimlib'
</module></frozen></frozen></module></frozen></frozen>


note that on my code the following sentence
from manimlib import *
doesnt even exists.
I dont know what to do. thanks in advace

-
Getting "TypeError : must be real number, not NoneType" whenever trying to run write_videofile to a clip in moviepy
9 novembre 2024, par SatoExample code :


from moviepy.editor import *
clip = VideoFileClip('video.mp4')
clip.write_videofile('video2.mp4', fps=30)



After showing the following messages, showing that the video is being built and written,


Moviepy - Building video video2.mp4.
Moviepy - Writing video video2.mp4



The following error message occurs :


Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "C:\Users\User\Anaconda3\lib\site-packages\decorator.py", line 232, in fun
 return caller(func, *(extras + args), **kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration
 return f(clip, *a, **k)
 File "C:\Users\User\Anaconda3\lib\site-packages\decorator.py", line 232, in fun
 return caller(func, *(extras + args), **kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\decorators.py", line 135, in use_clip_fps_by_default
 return f(clip, *new_a, **new_kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\decorator.py", line 232, in fun
 return caller(func, *(extras + args), **kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\decorators.py", line 22, in convert_masks_to_RGB
 return f(clip, *a, **k)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\video\VideoClip.py", line 300, in write_videofile
 ffmpeg_write_video(self, filename, fps, codec,
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 213, in ffmpeg_write_video
 with FFMPEG_VideoWriter(filename, clip.size, fps, codec = codec,
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 88, in __init__
 '-r', '%.02f' % fps,
TypeError: must be real number, not NoneType
</module></stdin>


This occurs whenever I try to perform
write_videofile
to any kinds of clip in moviepy. It is strange since the exact same code worked for me yesterday, but suddenly not anymore today. Are there any suggestions what the cause is and how to resolve this ?