Recherche avancée

Médias (91)

Autres articles (62)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (7674)

  • Revision 26cec5c13f : Basic encryption feature for libvpx. New decoder control paramter VP8_SET_DECRY

    16 mars 2013, par Dmitry Kovalev

    Changed Paths : Modify /configure Modify /test/decode_test_driver.cc Modify /test/decode_test_driver.h Modify /test/encode_test_driver.cc Modify /test/test.mk Modify /test/vp8_boolcoder_test.cc Add /test/vp8_decrypt_test.cc Modify /vp8/decoder/dboolhuff.c (...)

  • Ffmpeg merge videos from images with videos and audio cut

    30 mars 2021, par Trofin

    got a question about fluent ffmpeg, i'm quite new to it so need some help.

    


    I'm trying to get images and videos from S3 so i can make a full video from them.
So i'm making videos with .loop with certain video length from images.
Then i'm adding a normal video with it's audio.
Then i'm cutting audio length so the audio that was added will play only on the videos made from images.
When the video which was merged with the videos from images will come to play it will have his own audio.
The thing is that if i merge all videos i get this error :
An error occurred while merging video files: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 7 on filter Parsed_concat_0.

    


    So i need to add an audio to the video which was not made from images so that the stream could work. How can i avoid this and let that video have it's own audio ? what inputOptions should i add ? Also when i cut the audio it has a delay, what audioFilters can i add ?

    


    ``

    


      const videosFromImages = [];&#xA;  VIDEO_CONFIG.fragments.forEach((fragment) => {&#xA;    videosFromImages.push(function (callback) {&#xA;      let ffmpegInstance = ffmpeg(&#xA;        `./images/images-with-same-size/${fragment.filename}`&#xA;      );&#xA;&#xA;      if (fragment.duration &amp;&amp; fragment.type === "image") {&#xA;        ffmpegInstance.loop(fragment?.duration);&#xA;      }&#xA;&#xA;      if (fragment.type === "image") {&#xA;        ffmpegInstance&#xA;          .addInput("./audio/audio.mp3")&#xA;          .inputOptions(&#xA;            "-ss",&#xA;            time,&#xA;            "-to",&#xA;            time &#x2B; fragment.duration,&#xA;            "-async",&#xA;            "1"&#xA;          );&#xA;&#xA;        time = time &#x2B; fragment.duration;&#xA;        console.log("time:", time);&#xA;      }&#xA;&#xA;      ffmpegInstance&#xA;        .videoCodec("libx264") // Codec from api&#xA;        .videoBitrate("12000k") // Video Quality&#xA;        .videoFilters([&#xA;          {&#xA;            filter: "fade",&#xA;            options: "in:0:15",&#xA;          },&#xA;        ]) // Transitions&#xA;        .on("error", function (err) {&#xA;          console.error("An error occurred: " &#x2B; err.message);&#xA;        })&#xA;        .on("end", function () {&#xA;          res.write(`<p>Processing finished for ${fragment.filename}</p>`);&#xA;          fragment.filePath = `./output/project-${VIDEO_CONFIG.projectId}/videos/video-${fragment.filename}.avi`;&#xA;&#xA;          callback(null, fragment);&#xA;        })&#xA;        .save(&#xA;          `./output/project-${VIDEO_CONFIG.projectId}/videos/video-${fragment.filename}.avi`&#xA;        );&#xA;    });&#xA;  });&#xA;&#xA;  async.series(videosFromImages, function (err, videosFromImages) {&#xA;    // result now equals &#x27;done&#x27;&#xA;    async.waterfall(&#xA;      [&#xA;        (done) => {&#xA;          console.log("VIDEO_CONFIG", VIDEO_CONFIG.fragments);&#xA;&#xA;          VIDEO_CONFIG.fragments&#xA;            .reduce((prev, curr) => prev.input(curr.filePath), ffmpeg())&#xA;            .outputFPS(60)&#xA;            .on("error", (err) => {&#xA;              res.end();&#xA;              console.log(&#xA;                `An error occurred while merging video files: ${err.message}`&#xA;              );&#xA;            })&#xA;            .on("end", () => {&#xA;              res.write("FINAL VIDEO END");&#xA;              res.end();&#xA;              console.log("end:");&#xA;            })&#xA;            .mergeToFile(&#xA;              `./output/project-${VIDEO_CONFIG.projectId}/final-video-${VIDEO_CONFIG.projectId}.mp4`&#xA;            );&#xA;          done(null);&#xA;        },&#xA;      ],&#xA;      (err) => {&#xA;        if (err) {&#xA;          console.log("err:", err);&#xA;        }&#xA;      }&#xA;    );&#xA;  });&#xA;&#xA;  res.write("<p>Processing</p>");&#xA;} catch (error) {&#xA;  console.error("error:", error);&#xA;}&#xA;

    &#xA;

    ``

    &#xA;

  • doc/faq : use texi's @tie instead of 0xA0 for non-breaking space

    7 janvier 2024, par Marth64
    doc/faq : use texi's @tie instead of 0xA0 for non-breaking space
    

    Signed-off-by : Marth64 <marth64@proxyid.net>

    • [DH] doc/faq.texi