Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (96)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (9616)

  • Generated docs for V2.97a.20111030

    31 octobre 2011, par Scott Schiller

    m doc/generated/demo/360-player/script/360player.html m doc/generated/demo/play-mp3-links/script/inlineplayer.html m doc/generated/script/soundmanager2.html m doc/generated/src/SoundManager2.html m doc/generated/src/SoundManager2_AS3.html Generated docs for (...)

  • How to increase de volume of an interval of an mp3 file with ffmpeg ?

    30 avril 2017, par user2128078

    I’d like to increase de volume of an interval of and mp3 file, i.e. from 20s to 30s increase in 15%. I’m using ffmpeg.

    Thank you so much for your help !

    Regards,

    Raul.

  • How to read realtime microphone audio volume in python and ffmpeg or similar

    20 octobre 2016, par Ryan Martin

    I’m trying to read, in near-realtime, the volume coming from the audio of a USB microphone in Python.

    I have the pieces, but can’t figure out how to put it together.

    If I already have a .wav file, I can pretty simply read it using wavefile :

    from wavefile import WaveReader

    with WaveReader("/Users/rmartin/audio.wav") as r:
       for data in r.read_iter(size=512):
           left_channel = data[0]
           volume = np.linalg.norm(left_channel)
           print volume

    This works great, but I want to process the audio from the microphone in real-time, not from a file.

    So my thought was to use something like ffmpeg to PIPE the real-time output into WaveReader, but my Byte knowledge is somewhat lacking.

    import subprocess
    import numpy as np

    command = ["/usr/local/bin/ffmpeg",
               '-f', 'avfoundation',
               '-i', ':2',
               '-t', '5',
               '-ar', '11025',
               '-ac', '1',
               '-acodec','aac', '-']

    pipe = subprocess.Popen(command, stdout=subprocess.PIPE, bufsize=10**8)
    stdout_data = pipe.stdout.read()
    audio_array = np.fromstring(stdout_data, dtype="int16")

    print audio_array

    That looks pretty, but it doesn’t do much. It fails with a [NULL @ 0x7ff640016600] Unable to find a suitable output format for ’pipe :’ error.

    I assume this is a fairly simple thing to do given that I only need to check the audio for volume levels.

    Anyone know how to accomplish this simply ? FFMPEG isn’t a requirement, but it does need to work on OSX & Linux.