Recherche avancée

Médias (0)

Mot : - Tags -/logo

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

Autres articles (60)

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

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

Sur d’autres sites (11385)

  • MAINTAINERS : add address to contact "AvxSynth Team"

    3 juillet 2013, par Michael Niedermayer
    MAINTAINERS : add address to contact "AvxSynth Team"
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] MAINTAINERS
  • FFmpeg error with ffmpeg.FS("readfile", "output.mp4"). trying to get ffmpeg to work in the react app

    21 juin 2024, par Paul Tham
     const stackVideos = useCallback(&#xA;    async (video1) => {&#xA;      try {&#xA;        console.log("Fetching video2 from storage...");&#xA;        const video2Ref = ref(storage, "video2.mp4");&#xA;        const video2Url = await getDownloadURL(video2Ref);&#xA;        const video2Blob = await (await fetch(video2Url)).blob();&#xA;&#xA;        console.log("Writing video1 to FFmpeg FS...");&#xA;        await ffmpeg.FS("writeFile", "video1.mp4", await fetchFile(video1));&#xA;&#xA;        console.log("Writing video2 to FFmpeg FS...");&#xA;        await ffmpeg.FS("writeFile", "video2.mp4", await fetchFile(video2Blob));&#xA;&#xA;        console.log("Files in FFmpeg FS after write:");&#xA;        const files = await ffmpeg.FS("readdir", "/");&#xA;        console.log(files);&#xA;&#xA;        const { start, end } = inputs[0];&#xA;        const startSeconds = new Date(`1970-01-01T${start}Z`).getTime() / 1000;&#xA;        const endSeconds = new Date(`1970-01-01T${end}Z`).getTime() / 1000;&#xA;        const duration = endSeconds - startSeconds;&#xA;&#xA;        console.log("Running FFmpeg command...");&#xA;        await ffmpeg.run(&#xA;          "-i",&#xA;          "video1.mp4",&#xA;          "-ss",&#xA;          startSeconds.toString(),&#xA;          "-t",&#xA;          duration.toString(),&#xA;          "-i",&#xA;          "video2.mp4",&#xA;          "-filter_complex",&#xA;          "[0:v]scale=1080:-1[v1];[1:v]scale=-1:1920/2[v2scaled];[v2scaled]crop=1080:1920/2[v2cropped];[v1][v2cropped]vstack=inputs=2,scale=1080:1920[vid]",&#xA;          "-map",&#xA;          "[vid]",&#xA;          "-map",&#xA;          "0:a",&#xA;          "-c:v",&#xA;          "libx264",&#xA;          "-crf",&#xA;          "23",&#xA;          "-preset",&#xA;          "veryfast",&#xA;          "-shortest",&#xA;          "output1.mp4"&#xA;        );&#xA;&#xA;        console.log("Files in FFmpeg FS after run:");&#xA;        const filesAfterRun = await ffmpeg.FS("readdir", "/");&#xA;        console.log(filesAfterRun);&#xA;&#xA;        console.log("Reading output1.mp4 from FFmpeg FS...");&#xA;        const data = await ffmpeg.FS("readfile", "output1.mp4");&#xA;        console.log("after the FS readfile");&#xA;        const url = URL.createObjectURL(&#xA;          new Blob([data.buffer], { type: "video/mp4" })&#xA;        );&#xA;        setStackedVideo(url);&#xA;        setOutputFileReady(true); // Mark output file as ready&#xA;      } catch (err) {&#xA;        console.error("FFmpeg error output:", err);&#xA;        setError(`FFmpeg run error: ${err.message}`);&#xA;        setIsProcessing(false);&#xA;      }&#xA;    },&#xA;    [inputs]&#xA;  );&#xA;

    &#xA;

    My error seems to be stemming from this line :

    &#xA;

     const data = await ffmpeg.FS("readfile", "output1.mp4");&#xA;

    &#xA;

    Seeing the ffmpeg.wasm documentation i thought the functions for some of the functions had changed, but when I changed it, it seemed like they did not recognise the new functions. Sometimes this will also give me some other errors like worker.js which I dont understand enough to debug this myself.

    &#xA;

    words word words words words words word words words wordswords word words words wordswords word words words wordswords word words words wordswords word words words wordswords word words words words

    &#xA;

  • cmdutils : include config.h, fix "is not defined" warning due to CONFIG_OPENCL

    7 mai 2014, par Michael Niedermayer
    cmdutils : include config.h, fix "is not defined" warning due to CONFIG_OPENCL
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] cmdutils.h