Recherche avancée

Médias (91)

Autres articles (37)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (4638)

  • 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 change volume of an audio AVPacket

    28 mai 2023, par S B

    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 do I mix multiple audio tracks mit FFMPEG and adjust each volume ?

    4 avril 2022, par doppelzwei

    Let's say I have an input .mp4 file that contains 4 audio tracks.
How can I change their volumes independently and convert it to a new file that just contains all the 4 audio tracks mixed together and stored in the first audio track ? For example I want the first, second and third audio tracks from the input file to be double their original volume and the fourth to be half its original volume, all saved in the output files first audio track. How would that command look like ?