
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (61)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (11908)
-
avformat/mov : Fix integer overflows related to sample_duration
9 mars 2018, par Michael Niedermayeravformat/mov : Fix integer overflows related to sample_duration
Fixes : runtime error : signed integer overflow : -9166684017437101870 + -2495066639299164439 cannot be represented in type
Fixes : Chromium bug 791349
Reported-by : Matt Wolenetz <wolenetz@google.com>
Reviewed-by : Matt Wolenetz <wolenetz@google.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
Not able to add Text Clip in Moviepy. Getting error related to Imagemagic
24 septembre 2023, par AdiI am using the moviepy module for python from here https://github.com/Zulko/moviepy



I had successfully installed moviepy and necessary modules with it. But when I am trying to run the first example of adding Text clip in the video, I am getting error.



Here is my code and my output.



Code :



from moviepy.editor import *
clip = VideoFileClip("video1.mp4").subclip(50, 60)

txt_clip = TextClip("My Holidays 2013", fontsize=70, color='white')
txt_clip = txt_clip.set_pos('center').set_duration(10)

video = CompositeVideoClip([clip, txt_clip])
video.write_videofile("output.mp4")




**NOTE :



- 

- Imagemagic is installed correctly as when i type convert in the
terminal i get the version name. Also i can perfectly run the other
examples were there isn't a use of TextClip
- I am using ubuntu 16.04 with python3







.**



Output :



[MoviePy] This command returned an error !Traceback (most recent call last):
 File "/home/vega6-x3/.local/lib/python3.5/site-packages/moviepy/video/VideoClip.py", line 1220, in __init__
 subprocess_call(cmd, verbose=False )
 File "/home/vega6-x3/.local/lib/python3.5/site-packages/moviepy/tools.py", line 49, in subprocess_call
 raise IOError(err.decode('utf8'))
OSError: convert: not authorized `@/tmp/tmpfa42vkjy.txt' @ error/property.c/InterpretImageProperties/3405.
convert: no images defined `PNG32:/tmp/tmpevkkuuf5.png' @ error/convert.c/ConvertImageCommand/3210.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/home/vega6-x3/python/hello.py", line 10, in <module>
 txt_clip = TextClip("My Holidays 2013", fontsize=70, color='white')
 File "/home/vega6-x3/.local/lib/python3.5/site-packages/moviepy/video/VideoClip.py", line 1229, in __init__
 raise IOError(error)
OSError: MoviePy Error: creation of None failed because of the following error:

convert: not authorized `@/tmp/tmpfa42vkjy.txt' @ error/property.c/InterpretImageProperties/3405.
convert: no images defined `PNG32:/tmp/tmpevkkuuf5.png' @ error/convert.c/ConvertImageCommand/3210.
.

.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or.that the path you specified is incorrect
</module>



Please let me know what wrong i am doing. I am pretty new to python, so not sure what i had done wrong. From what little i can get, it seems to me as a permission issue but exactly sure about this.



Thanks
Adi


-
dashenc : set DASH related options for the subsequent matroska muxer when using webm
29 octobre 2017, par Peter Großedashenc : set DASH related options for the subsequent matroska muxer when using webm
This patch is inspired by the ffmpeg webm_chunk muxer and fixes that all resulting
tracks have the same track number.Signed-off-by : Peter Große <pegro@friiks.de>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>