Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (40)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le 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 (6540)

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

    29 juillet 2013, par abkrim

    Try this

    &lt;?php
        if (exec(&#39;/usr/bin/ffmpeg -i 47.mp4 -acodec aac -ab 128kb -vcodec mpeg4 -b 1220kb -mbd 1 -s 320x180 final_video.mov"&#39;))
            { 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 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(&#39;U:/ProgramFiles/ImageMagick-6.8.5-5/ffmpeg.exe&#39;))
    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=&#39;animate&#39;}
    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 &lt;- function (x, options)
    {
       ........
       ffmpeg.cmd = paste("-y", "-r", 1/options$interval,
           "-i", fig.fname, mov.fname)
       ffmpeg.cmd &lt;-  paste(&#39;"U:/ProgramFiles/ImageMagick-6.8.5-5/ffmpeg"&#39;, 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