Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (25)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

Sur d’autres sites (3993)

  • Revision bae652245d : Store block-wise statistics obtained in the first pass Change-Id : I9956db2ba2f7

    25 juillet 2014, par Pengchong Jin

    Changed Paths :
     Modify /vp9/encoder/vp9_firstpass.c


     Modify /vp9/encoder/vp9_firstpass.h



    Store block-wise statistics obtained in the first pass

    Change-Id : I9956db2ba2f7d28f484daaf5022d8d1ef5db473c

  • Revision 7385 : Eviter des soucis avec la date de naissance à nouveau et mettre le pass en ...

    1er février 2013, par kent1 — Log

    Eviter des soucis avec la date de naissance à nouveau et mettre le pass en sha256

  • How to return ffmepg processed output file and pass it to another function ? using python

    5 septembre 2018, par Ali Khan AK

    I want to convert video to audio using ffmpeg and I also want to return that audio file and pass it on to another function which generates text from that audio. But when I pass ’audio’ to function error shows file not found..

    def extract_audio(f):
    print("processing", f)
    inFile = f
    outFile = f[:-3] + "wav"
    cmd = "ffmpeg -i {} -vn  -ac 2 -ar 44100 -ab 320k -f wav {}".format(inFile, outFile)
    os.popen(cmd)
    print(outFile)
    print("Audio is ready to use..")
    return outFile

    def audio_to_text(audio):
    r = sr.Recognizer()
    r.energy_threshold = 4000
    with sr.WavFile(open(audio)) as source:  # use "test.wav" as the audio source
       audio_source = r.record(source)  # extract audio data from the file
       text = r.recognize_google(audio_source)
    try:
       print(text)  # recognize speech using Google Speech Recognition
    except LookupError:  # speech is unintelligible
       print("Could not understand audio")

    root = tk.Tk()
    root.withdraw()
    file_path = filedialog.askopenfilename()
    filename = os.path.basename(file_path)
    audio = extract_audio(filename)
    audio_to_text(audio)