Recherche avancée

Médias (91)

Autres articles (48)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les 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 (...)

Sur d’autres sites (5923)

  • avcodec/exr : use the correct step value for plane pointers

    5 mars, par James Almer
    avcodec/exr : use the correct step value for plane pointers
    

    Fixes a regression since 0e917389fe73c932049635d947bba076f1709589.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/exr.c
    • [DH] tests/ref/fate/exr-rgb-tile-half-piz-dw-large
    • [DH] tests/ref/fate/exr-rgb-tile-half-zip
  • 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;

  • 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