Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (83)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7663)

  • x86inc : Improve SAVE/LOAD_MM_PERMUTATION macros

    22 avril 2018, par Henrik Gramner
    x86inc : Improve SAVE/LOAD_MM_PERMUTATION macros
    

    Use register numbers instead of copying the full register names. This makes it
    possible to change register widths in the middle of a function and keep the
    mmreg permutations intact which can be useful for code that only needs larger
    vectors for parts of the function in combination with macros etc.

    Also change the LOAD_MM_PERMUTATION macro to use the same default name as the
    SAVE macro. This simplifies swapping from ymm to xmm registers or vice versa :

    SAVE_MM_PERMUTATION
    INIT_XMM <cpuflags>
    LOAD_MM_PERMUTATION

    • [DH] common/x86/x86inc.asm
  • avcodec/mqc : Hardcode tables to save space

    7 mai 2021, par Andreas Rheinhardt
    avcodec/mqc : Hardcode tables to save space
    

    mqc currently initializes three arrays at runtime ; each of them
    has 2 * 47 elements, one is uint16_t, two are uint8_t, so that their
    combined size is 8 * 47. The source data for these initializations
    is contained in an array of 47 elements of size six. Said array is
    only used in order to initialize the other arrays, so the savings
    are just 2 * 47B. Yet this is dwarfed by the size of the code for
    performing the initializations : It is 109B (GCC 10.2, x64, -O3 albeit
    in an av_cold function) ; this does not even include the size of the
    code in the callers. So just hardcode these tables.

    This also fixes a data race, because the encoder always initialized
    these tables during init, although they might already be used at the
    same time by already running encoder/decoder instances.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/j2kenc.c
    • [DH] libavcodec/jpeg2000dec.c
    • [DH] libavcodec/mqc.c
    • [DH] libavcodec/mqc.h
  • video to audio file convert & save through FFMPEG in node js

    17 juin 2015, par Nourin Hamid

    I am working on an FFMPEG on node js. I’d like to retrieve the audio track from a video file using node js. I would also like to save such file but I can’t figure out how.

    I though this line of code would help me :

    ffmpeg('/path/to/file.avi').noVideo();

    I have got this in npm package. I don’t quite understand how to work with this and how to actually save the audio file.

    Some other line of code that come in play :

    try {
       var process = new ffmpeg('/path/to/your_movie.avi');
       process.then(function (video) {
           // Callback mode
           video.fnExtractSoundToMP3('/path/to/your_audio_file.mp3', function (error, file) {
               if (!error)
                   console.log('Audio file: ' + file);
           });
       }, function (err) {
           console.log('Error: ' + err);
       });
    } catch (e) {
       console.log(e.code);
       console.log(e.msg);
    }

    My question is :

    How do I retrieve the audio from a FFMPEG video ? How do I save it ?