Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (50)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (10405)

  • libavformat : add side_data copy in concat demuxer

    15 décembre 2021, par Gerard Sole
    libavformat : add side_data copy in concat demuxer
    

    Adds support for concat demuxer to copy the side data information
    from the input file to the resulting file. It will behave like the
    metadata copy, where the metadata of the first file is kept in the
    the output file.

    Extract the current code that already performs the stream side_data
    copy into a separate method and reuse the method in the concat demuxer.

    Signed-off-by : Gerard Sole <g.sole.ca@gmail.com>

    • [DH] libavformat/concatdec.c
    • [DH] libavformat/internal.h
    • [DH] libavformat/utils.c
    • [DH] tests/ref/fate/concat-demuxer-extended-lavf-mxf
    • [DH] tests/ref/fate/concat-demuxer-extended-lavf-mxf_d10
    • [DH] tests/ref/fate/concat-demuxer-simple1-lavf-mxf
    • [DH] tests/ref/fate/concat-demuxer-simple1-lavf-mxf_d10
    • [DH] tests/ref/fate/concat-demuxer-simple2-lavf-ts
  • http: Fix authentication, broken since 6a463e7fb

    13 août 2014, par Martin Storsjö
    http: Fix authentication, broken since 6a463e7fb
    

    The cur_*auth_type variables were set before the http_connect call
    prior to 6a463e7fb - their sole purpose is to record the
    authentication type used to do the latest request, since parsing
    the http response sets the new type in the auth state.

    CC : libav-stable@libav.org
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/http.c
  • Handling multiple line subtitles of Right aligned languages(arabic) in Moviepy

    24 décembre 2023, par Stanger Danger

    I am trying to add Arabic subtitles on a video using Moviepy. The issue I'm facing is related to alignment of Arabic text, as it progresses from right to left, instead of left to right in English language.

    &#xA;

    enter image description here

    &#xA;

    As text length gets more and more, Moviepy trims the words from both ends, this issue can be resolved if we break the text into multiple lines. This works well for English language but for Arabic, the first line becomes the last line because of the (Right-Left)alignment.

    &#xA;

    enter image description here

    &#xA;

    The text on Second line should come first on the first line at the start, while end chuck of first text towards the left corner should render on the second line, but it is getting rendered as English language, Left to right alignment.

    &#xA;

    Here is my code :

    &#xA;

    def add_subtitles(address_subtitles, address_video):&#xA;  video = VideoFileClip(address_video)&#xA;  generator = lambda txt: TextClip(txt, font=&#x27;Arial&#x27;, fontsize=22, color=&#x27;black&#x27;, stroke_width=2, method=&#x27;caption&#x27;, align=&#x27;south&#x27;, size=video.size)&#xA;  subtitles = SubtitlesClip(address_subtitles, generator)&#xA;  #print()&#xA;&#xA;  result = CompositeVideoClip([video, subtitles.set_pos((&#x27;center&#x27;,&#x27;bottom&#x27;))])&#xA;  result.write_videofile("arabic_with_hardcoded_subtitles_3.mp4", fps=video.fps, temp_audiofile="temp-audio.m4a", remove_temp=True, codec="libx264"&#xA;  , audio_codec="aac")&#xA;

    &#xA;