
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (43)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...)
Sur d’autres sites (4904)
-
SEO for Financial Services : The Ultimate Guide
26 juin 2024, par Erin -
Understanding Data Processing Agreements and How They Affect GDPR Compliance
9 octobre 2023, par Erin — GDPR -
FFmpeg crashing on drawtext filter (ffmpeg-python)
31 août 2023, par DeadSecHey guys so im trying to use ffmpeg-python to add text to a video but its crashing at


[Parsed_drawtext_0 @ 0000012ea115ee80] Setting 'text' to value 'hi'


and I'm not sure what I can do to fix this problem. I tried pure FFmpeg command-line style and still the same issue where it gets stuck at
Setting text to value
and it simply outputs a 0byte mp4 after crashing.

My code :


os.environ['FONTCONFIG_FILE'] = r'C:\Users\NOP\NOP\NOP\NOP\binaries\fonts\fonts.conf'
 os.environ['FONTCONFIG_PATH'] = r'C:\Users\NOP\NOP\NOP\NOP\binaries\fonts'
 os.environ['FC_CONFIG_DIR'] = r'C:\Users\NOP\NOP\NOP\NOP\binaries\fonts'
 in_ = ffmpeg.input(output_video_logo)
 in_ = in_.drawtext(text='hi')
 ffmpeg.output(in_, output_video).global_args('-loglevel', 'debug').run(cmd=FFMPEG_PATH)



Font config file :


<?xml version="1.0"?>


<fontconfig>





 <dir>WINDOWSFONTDIR</dir>
 <dir>~/fonts</dir>
 <dir prefix="cwd">.</dir>
 <dir>~/.fonts</dir>


 <match target="pattern">
 <test qual="any">
 <string>mono</string>
 </test>
 <edit mode="assign">
 <string>monospace</string>
 </edit>
 </match>


 <match target="pattern">
 <test qual="any">
 <string>sans serif</string>
 </test>
 <edit mode="assign">
 <string>sans-serif</string>
 </edit>
 </match>


 <match target="pattern">
 <test qual="any">
 <string>sans</string>
 </test>
 <edit mode="assign">
 <string>sans-serif</string>
 </edit>
 </match>


 <include>conf.d</include>



 <cachedir>WINDOWSTEMPDIR_FONTCONFIG_CACHE</cachedir>
 <cachedir>~/.fontconfig</cachedir>

 <config>


 <rescan>
 <int>30</int>
 </rescan>
 </config>

</fontconfig>



Is this a issue with any of my fontconfig or script ? I'm really lost on fixing this.


As requested by Rotem tried adding new input to drawtext and this was the output before crashing with no error message :
Successfully opened the file.


[Parsed_drawtext_0 @ 00000171a2f0f900] Setting 'box' to value '1'
[Parsed_drawtext_0 @ 00000171a2f0f900] Setting 'boxcolor' to value 'yellow'
[Parsed_drawtext_0 @ 00000171a2f0f900] Setting 'fontcolor' to value 'blue'
[Parsed_drawtext_0 @ 00000171a2f0f900] Setting 'fontsize' to value '72'
[Parsed_drawtext_0 @ 00000171a2f0f900] Setting 'text' to value 'hi'
[Parsed_drawtext_0 @ 00000171a2f0f900] Setting 'x' to value '10'
[Parsed_drawtext_0 @ 00000171a2f0f900] Setting 'y' to value '10'



Full log :
https://pastebin.com/E6sHvwUz