Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (25)

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

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • 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

Sur d’autres sites (5886)

  • Merge commit ’2cd7c99498b1bcb450c328459cf85a686ce83456’

    29 septembre 2014, par Michael Niedermayer
    Merge commit ’2cd7c99498b1bcb450c328459cf85a686ce83456’
    

    * commit ’2cd7c99498b1bcb450c328459cf85a686ce83456’ :
    h264 : reset ret to avoid propagating minor failures

    See : 47048aa30b5c35fc8b030e819b9769b6bca03c08
    Merged-by : Michael Niedermayer <michaelni@gmx.at>

  • avformat with custom IO - threadsafe ?

    30 mars 2020, par Daniel

    Consider the following pseudo-code snippet :

    &#xA;&#xA;

    init {&#xA;  avdevice_register_all&#xA;  avformat_network_init&#xA;}&#xA;&#xA;thread {&#xA;  // open input&#xA;  av_find_input_format&#xA;  avformat_open_input&#xA;  avformat_find_stream_info&#xA;&#xA;  // open output&#xA;  avformat_alloc_output_context2&#xA;  avio_alloc_context(outputbuffer,size,1,extradata,0,&amp;staticWrite,0)&#xA;  avformat_new_stream&#xA;  avcodec_parameters_copy&#xA;  avformat_write_header&#xA;&#xA;  loop {&#xA;    av_read_frame&#xA;    av_write_frame&#xA;  }&#xA;}&#xA;&#xA;staticWrite {&#xA;  // here comes data&#xA;}&#xA;

    &#xA;&#xA;

    When I have only one thread everything works fully good.&#xA;However when there are more threads (2,3), there are unexpected crashes (mainly segfaults).

    &#xA;&#xA;

    Now my goal with this question is not finding my segfaults, but I want to get a confirmation that the above snippet is good in terms of multi-threaded avformat, or if not, what else do I need to be able to use avformat's functions from multiple threads ?

    &#xA;&#xA;

    ffmpeg was compiled with this config :

    &#xA;&#xA;

    configuration: --enable-cross-compile --cross-prefix=arm-linux-gnueabihf- --arch=armhf --target-os=linux --prefix=. --enable-mmal --enable-omx --enable-omx-rpi --enable-gpl --enable-nonfree --enable-pthreads --extra-ldflags=&#x27;-Llib -Wl,-rpath-link,lib&#x27; --extra-libs=-ldl --extra-cflags=-Iinclude&#xA;

    &#xA;

  • react electron importing 'execa' Error : Can't resolve 'child_process'

    8 décembre 2024, par Martin

    I have been dealing with this issue for a while, trying different stackoverflow solutions, AI advice, multiple re-writes, and I am still very puzzles by it.

    &#xA;

    I have a react electron app, which works fine, but if I try to import the 'execa' module :

    &#xA;

    import { execa } from &#x27;execa&#x27;;

    &#xA;

    I always get these error messages :

    &#xA;

    [0] Failed to compile.&#xA;[0] &#xA;[0] Module not found: Error: Can&#x27;t resolve &#x27;child_process&#x27; in &#x27;/home/martin/Documents/projects/electron-ghactions/node_modules/cross-spawn&#x27;&#xA;[0] ERROR in ./node_modules/cross-spawn/index.js 3:11-35&#xA;[0] Module not found: Error: Can&#x27;t resolve &#x27;child_process&#x27; in &#x27;/home/martin/Documents/projects/electron-ghactions/node_modules/cross-spawn&#x27;&#xA;[0] &#xA;[0] ERROR in ./node_modules/cross-spawn/lib/parse.js 3:13-28&#xA;[0] Module not found: Error: Can&#x27;t resolve &#x27;path&#x27; in &#x27;/home/martin/Documents/projects/electron-ghactions/node_modules/cross-spawn/lib&#x27;&#xA;[0] &#xA;[0] BREAKING CHANGE: webpack &lt; 5 used to include polyfills for node.js core modules by default.&#xA;[0] This is no longer the case. Verify if you need this module and configure a polyfill for it.&#xA;[0] &#xA;[0] If you want to include a polyfill, you need to:&#xA;[0]     - add a fallback &#x27;resolve.fallback: { "path": require.resolve("path-browserify") }&#x27;&#xA;[0]     - install &#x27;path-browserify&#x27;&#xA;[0] If you don&#x27;t want to include a polyfill, you can use an empty module like this:&#xA;[0]     resolve.fallback: { "path": false }&#xA;[0] &#xA;

    &#xA;

    It happens when I try to import execa at this line in my file 'FFmpeg.js' inside of this repo :&#xA;https://github.com/MartinBarker/electron-ghactions/blob/e76d643302cdc8601c11877eff8b43f2d5977c65/src/Ffmpeg.js#L3

    &#xA;

    The thing that confuses me, is that I have a separate repo doing a very similar thing, react and electron, which can import and use this line totally fine with no error :

    &#xA;

    const execa = window.require(&#x27;execa&#x27;);&#xA;

    &#xA;

    https://github.com/MartinBarker/RenderTune/blob/59450b3f8445731e419c99335e7ebf7dbca6cbdf/src/FFmpeg.js#L4C1-L4C39

    &#xA;

    I've tried taking all the dependency versions from the working repo package.json and moving them to my non working repo, but the error still persists. Is there a config setting inside my electron-ghactions repo package.json file causing this error ? How can I allow for the importing of execa inside my react component FFmpeg.js ?

    &#xA;