
Recherche avancée
Autres articles (56)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (11881)
-
DrawText and crossfade effect - ffmpeg
22 juillet 2018, par GeekI have one video with crossfade effect and i want add text on this video (drawtext).
However when i add a filter text, he remove a crossfade effect in the final video.Command to create video with crossfade effect :
ffmpeg -i first.mp4 -i second.mp4 -filter_complex
"[0:v]trim=start=0:end=2,setpts=PTS-STARTPTS[0_clip_1];
[0:v]trim=start=2:end=3,setpts=PTS-STARTPTS[fadeoutsrc_0];
[fadeoutsrc_0]format=pix_fmts=yuva420p,fade=t=out:st=0:d=1:alpha=1[fadeout_0];
[fadeout_0]fifo[fadeoutfifo_0];[1:v]trim=start=1,setpts=PTS-STARTPTS[1_clip_2];
[1:v]trim=start=0:end=1,setpts=PTS-STARTPTS[fadeinsrc_1];
[fadeinsrc_1]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1[fadein_1];
[fadein_1]fifo[fadeinfifo_1];
[fadeoutfifo_0][fadeinfifo_1]overlay[crossfade_1];
[0_clip_1][crossfade_1][1_clip_2]concat=n=3[output];[0:a][1:a] acrossfade=d=1 [audio]"
-map "[output]" -map "[audio]" videoWithCrossfade.mp4Command to add filter text :
ffmpeg -i videoWithCrossfade.mp4 -filter_complex
"/Windows/fonts/arial.ttf':text='hello world!':fontcolor=white:fontsize=40:box=1:boxcolor=red
@0.5:boxborderw=10:x=500:y=500"
output.mp4this is the link of video : http://www.mediafire.com/file/kw3lvdb2rp1bs6u/videoWithCrossfade.mp4/file
http://www.mediafire.com/file/iycdzozsqzosq87/output.mp4/fileThanks for your help !
-
Where to place the fontfile for the FFmpeg drawtext-Filter ?
18 juin 2018, par jpGerhardI’m using the precompiled FFmpeg-Android by Bravobit (via gradle :
implementation 'nl.bravobit:android-ffmpeg:1.1.5'
; based on WritingMind’s) with the intention of drawing the current timestamp/location onto a .mp4 file. I am completely new to FFmpeg and have started with Android Studio a few months ago.Information :
- IDE : Android Studio
- OS : OSX 10.13.5
My problem :
I don’t know whether the fontfile needs to be in the Application path on my Phone, in the Android Studio directory or just on a location on my MacBook (so it gets compiled when running the application).
Basic FFmpeg commands (-version, ...) are working, but I can’t seem to figure out where I have to place my fontfile.
My current command is as follows :
-i /path/to/video.mp4 -vf drawtext=fontfile=/users/shared/fonts/arial.ttf:text='Hello World' /path/to/output.mp4
I’ve tried a lot of variations and always received to following errors :
Fontconfig error : Cannot load default config file
[Parsed_drawtext_0 @ 0xecbfd420] impossible to init fontconfig
[AVFilterGraph @ 0xec9cc140] Error initializing filter ’drawtext’ with args ’fontfile=/users/shared/fonts/arial.ttf:text=Hello World’
Error reinitializing filters !
Failed to inject frame into filter network : Unknown error occurred
Error while processing the decoded data for stream #0:0
Conversion failed !Does anyone have a suggestion on how to get this to work ?
-
Where to place the fontfile for the FFmpeg Android drawtext-Filter ?
13 juin 2018, par jpGerhardI’m using the precompiled FFmpeg-Android by Bravobit (via gradle :
implementation 'nl.bravobit:android-ffmpeg:1.1.5'
; based on WritingMind’s) with the intention of drawing the current timestamp/location onto a .mp4 file. I am completely new to FFmpeg and have started with Android Studio a few months ago.Information :
- IDE : Android Studio
- OS : OSX 10.13.5
My problem :
I don’t know whether the fontfile needs to be in the Application path on my Phone, in the Android Studio directory or just on a location on my MacBook (so it gets compiled when running the application).
Basic FFmpeg commands (-version, ...) are working, but I can’t seem to figure out where I have to place my fontfile.
My current command is as follows :
-i /path/to/video.mp4 -vf drawtext=fontfile=/users/shared/fonts/arial.ttf :text='Hello World' /path/to/output.mp4
I’ve tried a lot of variations and always received to following errors :
Fontconfig error : Cannot load default config file
[Parsed_drawtext_0 @ 0xecbfd420] impossible to init fontconfig
[AVFilterGraph @ 0xec9cc140] Error initializing filter ’drawtext’ with args ’fontfile=/users/shared/fonts/arial.ttf:text=Hello World’
Error reinitializing filters !
Failed to inject frame into filter network : Unknown error occurred
Error while processing the decoded data for stream #0:0
Conversion failed !Does anyone have a suggestion on how to get this to work ?