
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (66)
-
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 (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (6676)
-
Evolution #4628 (En cours) : Intégrer la fonction slugify
17 février 2021, par cedric -L’inconvénient de la nommer slufigy c’est le risque de collision.
Je recherche dans mes mails d’il y a 4 ans pour trouver pourquoi, mais à l’époque, on avait switché de slugify vers filtre_slugify_dist et une définition optionnelle de la fonctionslufigy()
https://git.spip.net/spip-contrib-extensions/spip-bonux/commit/9987b6f429211364492560f63d66a73f3b5d41b2Ça m’embêterait de faire ça dans le core.
Donc soit on y va
- pour
slufigy()
tout court, au risque de la collision, - ou un
spip_slugify()
peut-être qui sera plus sur, mais on perd la compat automatique avec les appels existants (cela dit bonux peut gérer le mappage de l’ancien vers le nouveau) - ou alors un autre nom ?
Faites vos jeux, rien ne va plus...
- pour
-
How to make high smooth, high resolution particle motion animations
5 décembre 2019, par algaeFor some time I have been having trouble with producing short movies/animations/gifs which are of sufficiently high resolution. I’m going to use R to generate some frames as a random example, but if there is somewhere else I should be creating frames from to give better results I would be interested in that too.
Creating frames
The kinds of animations I’m interested involve some cloud of ’particles’ moving about the page. There are usually a large number of particles and I would like their motion be as smooth as possible. As a random example, consider the R code (using base graphics and not
ggplot2
as it is far quicker for saving a large number of frames)N <- 500
nFrames <- 250
points <- pracma::randp(n=N, r=1)
rot <- function(p, a) { return(cbind(p[,1]*cos(a) - p[,2]*sin(a), p[,1]*sin(a) + p[,2]*cos(a))) }
cols <- colorRampPalette(c("red", "green", "blue"))(nFrames)
ang <- seq(0, pi, length=N)
# Save frames
png(filename="%d.png")
par(mar=c(0,0,0,0))
for (i in seq(1,N,length=nFrames))
plot(sqrt(i)*rot(points, ang[i]), xlim=sqrt(N)*c(-1,1), ylim=sqrt(N)*c(-1,1), cex=0.5, pch=19, col=cols[i], asp=1, xaxs="i")
dev.off()Frames to animation
There are a number of tools available to chain each frame together into an animation (in R there are also things like
gganimate
which I have tried but did not find convenient or better than the following). I also don’t have any requirements for the resulting file size or time taken to get everything looking as crisp as possible.convert
For short gif style animations a common solution is to do something like
convert -delay 1 -loop 0 *.png g.gif
which givesgifski
Running
gifski -o g.gif *.png
producesThere is an annoying amount of ’jitter’ happening in the transition between frames in both of the above (though less noticeable with
gifski
).ffmpeg
Being gifs, the above will be have limited options for tweaking so I suspect part of the solution lies in using
ffmpeg
. All I would like to know is how to make the animation appear totally smooth without any kind of noticeable blurriness. Here the resulting movies tend to be quite smooth, but resolution is lacking.. e.g. after settingheight=1080
andwidth=1080
inpng()
of the above code we can runfmpeg -i %d.png -s 1080x1080 -c:v libx264 -vf fps=250 -pix_fmt yuv444p out.mp4
If the particles move on a time/space scale smaller than is visible to the naked eye, and we set the frames per second to be the total number of frames, the transition between frames should be seamless, right ? At around the 2 second mark in
out.mp4
you will see some kind of frame drop and similarly right at the beginning. Why does this happen ?Questions
- Is there a standard documented approach to generating high quality animations/movies involving large numbers of ’point-like’ particles ? Do we need more an more frames ?
- How to improve resolution of movies using
ffmpeg
? Should I change from .png format to something vectorised (if so, how) ?
Running Fedora v31.
-
how to make live streaming for multiple clients
19 septembre 2014, par Abdulrahman AlcharbajiI have new project to do and I need some help to know where to start.
I have more than 1000 DVR each with 4 channels, I need to be able to do live streaming for multiple clients, and clients could be android,iPhone or windows.
Now throw searching i tried to check ffserver and ffmpeg but i couldn’t find much references to guide me throw a solution for my problem.
NOTE : the DVRs streaming with h.264 encoding.So Please can anybody help me by guiding me for a start or some good references about this particular issue.
Many Thnaks