Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (55)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (6370)

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

  • 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