
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (72)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
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 (6896)
-
ffmpeg with background color
25 mars 2019, par NAGThis command works nice with some GIF but with some others return a error :
ffmpeg -f gif -f lavfi -i color=FFFFFF -i animated.gif -y
-filter_complex "[0][1]scale2ref[bg][gif];[bg]setsar=1[bg];[bg][gif]overlay=shortest=1"
-pix_fmt yuv420p -movflags frag_keyframe+empty_moov -movflags +faststart
-crf 20 -b:v 500k -f mp4 animated.mp4Error :
[libx264 @ 0x55e79dc7e3c0] height not divisible by 2 (1400x933)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0
- maybe incorrect parameters such as bit_rate, rate, width or heightSome help to fix it maintaining the background color functionality ?
-
How can I use FFMPEG to extract a specific color from a video and put it over alpha ?
28 février 2024, par Michael MachaI have a rendered animation which looks great, but my original file was not saved properly and has lost some of the data. I can quickly get that data back, if I can extract a specific color from the rendered video to a new file or image sequence, over either a key color or preferably transparency.


Since I'm hand animating this, it's important that I automate as much as possible. I think FFMPEG could come to the rescue here and help me retrieve that data.


My current line is this :


ffmpeg -i ./"Light Bleeder Twirl Above.mp4" -vf "colorkey=0xe1eff9:0.1:0.1,format=rgba" -c:a copy ./out%04d.png



Here,
E1EFF9
is the color I'm after. It successfully extracts the handful of frames to PNG files, but it copies all of the data, not justE1EFF9
.

I'm not sure why
colorkey
isn't doing what I want it to. If someone could provide some insight, it would be much appreciated.

Addendum : So, my idea worked in principle ; I did a chroma key with Kdenlive and color-to-alpha'd the black to transparency after a manual rescale. It isn't exactly the same, but it's very close and saves a lot of time. I still feel like it should most certainly have worked with FFMPEG, much faster, and would still like to know what was wrong with my script.


-
FFMPEG color to transparencyq
5 septembre 2019, par Andrew LI am trying to convert a mp4 video with a completely uniform pink color to a mov file seuch that the pink color is transparent.
I have run :
ffmpeg -i input.mp4 -vf "chromakey=0xf25b98:0.01:0" -c copy -c:v png output.mov
I confirmed that #f25b98 is the color I am replacing. This makes absolutely nothing transparent. When I try :
ffmpeg -i input.mp4 -vf "chromakey=0xf25b98:0.02:0" -c copy -c:v png output.mov
I get some weird transparent dots in my pink but still nothing is changed (see attached screenshot from video).
Why would ffmpeg exhibit this behavior ?