Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (34)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (6961)

  • Add support for building fuzzer tools for an individual demuxer

    10 octobre 2020, par Michael Niedermayer
    Add support for building fuzzer tools for an individual demuxer
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] Makefile
    • [DH] tools/Makefile
    • [DH] tools/target_dem_fuzzer.c
  • How to generate a GIF thumbnail from a video without saving individual frames to disk ?

    12 mars 2023, par Rabie Daddi

    I have a Node.js script that uses fluent-FFmpeg to generate a GIF thumbnail from a video for the first 4 seconds. Currently, the script saves individual frames as PNG images to disk, and then reads them back in to generate the GIF. However, this creates a lot of unnecessary I/O.

    &#xA;

    Is there a way to modify the script to generate the GIF directly from the video frames, without saving them to disk first ? Ideally, I would like to do this while still using FFmpeg for the processing.

    &#xA;

    Here's the current code for generating the frames and the GIF :

    &#xA;

    function generateFrames(videoUrl) {&#xA;  return new Promise((resolve, reject) => {&#xA;    ffmpeg(videoUrl)&#xA;      .setStartTime(0) // start at 0 seconds&#xA;      .setDuration(4) // cut 4 seconds&#xA;      .videoFilters(&#x27;scale=if(gte(iw\\,ih)\\,min(600\\,iw)\\,-2):if(lt(iw\\,ih)\\,min(600\\,ih)\\,-2)&#x27;)&#xA;      .fps(4)&#xA;      .output(&#x27;output/img%04d.png&#x27;) // output file pattern with %04d indicating a sequence number with four digits&#xA;      .on(&#x27;end&#x27;, () => {&#xA;        console.log(&#x27;GIF generated successfully!&#x27;);&#xA;        resolve()&#xA;      })&#xA;      .on(&#x27;error&#x27;, (err) => {&#xA;        console.log(&#x27;Error generating GIF: &#x27; &#x2B; err.message);&#xA;        reject()&#xA;      })&#xA;      .run();&#xA;  });&#xA;}&#xA;&#xA;function generateGif() {&#xA;  const inputPattern = &#x27;output/img%04d.png&#x27;;&#xA;  const outputFilename = &#x27;output/output2.gif&#x27;;&#xA;&#xA;  ffmpeg(inputPattern)&#xA;    .inputFPS(9)&#xA;    .output(outputFilename)&#xA;    .on(&#x27;error&#x27;, (err) => {&#xA;      console.log(&#x27;Error generating GIF: &#x27; &#x2B; err.message);&#xA;    })&#xA;    .run();&#xA;}&#xA;&#xA;&#xA;execute = async () => {&#xA;  await generateFrames(&#x27;video.mp4&#x27;)&#xA;  generateGif()&#xA;}&#xA;&#xA;execute()&#xA;

    &#xA;

    Any help or suggestions would be greatly appreciated. Thank you !

    &#xA;

  • Strange error [adding watermark to flv video with ffmpeg on linux centos 6]

    20 juillet 2012, par igor

    I have tried to do the job with following code :

    ffmpeg -i /home/igordr/video.flv -vf "movie=/home/igordr/wm.jpg [watermark]; [in][watermark] overlay=main_w/2-overlay_w/2:main_h/2-overlay_h/2 [out]" /home/igordr/outputvideo.flv

    Also tried :

    ffmpeg -i /home/igordr/video.flv -b:a 300k -ar 22050 -t 10 -f flv -s 352x288 -vf "movie = /home/igordr/wm.png [watermark]; [in][watermark] overlay =0:0 [out]" /home/igordr/out.flv

    I get errors :

    Unrecognized option &#39;vf&#39;

    Unrecognized option &#39;b:a&#39;

    Also, I am interested, how I can add just one big image, before video starts, without watermark, and does it possible ?

    How can i check ffmpeg version, and install new one if it's old ?