Recherche avancée

Médias (91)

Autres articles (37)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (2410)

  • Running FFMPEG in electron using react, either doesn't load without any error or throws an SharedArrayBuffer is not defined when run after building

    23 mars 2024, par Satnam Sandhu

    I am trying to build a web based media conversion tool to be able to ship with electron.

    


      const ffmpegInit = async () => {
    try {
      const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.6/dist/esm";
      const ffmpeg = ffmpegRef.current;
      ffmpeg.on("log", ({ message }) => {
        console.log(message);
      });
      // toBlobURL is used to bypass CORS issue, urls with the same
      // domain can be used directly.
      await ffmpeg.load({
        coreURL: await toBlobURL(
          `${baseURL}/ffmpeg-core.js`,
          "text/javascript",
        ),
        wasmURL: await toBlobURL(
          `${baseURL}/ffmpeg-core.wasm`,
          "application/wasm",
        ),
        workerURL: await toBlobURL(
          `${baseURL}/ffmpeg-core.worker.js`,
          "text/javascript",
        ),
      });
      setLoaded(true);
    } catch (err) {
      console.log("------->>>", err);
    }
  };

  useEffect(() => {
    ffmpegInit();
  }, [ffmpegRef]);



    


    This piece of code is directly taken from FFMpeg's usage guide

    


    On viewing the network's tab of my electron's dev tool, I see a 11.4 MB file being downloaded with resource size of around 32 MB. Which seems fair.

    


    But the code never moves ahead of the await ffmpeg.load() call without throwing any error.

    


    I then proceeded to build the react app using vite and then only I could see the app throw an error :

    


    


    ReferenceError : SharedArrayBuffer is not defined

    


    


    After digging through some GitHub issues on the same I found out that SharedArrayBuffer has something to do with cross-origin-isolation for security reasons so I updated my vite.config.ts file to the following :

    


    import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import crossOriginIsolation from "vite-plugin-cross-origin-isolation";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react(), crossOriginIsolation()],
  optimizeDeps: {
    exclude: ["@ffmpeg/ffmpeg", "@ffmpeg/util"],
  },
  server: {
    headers: {
      "Cross-Origin-Opener-Policy": "same-origin",
      "Cross-Origin-Embedder-Policy": "require-corp",
    },
  },
});



    


    as u can see I also added vite-plugin-cross-origin-isolation but still ffmpeg refuses to work.

    


    I saw this tutorial in YouTube and he made it work with ease, even after following the same steps I am unable to get it to working.

    


    Thanks in advance !!!

    


  • Senior Software Engineer to join Piwik Product Engineering team

    10 janvier 2015, par Matthieu Aubry — Jobs

    At Piwik and Piwik PRO we develop the leading open source web analytics platform, used by more than one million websites worldwide. Our vision is to help the world liberate their analytics data by building the best open alternative to Google Analytics.

    The Piwik platform collects, stores and processes a lot of information : hundreds of millions of data points each month. We create intuitive, simple and beautiful reports that delight our users.

    Are you seeking a new challenge ? We are currently looking for a full time Software Developer to join our small and dedicated Product Engineering team.

    At Piwik PRO we practise agile methodology, test driven development and fast release cycles. The main technologies we work with are PHP5, JavaScript (AngularJS, jQuery) and MySQL and our tools include PhpStorm, Github, Travis CI and Slack.

    As a Software Developer for Piwik PRO, you will be writing open source code that will directly benefit 250,000+ Piwik users in 200+ countries and 50 languages.

    Key Responsibilities

    • Writing server-side code (PHP 5) and front-end code (JavaScript).
    • Creating robust high-volume production applications and developing prototypes quickly.
    • Tackling new problems as we continue to push technology forward.
    • Assisting other developers by writing peer code reviews.
    • Improving and updating our platform developer guides.
    • Lead by example, able to self manage and use initiative to get things done.

    Minimum qualifications

    • Experience in product development, security, the open source philosophy and usable interface design.
    • Understanding of, and practical experience with PHP5 and JavaScript application development.
    • 3+ years experience building successful production software systems.
    • Solid knowledge of testing principles and OOP.
    • Strong analytical and coding skills.
    • Strong written communication.

    Location

    • Offices based in Wellington, New Zealand or Wrocław, Poland.
    • However remote work is also possible.

    Apply online

    To apply for this position, please Apply online here. We look forward to receiving your applications !

  • Senior Software Engineer to join Piwik Product Engineering team

    10 janvier 2015, par Matthieu Aubry — Jobs

    At Piwik and Piwik PRO we develop the leading open source web analytics platform, used by more than one million websites worldwide. Our vision is to help the world liberate their analytics data by building the best open alternative to Google Analytics.

    The Piwik platform collects, stores and processes a lot of information : hundreds of millions of data points each month. We create intuitive, simple and beautiful reports that delight our users.

    Are you seeking a new challenge ? We are currently looking for a full time Software Developer to join our small and dedicated Product Engineering team.

    At Piwik PRO we practise agile methodology, test driven development and fast release cycles. The main technologies we work with are PHP5, JavaScript (AngularJS, jQuery) and MySQL and our tools include PhpStorm, Github, Travis CI and Slack.

    As a Software Developer for Piwik PRO, you will be writing open source code that will directly benefit 250,000+ Piwik users in 200+ countries and 50 languages.

    Key Responsibilities

    • Writing server-side code (PHP 5) and front-end code (JavaScript).
    • Creating robust high-volume production applications and developing prototypes quickly.
    • Tackling new problems as we continue to push technology forward.
    • Assisting other developers by writing peer code reviews.
    • Improving and updating our platform developer guides.
    • Lead by example, able to self manage and use initiative to get things done.

    Minimum qualifications

    • Experience in product development, security, the open source philosophy and usable interface design.
    • Understanding of, and practical experience with PHP5 and JavaScript application development.
    • 3+ years experience building successful production software systems.
    • Solid knowledge of testing principles and OOP.
    • Strong analytical and coding skills.
    • Strong written communication.

    Location

    • Offices based in Wellington, New Zealand or Wrocław, Poland.
    • However remote work is also possible.

    Apply online

    To apply for this position, please Apply online here. We look forward to receiving your applications !