Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (107)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (12256)

  • Evolution #4816 (Nouveau) : Déplacer la lib de menu déroulant dans le core

    8 juin 2021, par RastaPopoulos ♥

    Avec la refonte de l’interface, on a ajouté une lib de menu déroulant spécifiquement dans ce plugin. Mais en fait après coup on a aussi petit à petit amorcé un chantier de remplacement de jquery ui par des mini lib unitaires pour chaque besoin.

    Il faudrait avant la release déplacer cette lib dans le core, plutôt que juste dans SVP, afin que tous les autres plugins puissent aussi en profiter. (Et même le noyau hinhin : https://core.spip.net/issues/4766 )

  • Error in FFMPEG/LIBAV audio_decode example for aac decoding

    23 mai 2017, par Prashant Ravi

    I am trying to do aac decoding using the examples provided by FFMPEG/LIBAV. I modified the example as follows :-

    int main(int argc, char **argv)
    {
       .......
       /* find the MPEG audio decoder */
       codec = avcodec_find_decoder(AV_CODEC_ID_AAC);
       if (!codec) {
           fprintf(stderr, "codec not found\n");
           exit(1);
       }
       .......
       return 0;
    }

    I changed the decoder type to "AV_CODEC_ID_AAC" and recompiled the examples.

    Once I ran the example for decode audio with an example aac audio file but I am getting the following

    prashantravi@mini:/media/sf_Shared/libav/doc/examples$ ./decode_audio ../../../example.aac ../../../out.wav
    Error submitting the packet to the decoder
    err code :-1052488119

    I tried looking up the error code but it dosent match with any of the existing error codes at all.

  • react cant find ffmpegwasm

    18 septembre 2024, par Martin

    I am trying to create a working example for ffmpeg wasm with react js in my browser.

    


    I have been following this very simple example :
https://www.youtube.com/watch?v=-OTc0Ki7Sv0&ab_channel=Fireship

    


    installed ffmpeg locally inside my react repo node_modules as seen here :
enter image description here

    


    And followed to tutorial video to edit the App.jsx so it looks like this :

    


    import React, { useState, useEffect } from &#x27;react&#x27;;&#xA;import &#x27;./App.css&#x27;;&#xA;&#xA;import { createFFmpeg, fetchFile } from &#x27;@ffmpeg/ffmpeg&#x27;;&#xA;const ffmpeg = createFFmpeg({&#xA;  log: true,&#xA;});&#xA;function App() {&#xA;  &#xA;  const [ready, setReady] = useState(false);&#xA;&#xA;  const load = async () => {&#xA;      console.log(&#x27;load()&#x27;)&#xA;      await ffmpeg.load();&#xA;      setReady(true);&#xA;  }&#xA;&#xA;  useEffect(()=>{&#xA;    load();&#xA;  }, [])&#xA;&#xA;  return (&#xA;    <div classname="App">&#xA;      content&#xA;    </div>&#xA;  );&#xA;}&#xA;&#xA;export default App;&#xA;&#xA;

    &#xA;

    But this leads to error messages in my win10 command prompt terminal saying it cant find the ffmpeg files :

    &#xA;

    [16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.js)&#xA;[16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.wasm)&#xA;[16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.worker.js)&#xA;

    &#xA;

    I've even tried moving the ffmpeg files to my public folder and editing the code to find them like so :

    &#xA;

    const ffmpeg = createFFmpeg({&#xA;  log: true,&#xA;  corePath: &#x27;../public/@ffmpeg/core/dist/ffmpeg-core.js&#x27;,&#xA;});&#xA;

    &#xA;

    But the same error occured. Why doesn't my react App.jsx file correctly find the ffmpeg files in my node_modules folder ?

    &#xA;