Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (95)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (9518)

  • lavf/http.c : Free allocated client URLContext in case of error.

    12 janvier 2018, par Stephan Holljes
    lavf/http.c : Free allocated client URLContext in case of error.
    

    Signed-off-by : Stephan Holljes <klaxa1337@googlemail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/http.c
  • How to save audio chunks from client to ffmpeg readable file ?

    22 septembre 2023, par LuckOverflow

    I am live recording audio data from a TS React front-end and need to send it to the server, where it can be saved to a file so that ffmpeg can mix it. The front-end saves the mic data to a blob with type "mimeType : "audio/webm ; codecs=opus" when printed in the browser terminal. I send the exact object that I printed to the server, where logging it indicates it is a, or was passed as a, "Buffer" object.

    &#xA;

    I have tried saving that Buffer as a webm file, but when I pass that file as an input to ffmpeg ffprobe, I get the error "Format matroska,webm detected only with a low score of 1..." and "EBML header parsing failed.." "Invalid data found when processing input." I have tried several other formats to no success.

    &#xA;

    I need a way to transform this Buffer object to an audio file that can be mixed by ffmpeg. When I am finished, I also need to be able to do the reverse operation to send it in the same format to another client for playback, which is currently working.

    &#xA;

    Code that records and sends the audio (TS React) :

    &#xA;

    React Record

    &#xA;

    const startRecording = async function () {&#xA;    inputStream = await navigator.mediaDevices.getUserMedia({ audio: true });&#xA;   &#xA;    mediaRecorder.current = new MediaRecorder(inputStream, { mimeType: "audio/webm; codecs=opus" });&#xA;&#xA;    mediaRecorder.current.ondataavailable = e => {&#xA;      console.log(e.data)&#xA;      if (e.data.size > 0) {&#xA;        socket.emit("recording", e.data);&#xA;        console.log("Audio data recorded. Transmitting to server via socketio...");&#xA;      }&#xA;    };&#xA;&#xA;    mediaRecorder.current.start(1000);&#xA;  };&#xA;&#xA;

    &#xA;

    Code that receives and tries to save the Buffer to a file (JS Node.js) :

    &#xA;

    Server Receive

    &#xA;

    socket.on("recording", (chunk) => {&#xA;    console_log("Audio chunk recieved. Transmitting to frontend...");&#xA;    socket.broadcast.emit(&#x27;listening&#x27;, chunk);&#xA;&#xA;    fs.writeFileSync(&#x27;out.webm&#x27;, chunk.toString());&#xA;    if (counter > 3) {&#xA;      console.log("Trying ffmpeg...");&#xA;&#xA;      ffmpegInstance&#xA;        .input(&#x27;out.webm&#x27;)&#xA;        .complexFilter([&#xA;          {&#xA;            filter: &#x27;amix&#x27;&#xA;          }])&#xA;        .save(&#x27;./Music/FFMPEGSTREAM.mp3&#x27;);&#xA;    }&#xA;&#xA;    counter&#x2B;&#x2B;;&#xA;  });&#xA;

    &#xA;

    fluent-ffmpeg interface package is includued in the server code, but I have been using ffmpeg in the terminal (Pop OS) to debug. The goal is to save the file to a ram disk and use fluent ffmpeg to mix before sending to a different client for playback. Currently I am just trying to save it to disk and get ffmpeg command line to work on it.

    &#xA;

    Update :&#xA;Problem was that the chunk I was analyzing didn't have the header info. MediaRecorder encodes, then slices it up, not slices it up into your specified time slot and encodes. I have not found a good solution to this. Saving the file, without toString I believe, results in a playable webm when the header is properly included.

    &#xA;

  • diracdec : fix full range videos

    22 janvier 2016, par Rostislav Pehlivanov
    diracdec : fix full range videos
    

    Full range video had been broken by the introduction of the < 2U check
    at the following line. The bitstream format kind of implies that the full
    and limited ranges use different pix_fmts but that’s incorrect since we
    have the avctx->color_range flag. So adjust the pixel range index to
    be mapped to the same pix_fmts as limited range index.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/dirac.c