
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (105)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (16398)
-
FFMPEG - scrolling text in area
25 juin 2021, par Marcin WoźniakI try to make scrolling news ticker on a video as overlay.
I have created a PNG background with a specified place where where i want to scrolling text appear.



I tried with this :



ffmpeg -i INPUT.mp4 -vf "drawtext=textfile=ticker.txt:fontfile=BebasNeue-Regular.ttf:y=h-line_h-10:x=w-mod(w*t/25\,2400*(w+tw)/w):fontcolor=white:fontsize=40:shadowx=2:shadowy=2" -codec:a copy output.mp4



but this command scrolls text from right margin to left margin.



What i want to achieve is that scrolling text scrolls only in selected boundary box i set (in example starts from 100px from right and ends 100px from left).



I didnt find any answer here or in Google - every example scrools from left to right directly.


-
Mathematical formula to always center text along X and Y axis ffmpeg python ?
18 février 2023, par Sixtus AnyanwuI am trying to center a text horizontally and vertically with ffmpeg python but I can't seem to get it right. The mid point shifts depending on the amount of characters in the text.


How do I always center the text to the centre of the screen no matter the length of the text ?


Here is my code.



v_width = 1080

v_height = 1633

def create_video():

 overlay1 = ffmpeg.input("sukuna.gif").filter("scale", 1080, -1, height = 1633 / 2)

 overlay2 = ffmpeg.input("akaza_long.mp4").filter("scale", 1080, -1, height = 1633 / 2 )

 (

 ffmpeg.input('letsgo.mp4')

 .overlay(overlay1)

 .overlay(overlay2, x = 0, y = v_height / 2)

 .drawtext(textfile = "char_names.txt", fontfile = "/storage/emulated/0/PyFiles/Helvetica-Bold.ttf", fontcolor = "yellow", bordercolor = "black", escape_text = True, start_number = 0, fontsize = "80", x = (v_width / 2) - 40, y = (v_height / 2) - 40, borderw = 4, line_spacing = 3)

 .output("newVideo.mp4")

 .run()

 )



The - 40 is for adding some extra padding to the text.


How do I go about this ?


I want the below position always no matter how big or amount of characters in the text.
Centred text


Already tried adding a couple of offset to the text but once the text gets longer, it loses its alignment.


-
movtextdec : Add support for automatic text wrapping
14 août 2015, par Nikleshmovtextdec : Add support for automatic text wrapping
The value of wrap_flag in the Text Wrap Box specifies if the text is to
be wrapped or not. Uses ’end of line wrap’ amongst the wrap styles
supported by ASS if the text is to be wrapped, i.e ; fill as much text
in a line as possible, then break to next line.The 3GPP spec has no provision for smart wrapping.
Signed-off-by : Niklesh <niklesh.lalwani@iitb.ac.in>