
Recherche avancée
Autres articles (61)
-
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" (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (7727)
-
lavfi/overlay : show incoming frames on debug messages
20 juin 2014, par Stefano Sabatinilavfi/overlay : show incoming frames on debug messages
This is especially useful to debug queue overflow issues.
Ideally we should be able to set the debug message at the
dualinput/framesync level, but they do not have the information related
to the filter context and the inlink, so cannot access much useful
information.Signed-off-by : Stefano Sabatini <stefasab@gmail.com>
-
exec() with SuPHP and SafeMode Off (php.ini local) show wrong path and fail execution
29 juillet 2013, par abkrimTry this
<?php
if (exec('/usr/bin/ffmpeg -i 47.mp4 -acodec aac -ab 128kb -vcodec mpeg4 -b 1220kb -mbd 1 -s 320x180 final_video.mov"'))
{ echo "Success"; }
else { echo "No good"; }
?>But on shell see—>
sh: /usr/local/php/bin/ffmpeg: No such file or directory
Server it's Apache+SuPHP with a local php.ini file for disable SafeMode
I don't understand why show sh : /usr/local/php/bin/ffmpeg : No such file or directory instead real path put on php script.
-
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