
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (65)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (3687)
-
Localization : Add Hindi translation (#2453)
11 novembre 2022, par saurabhsharma2uLocalization : Add Hindi translation (#2453)
* Localisation : Update Hindi (India) translation
* Hindi Translation for Step Method
* HIndi-India Local messages for additional method
* file rename as per ISO 639-1 format
* removed duplicate message, causing the test fail
* removed duplicate "cifES" error message
-
Correct hindi text drawing when using ffmpeg
28 février 2024, par OhhhThatVarunI have a
ffmpeg
script to add some Hindi text to the mp4 video file.

The
ffmpeg
command looks like this

ffmpeg -i template_video.mp4 -filter_complex "drawtext=text='नमस्कार जी मैं हूँ':fontfile=mukta.ttf:fontsize=40:box=1:boxcolor=black@0.5:boxborderw=5:x=530:y=530:enable='between(t,20,22)'[output]; [output] drawtext=text='आज हम स्कैन करेंगे':fontfile=mukta.ttf:fontsize=20:box=1:boxcolor=black@0.5:boxborderw=5:x=100:y=100:enable='between(t,15,20)'[outv]" -map "[outv]" -map 0:a? -c:a copy -pix_fmt yuv420p -s 1080x1920 output_video.mp4 -y



Expected :




Actual :






As you can see the Hindi half letters are not getting rendered.


I have gone through and tried these links :


This question and This question


I also tried this Github link


Am I missing something to make it render properly ?


-
FFmpeg drawtext support for Hindi fonts
28 février 2024, par Vinoth PoovalingamWe are trying to use FFmpeg drawtext to support Hindi fonts. But the ordering of the data is not correct.


The unicode for Hindi text is passed like this


1. पिता माता िस्रफ



But output renders as




Have used the following code for generating the output


ffmpeg -framerate 30 -t 10 -i /opt/test.png drawtext=text_shaping=1:fontcolor=white:fontsize=60:fontfile=/usr/share/xx.ttf:text='1. पिता माता िस्रफ':y='max(550,700-t*200)':x=40,format=yuv420p[v] /usr/share/nginx/html/hello_v.mp4



Had done
harfbuzz support
and--libfribidi
is also enabled.

The problem is the text gets drawn from left to right. Also found there is a
use_kerning
flag in drawtext, will that help, if yes how to use it.