Recherche avancée

Médias (91)

Autres articles (81)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (11072)

  • How to use fig.show=animate in knitr without administrator privileges

    23 mai 2013, par Stéphane Laurent

    I 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 the animate 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 the ffmpeg.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
  • exec() with SuPHP and SafeMode Off (php.ini local) show wrong path and fail execution

    29 juillet 2013, par abkrim

    Try 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.

  • lavfi/overlay : show incoming frames on debug messages

    20 juin 2014, par Stefano Sabatini
    lavfi/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>

    • [DH] libavfilter/vf_overlay.c