Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (57)

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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • 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

Sur d’autres sites (8779)

  • doc : Add section about AviSynth support

    14 janvier 2014, par Stephen Hutchinson
    doc : Add section about AviSynth support
    

    Signed-off-by : Diego Biurrun <diego@biurrun.de>

    • [DBH] doc/general.texi
  • doc : add a section about building with libmfx

    10 juillet 2015, par Anton Khirnov
    doc : add a section about building with libmfx
    
    • [DBH] doc/general.texi
  • 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;