Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11731)

  • 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 ?

  • How to save locally rtmp stream on react native ?

    22 mars 2021, par RanST

    I'm using React Native to display a live stream from RTMP server - and it works great using NodePlayerVideo component from react-native-nodemediaclient.

    &#xA;&#xA;

    However, I also need to save that same stream to a local file on the device. How can I do it ?

    &#xA;&#xA;

    My idea is to use react-native-ffmpeg but it doesn't work.

    &#xA;&#xA;

    What is the right ffmpeg command to use ? What is the recommended solution ?

    &#xA;