
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (75)
-
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 ;
-
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 ) (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (10061)
-
ffmpeg - How to resize frame collage (grid of images) to grid of different dimensions, while respecting frame order ?
12 mars 2023, par JamesKI have an input of a "frame collage" (that is, frames extracted from a video, arranged in a certain grid). I want to rearrange the frames from a collage into a different grid shape. I can calculate the input coordinates (or bounds, e.g. x.min -> x.max, y.min -> y.max) and output coordinates for each frame. Basically, I want to resize a grid, while respecting the positioning of each element of the original grid.


As an example, given a frame collage that is 9x2 (9 columns wide, 2 rows tall), with image resolution of 1080x240 (width x height), resize the frame collage to be 6x3 (6 columns wide, 3 columns tall), with an image resolution of 720x480 (width x height), while respecting the order of the frames in the input image (left to right, top to bottom).


I generated the frame mappings (where the original frame was located, and where the new frame should be placed) for each frame, a table of that data is available here : https://pastebin.com/raw/a5UhKhek (posted on pastebin because discord would murder the formatting).


Does anyone have any ideas on how I might be able to pull this off ?


I've investigated the
tile
anduntile
filter, as well as looked into theselect
filter, although the syntax for the lattermost is a touch confusing to me.

-
Normalise offsetX and offsetY on the event
19 février 2014, par chriscbrockNormalise offsetX and offsetY on the event
According to the W3C Working Draft, offsetX and offsetY should be
relative to the padding edge of the target element. The only browser
using this convention is IE. Webkit uses the border edge, Opera uses the
content edge, and FireFox does not support the properties.Normalizing to the border edge is easiest to do.
-
Normalise offsetX and offsetY on the event
19 février 2014, par chriscbrockNormalise offsetX and offsetY on the event
According to the W3C Working Draft, offsetX and offsetY should be
relative to the padding edge of the target element. The only browser
using this convention is IE. Webkit uses the border edge, Opera uses the
content edge, and FireFox does not support the properties.Normalizing to the border edge is easiest to do.