Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (36)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (5093)

  • Error : Error : Cannot find module '@ffmpeg.wasm/core-mt' Require stack :

    30 septembre 2023, par James

    I'm getting this error "Error : Error : Cannot find module '@ffmpeg.wasm/core-mt', When my code is deployed on Vercel (Node.js + TypeScript) Does I get confused because when I try to run the same code on my local machine it works fine

    


    But as I deploy it on Vercel it gives that error. Obviously, i do have "@ffmpeg.wasm/core-mt" installed as said in the package https://github.com/FFmpeg-wasm/FFmpeg.wasm#installation So how do I fix it ?

    


    I'm currently using it like this

    


    import { FFmpeg } from "@ffmpeg.wasm/main";

async function myFunction() {
    const ffmpeg = await FFmpeg.create({
        core: "@ffmpeg.wasm/core-mt",
        log: true,
    });
}


    


    However, in the docs, i see doing like this

    


      import { FFmpeg } from "@ffmpeg.wasm/main";
    
     const ffmpeg = await FFmpeg.create({
            core: "@ffmpeg.wasm/core-mt",
            log: true,
        });

    async function myFunction() {
        // use ffmpeg here
    }


    


    But then i start getting errors like "top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."

    


    I tried a couple of StackOverflow solutions but nothing works in my case. So what should I do ?

    


    tsconfig.json :

    


    {
    "compilerOptions": {
     "module": "CommonJS",
     "esModuleInterop": true,
      "allowSyntheticDefaultImports": true,
      "target": "es2017",
      "noImplicitAny": true,
      "moduleResolution": "node",
      "sourceMap": true,
      "outDir": "dist",
      "baseUrl": ".",
      "paths": {
        "*": ["node_modules/*", "src/types/*"]
      }
    },
    "include": ["./src/**/*", "src/firebase/serviceAccountKey.ts"]
  }


    


  • fftools/ffmpeg_demux : move InputStream.guess_layout_max to stack

    11 février 2023, par Anton Khirnov
    fftools/ffmpeg_demux : move InputStream.guess_layout_max to stack
    

    It is only needed while processing the stream in add_input_streams(), no
    reason to store it in the context.

    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_demux.c
  • lavfi/vf_stack_vaapi : factor out the common code for stack setting

    7 février 2023, par Haihao Xiang
    lavfi/vf_stack_vaapi : factor out the common code for stack setting
    

    The common code will be used in QSV based stack filters.

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavfilter/stack_internal.c
    • [DH] libavfilter/stack_internal.h
    • [DH] libavfilter/vf_stack_vaapi.c