Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (59)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

Sur d’autres sites (8744)

  • creating FFMPEG-based android apps with BAMBUSER

    22 novembre 2013, par Blaze Tama

    First, im a beginner in FFMPEG so please bear with me.

    And more, my java is not a "master", and i only have a very little experience in C.

    I interested in bambuser's ffmpeg library but theres still some doubt in my mind :

    1. Dont they have any step by step tutorial ? The only tutorial i found, which is good but not suitable for beginner is http://www.quora.com/What-are-the-steps-for-integrating-FFMPEG-on-Android#
    2. DO I HAVE TO CODE IN C ? Sorry this might be a stupid question..but ehm i dont really understand what im doing and where im going...LOL
      What i mean is, can i just use FFMPEG syntax like -i, -vf and run it inside my apps like in the ubuntu's terminal ?

    Im well aware that this question should not be suitable for SO, but i have no choice. I have tried to use many different lbraries, like GUARDIAN PROJECT (well, i have the UNSOLVED question here) but its not working like i hope.

    Thanks very much for your time, and your help. Please help me here, its alreay a month LOL :D

  • How to remove silence from an audio file while leaving a bit of the otherwise deleted portion ?

    26 février 2020, par A Question Asker

    Pardon the title, it’s a bit difficult to explain concisely !

    I have a bunch of short (1s-4s) recordings of people reading sentences. They were recorded themselves. Often, there is a bit of silence at the beginning or end, and I would like to automate removing that.

    As a first pass, I used this command :

    sox original.mp3 edited.mp3 silence 1 0.1 2% reverse silence 1 0.1 2% reverse

    The problem is that when people speak, sometimes the very beginning of their speech is quiet and quickly ramps up. This command thus clipped the very beginning of a number of sentences.

    So what I would like to do is essentially the same as what the sox command does, but ideally once it detects the boundary, it leaves 50ms before the boundary, in recognition that there may be some quiet but important sounds.

    I think that ffmpeg might be a good tool for this, as I don’t think sox can be configured like that. I’m tool agnostic. I don’t know ffmpeg at all though, so I appreciate any help putting together a command given ffmpeg’s rather arcane syntax !

    Another nice to have over the aforementioned sox command is for it only to remove silence at the beginning and end (if it exists) — not from the middle of the recording.

    UPDATE : based on time spent with ffmpeg, it looks like I want something like this

    ffmpeg -i input.mp3 -af "silenceremove=start_periods=1:start_threshold=0.02:start_silence=0.1:detection=peak,areverse,silenceremove=start_periods=1:start_threshold=0.02:start_silence=0.1:detection=peak,areverse" output.mp3

    Oddly, this comes out garbled. I thought that it wasn’t reversing properly, but when I try to do something like

    ffmpeg -i input.mp3 -af areverse output.mp3

    It doesn’t work — I just get the input back. I’m not sure what is going wrong ?

    If I just do the beginning,

    ffmpeg -i input.mp3 -af "silenceremove=start_periods=1:start_threshold=0.02:start_silence=0.1:detection=peak" output.mp3

    It works fine — for the beginning. But not sure why the reverse trick is resulting in a garbled output.

    UPDATE2 : it actually looks like the command works, but it changes the metadata in a way that makes itunes wonky. If I use VLC instead, it works fine.

  • Need to extract text from any audio file

    20 novembre 2018, par mystack flow

    I am trying to extract the text from audio file. I tried with FreeTTS, but i can able to do Text to Speech.

    here is my code,

    package video_audio_text.project;

    import javax.sound.sampled.AudioFileFormat.Type;
    import com.sun.speech.freetts.FreeTTS;
    import com.sun.speech.freetts.Voice;
    import com.sun.speech.freetts.VoiceManager;
    import com.sun.speech.freetts.audio.AudioPlayer;
    import com.sun.speech.freetts.audio.SingleFileAudioPlayer;

    public class AudioToText {

       /**
        * Example of how to list all the known voices.
        */


       public static void main(String[] args) {

          // listAllVoices();
           System.setProperty("freetts.voices", "com.sun.speech.freetts.en.us.cmu_us_kal.KevinVoiceDirectory");

           FreeTTS freetts;
           AudioPlayer audioPlayer = null;
           String voiceName = "kevin16";

           System.out.println();
           System.out.println("Using voice: " + voiceName);

           /* The VoiceManager manages all the voices for FreeTTS.
            */
           VoiceManager voiceManager = VoiceManager.getInstance();
           Voice helloVoice = voiceManager.getVoice(voiceName);

           if (helloVoice == null) {
               System.err.println(
                   "Cannot find a voice named "
                   + voiceName + ".  Please specify a different voice.");
               System.exit(1);
           }

           /* Allocates the resources for the voice.
            */
           helloVoice.allocate();

           /* Synthesize speech.
            */
    //create a audioplayer to dump the output file
          audioPlayer = new SingleFileAudioPlayer("/Users/user/Documents/test",Type.WAVE);
    //attach the audioplayer
          helloVoice.setAudioPlayer(audioPlayer);


           helloVoice.speak("Thank you for giving me a voice. "
                            + "I'm so glad to say hello to this world." +
                           + "here you go good way");



           /* Clean up and leave.
            */
           helloVoice.deallocate();
           audioPlayer.close();
           System.exit(0);
       }

    }

    But i need to give the audio file and extract text from the audio file.

    Please suggest me how can I achieve.

    please suggest which library like FFMPEG or any other library which can help me to achieve this.