Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (61)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP 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, par

    Mediaspip 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, par

    Formulaire 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 Niedermayer
    avformat/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>

    • [DH] libavformat/mov.c
  • Not able to add Text Clip in Moviepy. Getting error related to Imagemagic

    24 septembre 2023, par Adi

    I am using the moviepy module for python from here https://github.com/Zulko/moviepy

    &#xA;&#xA;

    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.

    &#xA;&#xA;

    Here is my code and my output.

    &#xA;&#xA;

    Code :

    &#xA;&#xA;

        from moviepy.editor import *&#xA;clip = VideoFileClip("video1.mp4").subclip(50, 60)&#xA;&#xA;txt_clip = TextClip("My Holidays 2013", fontsize=70, color=&#x27;white&#x27;)&#xA;txt_clip = txt_clip.set_pos(&#x27;center&#x27;).set_duration(10)&#xA;&#xA;video = CompositeVideoClip([clip, txt_clip])&#xA;video.write_videofile("output.mp4")&#xA;

    &#xA;&#xA;

    **NOTE :

    &#xA;&#xA;

      &#xA;
    • Imagemagic is installed correctly as when i type convert in the&#xA;terminal i get the version name. Also i can perfectly run the other&#xA;examples were there isn't a use of TextClip
    • &#xA;

    • I am using ubuntu 16.04 with python3
    • &#xA;

    &#xA;&#xA;

    .**

    &#xA;&#xA;

    Output :

    &#xA;&#xA;

    [MoviePy] This command returned an error !Traceback (most recent call last):&#xA;  File "/home/vega6-x3/.local/lib/python3.5/site-packages/moviepy/video/VideoClip.py", line 1220, in __init__&#xA;    subprocess_call(cmd, verbose=False )&#xA;  File "/home/vega6-x3/.local/lib/python3.5/site-packages/moviepy/tools.py", line 49, in subprocess_call&#xA;    raise IOError(err.decode(&#x27;utf8&#x27;))&#xA;OSError: convert: not authorized `@/tmp/tmpfa42vkjy.txt&#x27; @ error/property.c/InterpretImageProperties/3405.&#xA;convert: no images defined `PNG32:/tmp/tmpevkkuuf5.png&#x27; @ error/convert.c/ConvertImageCommand/3210.&#xA;&#xA;&#xA;During handling of the above exception, another exception occurred:&#xA;&#xA;Traceback (most recent call last):&#xA;  File "/home/vega6-x3/python/hello.py", line 10, in <module>&#xA;    txt_clip = TextClip("My Holidays 2013", fontsize=70, color=&#x27;white&#x27;)&#xA;  File "/home/vega6-x3/.local/lib/python3.5/site-packages/moviepy/video/VideoClip.py", line 1229, in __init__&#xA;    raise IOError(error)&#xA;OSError: MoviePy Error: creation of None failed because of the following error:&#xA;&#xA;convert: not authorized `@/tmp/tmpfa42vkjy.txt&#x27; @ error/property.c/InterpretImageProperties/3405.&#xA;convert: no images defined `PNG32:/tmp/tmpevkkuuf5.png&#x27; @ error/convert.c/ConvertImageCommand/3210.&#xA;.&#xA;&#xA;.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn&#x27;t specify the path to the ImageMagick binary in file conf.py, or.that the path you specified is incorrect&#xA;</module>

    &#xA;&#xA;

    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.

    &#xA;&#xA;

    Thanks&#xA;Adi

    &#xA;

  • dashenc : set DASH related options for the subsequent matroska muxer when using webm

    29 octobre 2017, par Peter Große
    dashenc : 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>

    • [DH] libavformat/dashenc.c