
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (22)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (2523)
-
avcodec/h264 : also show frames with missing fields when CODEC_FLAG2_SHOW_ALL is set
22 décembre 2014, par Michael Niedermayer -
Show first and last frame longer in ffmpeg
3 novembre 2014, par Gert GottschalkI am building a time-lapse animation from single frames and would like to show the first and last frames longer than the prescribe frame rate. My initial ffmpeg call looks like this and works quite well. It creates the basic time-lapse animation from single frames.
ffmpeg -r 16 -threads 0 -f image2 -pattern_type glob -i './sofi_20141022/octave2reg/IMG_*_cent.png' -c:v libx264 -s 1440x1080 -crf 24 ./Video/20141022_Partial_Solar_Eclipse_crf24_16fps.mp4
But how do I add controls to have the first and last frame show longer (i.e for sec) ??
Thanks,
Gert -
How to use fig.show=animate in knitr without administrator privileges
23 mai 2013, par Stéphane LaurentI use Windows without administrator privileges hence I cannot set a path in the Windows PATH variable.
The
ffmpeg.exe
file is in my"U:/ProgramFiles/ImageMagick-6.8.5-5/"
folder.I have found how to use the
saveVideo()
function of theanimate
package :ani.options(ffmpeg = shQuote('U:/ProgramFiles/ImageMagick-6.8.5-5/ffmpeg.exe'))
saveVideo({
par(mar = rep(3, 4))
for (i in seq(pi/2, -4/3 * pi, length = 12)) {
plot(0, 0, pch = 20, ann = FALSE, axes = FALSE)
arrows(0, 0, cos(i), sin(i))
axis(1, 0, "VI"); axis(2, 0, "IX")
axis(3, 0, "XII"); axis(4, 0, "III"); box()
}
},
video.name="mavideo.mp4",
outdir="U:/Data/Rtests/Animation")But I haven't find how to knit a Rmd file with the option
fig.show=animate
in a chunk, for instance :```{r clock, fig.width=7, fig.height=6, fig.show='animate'}
par(mar = rep(3, 4))
for (i in seq(pi/2, -4/3 * pi, length = 12)) {
plot(0, 0, pch = 20, ann = FALSE, axes = FALSE)
arrows(0, 0, cos(i), sin(i))
axis(1, 0, "VI"); axis(2, 0, "IX")
axis(3, 0, "XII"); axis(4, 0, "III"); box()
}
```I have tried to modifiy the
hook_ffmpeg_html()
function by only changing theffmpeg.cmd
variable :```{r}
hook_ffmpeg_html2 <- function (x, options)
{
........
ffmpeg.cmd = paste("-y", "-r", 1/options$interval,
"-i", fig.fname, mov.fname)
ffmpeg.cmd <- paste('"U:/ProgramFiles/ImageMagick-6.8.5-5/ffmpeg"', ffmpeg.cmd)
......
}
opts_knit$set(animation.fun = hook_ffmpeg_html2)
```But this chunk does not work, below is the error message :
label: unnamed-chunk-1
Warning in block_exec(params) :
failed to tidy R code in chunk
reason: Error in base::parse(text = text, srcfile = NULL) :
21:14: unexpected symbol
20: options$out.height), if ("controls" %in% mov.opts)
21: "controls=\\"controls