Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (67)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (10180)

  • 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.

    


    enter image description here

    


    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.

    


    enter image description here

    


    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.

    


    Here is my code :

    


    def add_subtitles(address_subtitles, address_video):
  video = VideoFileClip(address_video)
  generator = lambda txt: TextClip(txt, font='Arial', fontsize=22, color='black', stroke_width=2, method='caption', align='south', size=video.size)
  subtitles = SubtitlesClip(address_subtitles, generator)
  #print()

  result = CompositeVideoClip([video, subtitles.set_pos(('center','bottom'))])
  result.write_videofile("arabic_with_hardcoded_subtitles_3.mp4", fps=video.fps, temp_audiofile="temp-audio.m4a", remove_temp=True, codec="libx264"
  , audio_codec="aac")


    


  • New Piwik 2.0 public beta for testers

    16 octobre 2013, par matt

    Dear Piwik community,

    We are excited to announce the release of the first public beta version of Piwik 2.0.

    This is software still in development and we really don’t recommend that you run it on a production site — set up a test database just to play with the new version.

    Piwik 2.0 is a major update from Piwik 1.12 and is the result of 5 months of work on the platform !

    What’s changed ?

    We focused on upgrading Piwik source code quality and maintainability : upgraded to PHP 5.3 using namespaces, changed templating library to Twig, started using composer, using Less as well as css, improved QA tests, introduced new Screenshots tests, refactored translations to nice JSON format, refactored LOTS of code, added documentation….

    There also performance improvements, in particular the “All Websites Dashboard” is now usable with 20,000+ websites !

    Several bugs were fixed and we added some very-special-and-exciting new features.

    See the list of closed tickets in Piwik 2.0, or learn more about our recent developments in the Development update blog post.

    Piwik 2 is the open platform for your analytics data !

    How to update to Piwik 2.0 beta ?

    1. You can tell Piwik to use the latest beta from within the user interface. See this FAQ : [piwik.org]
    2. or alternatively you may download the latest beta from the build server, upload these files on top of your existing piwik files, and visit Piwik to upgrade.

    Beta cycle
    The more you test the beta, the more stable our release candidates and our final release will be. If you think you’ve found a bug, you can post it in this forum post. Or, if you’re comfortable writing a reproducible bug report, file one. The stable Piwik 2.0 release is planned for mid-November !

    Happy testing,

    PS : if you are interested in professional support for Piwik, or custom feature development, contact the Piwik experts.

  • How to use FFmpeg

    20 septembre 2021, par Moayyad Yaghi

    I'm trying to extract frames from a video and I've picked ffmpeg ( tell me if you know something better ) for this task.

    


    I've downloaded its source and don't know how to use it ?? how can I compile it ?

    


    What is the recommended language for it ? I know Python and C++.
Please note that my operating system is Windows Vista 64 bit .