
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (71)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 ) (...)
Sur d’autres sites (15026)
-
Closed Captioned TS to Open Captioned MP4 (w/Accurate Positioning)
19 décembre 2019, par Cody GreeneI am attempting to convert closed captioned MPEG TS files to open captioned MP4s using ffmpeg.
I am having trouble retaining the positioning of the captions.
The closest I’ve gotten is with this simple script :
ffmpeg -f lavfi -i movie=input.ts[out+subcc] -map 0:1 output.ass
ffmpeg -i input.ts -vf "subtitles=output.ass" -c:v libx264 -pix_fmt yuv420p -b:v 8000k -c:a aac -b:a 192k target.mp4The result of this is the open captions are shifted FAR left and the bounding box draws black over the empty spaces left of wherever text is centered (ssa adds "/h", easily removed with sed, but then it’s left-aligned captions only)
However, the vertical position, overall size, etc. all look great.
Most subtitle formats force everything to the bottom center, but I’m trying to mimic the look of an open caption on the mp4 output.
I’ve tried several formats with ccextractor and ffmpeg, but no luck. Any ideas what I’m doing wrong ?
-
Evolution #3119 (Nouveau) : Développer le classement des objets de SPIP par Glissé/lâché
13 décembre 2013, par realet RealETPossibilité de classer des articles par drag’n drop dans l’interface privée, par exemple avec sortable ( http://jqueryui.com/sortable/ ) ou mêmes les images et documents, selon ce même principe (une démo http://blog.arnaud-k.fr/demos/jquery-drag-n-drop/ )
Analyse¶
Il y a déjà une balise #RANG qui calcule le numéro de titre s’il y en a un (ça affiche la partie numéro de numéro point espace titre).
Idéalement, et pour assurer une bonne transition, il faudrait sans doute :- Créer un champ rang
- modifier la balise rang en conséquence
- Enregistrer le numéro du titre dans le champ rang
- Et que l’opération de drag’n’drop :
- modifie les champs rang impactés
- et enregistre aussi le numéro point espace dans les titres pour rétro compatibilité (pouvoir débrayer ça par un define dans mes_options)
- Et rajouter un bouton pour supprimer le classement
Et prévoir que dans les boucles, par rang !par date puisse fonctionner correctement si rang à NULL.
Discussion originale : http://thread.gmane.org/gmane.comp.web.spip.devel/64769
-
Add text to video using FFMPEG
29 décembre 2023, par DexterI have a mp4 vertical video and I would like to add a text in center top of it. I read several things and found out 2 ways to do it (with and without font file).


ffmpeg -i .mp4 -vf "drawtext=text=’Stack Overflow’:fontcolor=white:x=100:y=100:font=Arial" -codec:a copy .mp4

ffmpeg -i .mp4 -vf "drawtext=fontfile='.ttf':text='Stack Overflow':fontcolor=white:fontsize=24:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2" -codec:a copy .mp4



They both work for other people but when I'm trying to do it so I do have an error.


Fontconfig error: Cannot load default config file: No such file: (null)



And that is even if with the without font file method.


Do someone have a solution for this error ?