
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (98)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 ;
Sur d’autres sites (9099)
-
ffmpeg does not draw text
4 septembre 2016, par Michael Heubergerhope one of you can tell me why this ffmpeg command of mine does not draw the desired text. the produced video doesn’t have it. here you go :
ffmpeg -f image2 -thread_queue_size 64 -framerate 15.1 -i /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-723f-d0aa0bd0-aa9b-f7da27da678f/frames/%d.webp -y -an -vcodec libvpx -filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=180:fontcolor=white:x=150:y=150:shadowcolor=black:shadowx=2:shadowy=2 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -crf 12 -deadline realtime -cpu-used 4 -pix_fmt yuv420p -loglevel warning -movflags +faststart /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-723f-d0aa0bd0-aa9b-f7da27da678f/videomail_preview.webm
the crucial part is this video filter :
-filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=180:fontcolor=white:x=150:y=150:shadowcolor=black:shadowx=2:shadowy=2
does it seem correct to you ? if so, then why am i not seeing any text in the videomail_preview.webm video file ?
using ffmpeg v2.8.6 here with —enable-libfreetype, —enable-libfontconfig and —enable-libfribidi enabled.
furthermore, the above command has been produced with fluent-ffmpeg.
so, any ideas ?
-
Correct hindi text drawing when using ffmpeg
28 février 2024, par OhhhThatVarunI have a
ffmpeg
script to add some Hindi text to the mp4 video file.

The
ffmpeg
command looks like this

ffmpeg -i template_video.mp4 -filter_complex "drawtext=text='नमस्कार जी मैं हूँ':fontfile=mukta.ttf:fontsize=40:box=1:boxcolor=black@0.5:boxborderw=5:x=530:y=530:enable='between(t,20,22)'[output]; [output] drawtext=text='आज हम स्कैन करेंगे':fontfile=mukta.ttf:fontsize=20:box=1:boxcolor=black@0.5:boxborderw=5:x=100:y=100:enable='between(t,15,20)'[outv]" -map "[outv]" -map 0:a? -c:a copy -pix_fmt yuv420p -s 1080x1920 output_video.mp4 -y



Expected :




Actual :






As you can see the Hindi half letters are not getting rendered.


I have gone through and tried these links :


This question and This question


I also tried this Github link


Am I missing something to make it render properly ?


-
Moviepy swap text mid video
22 mai 2022, par Runeater DaWizKidI want to write text to a video and have it change mid playback, this is what I've tried but it overlays each text on eachother and only displays the text for 5 seconds ?


def generateVideo(initial_text, secondary_text, tertiary_text):
 text_clip = TextClip(txt=initial_text, color='AntiqueWhite1', font='Arial-Bold', fontsize=100)
 text_clip = text_clip.set_position('center').set_duration(5)

 text_clip_secondary = TextClip(txt=secondary_text, color='AntiqueWhite1', font='Arial-Bold', fontsize=100)
 text_clip_secondary = text_clip_secondary.set_position('center').set_duration(10).cutout(0, 5)

 text_clip_tertiary = TextClip(txt=tertiary_text, color='AntiqueWhite1', font='Arial-Bold', fontsize=100)
 text_clip_tertiary = text_clip_tertiary.set_position('center').set_duration(15).cutout(0, 10)
 
 new_video = ColorClip(size=(1920, 1080), color=(0,0,0), duration=15)
 new_video.fps = 24
 
 new_video = CompositeVideoClip([new_video, text_clip, text_clip_secondary, text_clip_tertiary])

 new_video.write_videofile(codec='mpeg4', filename="test.mp4")
 new_video.close()



Anyone see what im doing wrong ?


Edit :
I've also tried the appropriate calls to subclip(pos1, pos2), ie


text_clip_secondary = text_clip_secondary.set_position('center').set_duration(15).subclip(5, 10)



With the same results