
Recherche avancée
Autres articles (76)
-
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 ;
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (13216)
-
ffmpeg - replace all corrupted frames with a dummy
24 août 2020, par DmitryI look for a solution on how to detect and then automatically replace all corrupted (or completely broken) frames with a black one.


I've already tried the following command, but the result is not quite what I actually need.


ffmpeg -err_detect ignore_err -i video-with-broken-frames.avi -c copy fixed.avi



This command detects and replaces all corrupted frames with the nearest good one. So that if I have 20 corrupted frames at the start of a video - they will be replaced with 21st good one. Well, what I need is to replace corrupted frames with some dummy, for instance with a black one. Or just some-how to indicate what that frame is broken and was copied.


-
Putting two videos next to each other, improving performance
17 mai 2018, par ZurechtweiserI am using this command I put together with quite some effort to put two videos next to each other.
ffmpeg -y -i i1.mov -i i2.mp4 -filter_complex
[0:v]scale=1824:1026,pad=width=1920:height=1080:x=0:y=27:color=black,crop=1641:923:170:79,scale=1920:1080[vl] ;
[1:v]scale=2016:1134,crop=1759:1080:48:27,pad=width=1920:height=1080:x=161:y=0:color=black,crop=1641:923:170:79,scale=1920:1080[vr] ;
[vl][vr]hstack=shortest=1 -c:v libx264 -crf 23 -preset veryfast output
It works, but it is not elegant.
How to shorten it and make it more performant ?
-
ffmpeg - how to overlay multiple rotated texts and video
10 novembre 2017, par user2893270I have the command for ffmpeg in order to rotate one text and overlay it to my video, but how to do it if I have multiple texts to be rotated ?
ffmpeg -i input1.mp4 -filter_complex \
"color=black:100x100[c]; \
[c][0]scale2ref[ct][mv]; \
[ct]setsar=1, \
drawtext=fontfile=../../public/fonts/Roboto-Regular-webfont.ttf: \
text='Test Text':fontsize=36:fontcolor=white,split[text][alpha]; \
[text][alpha]alphamerge,rotate=30:ow=rotw(30):oh=roth(30):c=black@0[txta]; \
[mv][txta]overlay=x='min(0,-H*sin(30))+100':y='min(0,W*sin(30))+50':shortest=1" \
output_video.mp4