Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (65)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

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

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