
Recherche avancée
Autres articles (26)
-
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (3146)
-
How to make text the same scale in any sized photo with ffmpeg
28 août 2020, par pigeonburgerThis is what I'm doing right now :


ffmpeg -i cornoil.jpg -vf "drawtext=font='Impact': text='Test Text': fontcolor=white: borderw=3: fontsize-75: x=(w-tw)/2:y=h/12-th/2" output.jpg



I understand that in this case the text size would be 75 every time, so what I would like to do is make the text scale down if it is a smaller image (so it doesn't go out of the frame) or scale up if it is a larger image (so it doesn't look tiny)


Thanks for any help


-
Make text always fit inside any sized photo/video frame ffmpeg
29 août 2020, par pigeonburgerI'm trying to use the drawtext filter in ffmpeg to add text to a video, but depending on the frame size, the text can either be too large (parts of it not even in the video frame) or too small (barely readable). Is there a way I can make the text automatically resize itself to perfectly fit the frame ?


Here's the line of code I am using right now :


ffmpeg -i input.jpg -vf "drawtext=font='Impact': text='Test Text': fontcolor=white: borderw=3: fontsize-75: x=(w-tw)/2:y=h/12-th/2" output.jpg



Thanks in advance for anyone who helps.


-
Align text in top middle of any photo/video frame in ffmpeg
19 janvier 2023, par pigeonburgerI would like to know how to align the text in any sized photo/video frame in the top middle. I understand how to center the text on the x axis in any frame, so how do I make it always be at the top as well ?


Heres what I've been doing so far :


ffmpeg -i input.jpg -vf "drawtext=font='Impact': text='Test Text': fontcolor=white: borderw=3: fontsize-75: x=(w-tw)/2:y=((h-text_h)/2)" output.jpg