
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (86)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (11652)
-
FFmpeg-Python command too long because of drawtext
21 mai 2024, par XascoriaI have a FFmpeg-Python program that puts subtitles into a video, pseudocode below :


for i in range(10000):
 video= video.filter(
 'drawtext', fontfile=FONT_FILE, text=cur_string, x='(w-text_w)/2', y='(h-text_h)/2',
 fontsize=FONT_SIZE, fontcolor=FONT_COLOR, borderw=2, bordercolor=FONT_OUTLINE_COLOR,
 enable=f'between(t,{i},{i+1})')

video.output(PATH).run()



The code above gives the following error :


FileNotFoundError: [WinError 206] The filename or extension is too long



My questions are :


(1) Is there anyway to check when the ffmpeg command is going to exceed the cmd length limit (8191/28878 ? not actually sure which one is in effect) in code ?


(2) How do I fix this in code ?


-
Revision 22232ec602 : Change back the scaling calculation. Let the calculation to be compatible with
21 mars 2014, par hkuangChanged Paths :
Modify /vp9/common/vp9_reconinter.c
Change back the scaling calculation.Let the calculation to be compatible with Google's HW implementation.
Change-Id : I22e179888cdb0419e230351c0a47661b37051fef
-
Revision 0f96939ceb : Use 'unsigned long' for _BitScanReverse parameter New clang warnings in chromiu
8 juillet 2015, par JohannChanged Paths :
Modify /vp8/encoder/x86/quantize_ssse3.c
Use ’unsigned long’ for _BitScanReverse parameterNew clang warnings in chromium reveal an incompatible pointer being
passed.Change-Id : I0d893993726ecf899f467c16175bfb8c76329731
https://code.google.com/p/chromium/issues/detail?id=504696