Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (90)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

  • Google Speech API - Is there a way to determine if the audio has human voice or not ?

    20 décembre 2019, par stupid_sma

    I am making an audio filtering application at work that reads over hundreds of audio files and filters them. So, if the audio has human voice in it, it will accept it and if it does not- it will delete the audio file.

    I am using ffmpeg to get the details of the audio and add other filters like size and duration and silence (though it is not very accurate in detecting silence for all audio files.)

    My company asked me to try the Google Cloud Speech API to detect if the audio has any human voice in it.

    So with this code, some audio files return a Transcript of spoken words in the audio file, but what I need is to determine if a human is speaking or not.

    I have considered using hark.js for it but there does not seem to be enough documentation and I am short on time !

    Ps. I am an intern and I’m just starting out with programming. I apologize if my question does not make sense or sounds dumb.

      # Includes the autoloader for libraries installed with composer
      require __DIR__ . '/vendor/autoload.php';

      # Imports the Google Cloud client library
      use Google\Cloud\Speech\V1\SpeechClient;
      use Google\Cloud\Speech\V1\RecognitionAudio;
      use Google\Cloud\Speech\V1\RecognitionConfig;
      use Google\Cloud\Speech\V1\RecognitionConfig\AudioEncoding;

      putenv('GOOGLE_APPLICATION_CREDENTIALS=../../credentials.json');



      echo getcwd() . "<br />";
      chdir('test-sounds');
      echo getcwd() . "<br />";
      echo shell_exec('ls -lr');

      $fileList = glob('*');
      foreach($fileList as $filename){
      //echo $filename, '<br />';

      # The name of the audio file to transcribe
      $audioFile = __DIR__ . '/' . $filename;

      # get contents of a file into a string
      $content = file_get_contents($audioFile);

      # set string as audio content
      $audio = (new RecognitionAudio())
          ->setContent($content);

      # The audio file's encoding, sample rate and language
      $config = new RecognitionConfig([
          'encoding' => AudioEncoding::LINEAR16,
          'language_code' => 'ja-JP'
      ]);

      # Instantiates a client
      $client = new SpeechClient();

      # Detects speech in the audio file
      $response = $client->recognize($config, $audio);

      # Print most likely transcription
      foreach ($response->getResults() as $result) {
          $alternatives = $result->getAlternatives();
          $mostLikely = $alternatives[0];
          $transcript = $mostLikely->getTranscript();
          printf('<br />Transcript: %s' . PHP_EOL, $transcript . '<br />');

      }

      $client->close();

      }

      ?> ```
  • will Adult script pro work with google app engine as server ? [on hold]

    1er février 2016, par niko nørre

    i want to user Google app engine as a server for my website and app.
    but a programmer needs to set the script up for me.
    the script is called Adult Script Pro and it need FFMpeg and more to Work.

    do google app engine provide me with ssh root access ?

    The requirements are the following :

    Apache, Lighttpd or Nginx Server (with rewrite support)

    MySQL 5.x

    PHP >= 5.2.x (mod_php or CGI/FastCGI)

    GD2 Support

    MySQL Support

    CURL Support

    SimpleXML Support

    FTP Support

    PCRE with UTF8/Unicode Properties

    PHP CLI >= 5.2.x (see above for support)

    FFMpeg => 0.11.5 (with support for lame, x264, theora, vpx, xvid, faac, faad2, amr, webm, jpeg, png, gif and freetype)

    Will the site Work whid Google app engine as server ??

    Pleas help thanks
    Nikolaj

  • Revision 6b223fcb58 : Enable decoder to pass through color space info This commit added a field to vp

    9 janvier 2015, par Yaowu Xu

    Changed Paths :
     Modify /test/encode_test_driver.cc


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/vp9_iface_common.h


     Modify /vpx/vpx_image.h


     Modify /vpx_scale/yv12config.h



    Enable decoder to pass through color space info

    This commit added a field to vpx_image_t for indicating color space,
    the field is also added to YUV_BUFFER_CONFIG. This allows the color
    space information pass through the decoder from input stream to the
    output buffer.

    The commit also updated compare_img() function with added verification
    of matching color space to ensure the color space information to be
    correctly passed from encode to decoder in compressed vp9 streams.

    Change-Id : I412776ec83defd8a09d76759aeb057b8fa690371