Recherche avancée

Médias (91)

Autres articles (66)

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

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (8014)

  • How to change volume of an audio AVPacket

    4 janvier 2013, par Saptarshi Biswas

    I have a desktop Qt-based application that fetches a sound stream from the network and plays it using QAudioOutput. I want to provide a volume control to the user so that he can reduce the volume. My code looks like this :

    float volume_control = get_user_pref(); // user provided volume level {0.0,1.0}

    for (;;) {
       AVPacket *retrieved_pkt = get_decoded_packet_stream();  // from network stream

       AVPacket *work_pkt
          = change_volume(retrieved_pkt, volume_control); // this is what I need

       // remaining code to play the work_pkt ...
    }

    How do I implement change_volume() or is there any off the shelf function that I can use ?

    Edit : Adding codec-related info as requested in the comments

    QAudioFormat format;
    format.setFrequency(44100);
    format.setChannels(2);
    format.setSampleSize(16);
    format.setCodec("audio/pcm");
    format.setByteOrder(QAudioFormat::LittleEndian);
    format.setSampleType(QAudioFormat::SignedInt);
  • How to lower the volume in a specific time interval with ffmpeg.exe [on hold]

    1er décembre 2013, par user1604523

    I am trying to lower the volume in a specific time interval with ffmpeg.exe . Let's say I have a 5 minutes long video and I want to lower the volume between 00:01:30 and 00:02:00. I read that we can use different parameters at the same time but I couldn't figure it out.

    Any help would be greatly appreciated.

  • Audio volume at Ffmpeg concatenate multiple audio with video

    26 juin 2020, par Adi

    I use the bellow command to concatenate one video file with 3 audio files at specific positions.

    


    All three audio files have the same volume but in the resulting file volume is increasing from start to end. How can I fix this ?

    


    ffmpeg
-i video.mp4
-i a1.m4a
-i a2.m4a
-i a3.m4a
-y -filter_complex
[1:a]adelay=500|500,volume=1[a1];
[2:a]adelay=3500|3500,volume=1[a2];
[3:a]adelay=6500|6500,volume=1[a3];
[a1][a2][a3]amix=inputs=3 -t 9 out.mp4