Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (57)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6135)

  • ffmpeg drawtext how to set direction right to left

    21 décembre 2017, par Abdalla Mohamed Aly Ibrahim

    i write arabic text to videos and it works fine but the issue is that the arabic language is written from right to left
    so the text must align right not left
    i get the text like this
    enter image description here
    and it should be like this
    enter image description here
    my code

    ffmpeg -y -i input.mp4 -vf "drawtext=text_shaping=1:fontfile=C\/:/Windows/Fonts/tradbdo.ttf:\
    textfile=text-new.txt:fontcolor=white:fontsize=40:x=w-tw:y=h-50*t:" -c:v libx264 output.mp4
  • German umlauts in ffmpeg drawtext filter

    15 août 2020, par Gert Gottschalk

    I need help getting german umlauts 'äüö' displayed properly/(at all) in ffmpeg drawtext filter. I can't say at this time if my inability comes from lack of ffmpeg know-how or machine configuration or both. Your input is much appreciated.

    



    In ffmpeg cmd line I have :

    



    /home/tools/bin/ffmpeg -loop 1 -i RAW2TIF_01_png_1080/IMG_1119.png -c:v libx264 -vf drawtext="fontsize=60:fontcolor=yellow:fontfile=/usr/share/fonts/truetype/freefont/FreeSans.ttf:textfile=./Scripts/header_text.txt:x=(w-text_w)/2:y=(h-text_h-line_h)/2" -t 10 -pix_fmt yuv420p  -crf 16 -r 24 -y ./Video/header_txt.mp4


    



    Note the 'drawtext' call.

    



    My linux machine where I run ffmpeg is setup for US keyboard and characters. So my first roadblock is to get the umlauts into the text in some editor. I tried typing 'alt-numerical' sequences, but the special characters will not show in vi, vim, emacs.

    



    If I were to have the special characters in a textfile I would not know if/how ffmpeg is able to handle them.

    



    A search on popular engine for 'ffmpeg drawtext umlaut' does not return any (for me) meaningful returns.

    



    Thanks,
Gert

    


  • Select and hardcode ASS subtitle stream using -filter_complex (MKV to MP4)

    11 avril 2018, par Y. T

    So I have been using -filter_complex "subtitles='myfile1.mkv'" for quite some time now to convert MKV to hardcoded MP4 files. Since myfile1.mkv always had 1 ASS subtitle stream (with only 1 font type), it was never problem. But now I have another file (myfile2.mkv), that contains multiple ASS subtitle streams (with multiple font types) and now no subtitles are hardcoded whatsoever.

    So after browsing, I tried the following 2 methods :

    1. -filter_complex "subtitles='myfile2.mkv':si=0"

      • which gave no warning/errors and no subtitles
    2. -filter_complex "[0:v][0:s:0]overlay[v]" -map "[v]" -map 0:a

      • gave the following warning : sub2video: non-bitmap subtitle and didn’t render the subtitles
    3. Removed all subtitle streams except 1 in myfile2.mkv and tried option 1 and 2 again

      • same results as option 1 and 2

    I’ve seen some topics that there are some issues with fonts, but I’m not sure if that’s the problem here.

    Any bit of help is appreciated.