Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (55)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9835)

  • Error : bad memory at /opt/render/project/src/node_modules/@ffmpeg.wasm/core-mt/dist/core.js:15:1

    1er octobre 2023, par James

    While deploying nodejs app on render.com i get this error Error : bad memory at /opt/render/project/src/node_modules/@ffmpeg.wasm/core-mt/dist/core.js:15:1.

    


    how to avoid this error i am using ffmpeg for merging audio with video.

    


    full error

    


     /opt/render/project/src/node_modules/@ffmpeg.wasm/core-mt/dist/core.js:15&#xA;Oct 1 04:53:37 PM  Error("bad memory");var Aa=z.buffer;e.HEAP8=A=new Int8Array(Aa);e.HEAP16=C=new Int16Array(Aa);e.HEAP32=E=new Int32Array(Aa);e.HEAPU8=B=new Uint8Array(Aa);e.HEAPU16=wa=new Uint16Array(Aa);e.HEAPU32=F=new Uint32Array(Aa);e.HEAPF32=xa=new Float32Array(Aa);e.HEAPF64=ya=new Float64Array(Aa);za=z.buffer.byteLength;var H,Ba=[],Ca=[],Da=[],Ea=[],Fa=[],Ga=!1,Ha=0;function Ia(){return noExitRuntime||0opt/render/project/src/node_modules/@ffmpeg.wasm/core-mt/dist/core.js:15:1&#xA;Oct 1 04:53:37 PM      at Function.<anonymous> (/opt/render/project/src/node_modules/@ffmpeg.wasm/main/dist/index.js:165:64)&#xA;Oct 1 04:53:37 PM      at Generator.next (<anonymous>)&#xA;Oct 1 04:53:37 PM      at fulfilled (/opt/render/project/src/node_modules/@ffmpeg.wasm/main/dist/index.js:28:22)&#xA;</anonymous></anonymous>

    &#xA;

    my code

    &#xA;

    import express from "express";&#xA;const router = express.Router();&#xA;import { readFile, writeFile } from "fs/promises";&#xA;import { FFmpeg } from "@ffmpeg.wasm/main";&#xA;import path from "path";&#xA;&#xA;const currentDirectory = process.cwd();&#xA;&#xA;const inputFilePath = path.join(currentDirectory, "video3.mp4");&#xA;const inputFilePath1 = path.join(currentDirectory, "wolf-howl-6310.mp3");&#xA;const outputFilePath = path.join(currentDirectory, "video3-2.mp4");&#xA;&#xA;const ffmpeg = await FFmpeg.create({ core: "@ffmpeg.wasm/core-mt", log: true });&#xA;&#xA;try {&#xA;  ffmpeg.fs.writeFile("/video3.mp4", await readFile(inputFilePath));&#xA;  ffmpeg.fs.writeFile("/wolf-howl-6310.mp3", await readFile(inputFilePath1));&#xA;  console.log(ffmpeg.version);&#xA;  await ffmpeg.run(&#xA;    "-i",&#xA;    "/wolf-howl-6310.mp3",&#xA;    "-i",&#xA;    "/video3.mp4",&#xA;    "-c",&#xA;    "copy",&#xA;    "-map",&#xA;    "0:a:0",&#xA;    "-map",&#xA;    "1:v:0",&#xA;    "/video3-2.mp4"&#xA;  );&#xA;  await writeFile(outputFilePath, ffmpeg.fs.readFile("/video3-2.mp4"));&#xA;  console.log("Conversion successful!");&#xA;} catch (error) {&#xA;  console.error("Error:", error);&#xA;}&#xA;&#xA;router.post("/", (req, res) => {});&#xA;export { router as Merge };&#xA;

    &#xA;

  • FFMPEG command is not Working when set project's target SDK version 29(Android Q issue)

    1er juin 2020, par SAVALIYA REENA

    I am using the FFMPEG library to get a watermark stamp on video. It is working like charm in all versions when my project's target SDK version is 28 but when i set target sdk version 29, It gives me below exception.

    &#xA;&#xA;

    E/FFmpeg : Exception while trying to run : [Ljava.lang.java.io.IOException : Cannot "/data/user/0/com.videowatermark.addtextandtimestampongalleryvideos/files/ffmpeg" : error=13, Permission denied

    &#xA;&#xA;

    Caused by : java.io.IOException : error=13, Permission denied at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.(UNIXProcess.java:133) at java.lang.ProcessImpl.start(ProcessImpl.java:141) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) at java.lang.Runtime.exec(Runtime.java:698) at java.lang.Runtime.exec(Runtime.java:563) at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10) at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38) at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10) at android.os.AsyncTask$3.call(AsyncTask.java:378) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919)

    &#xA;&#xA;

    //show this error

    &#xA;

  • How to merge two videos using ffmpeg.so file in android project [on hold]

    26 septembre 2016, par Shahzeb

    I have created an android app in android studio.

    This app selects a video file from gallery.

    Now, I want to merge two videos, that the user selects from gallery, into one video and use it in my app.

    Should I use ffmpeg.so lib, if so how can I use that ? I am open to any other suggestions.