
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 (109)
-
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 ) (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (16451)
-
How to put a text watermark on a video using ffmpeg command in android
5 février 2016, par shivaniI am trying to put watermark on the video file which i am compressing using ffmpeg library.
What exactly is the command that i need to put to put a text watermark on the video file ??
I have tried using this command :
String commandStr = "ffmpeg -i " + inputpath
+" drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf: text='Test Text' -strict experimental -s " + str_resolution
+ " -ac 2 -ar 44100 -b "+str_bitrate+" "
+ outvidpath;After using this command the video does not get generated. What could possibly could go wrong in this command ??
Please help ! Thanks in advance !
-
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.