Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (81)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

  • How do I use the ffmpeg CLI to stretch the beginning of an audio stream, using silence, to match the start of the video ?

    26 mai 2019, par enzi

    I’m encoding mpd for DashJS using ffmpeg. I’m trying to encode a video that has audio starting 26 seconds after video. When I play it use DashJS, the video refuses to show until the audio starts. What’s the best way to stretch the audio to to the beginning of the video using the ffmpeg cli using silence ?

    I’ve tried several filters but with no success.

    Here’s my command :

    "ffmpeg" "-i" "static/uploads/tmp.10370ba20dc842f7af87037c8e25e895.mkv" "-c:v" "libx264" "-x264opts" "keyint=25:min-keyint=25:no-scenecut" "-pix_fmt" "yuv420p" "-profile:v" "baseline" "-level" "3" "-coder" "1" "-g" "250" "-c:a" "libfdk_aac" "-b:a" "192k" "-ar" "44100" "-ac" "2" "-map" "0:0" "-map" "0:1" "-map" "0:2" "-map" "0:3" "-metadata" "title=Video" "-f" "dash" "-use_template" "1" "-use_timeline" "1" "-seg_duration" "5" "-init_seg_name" "$RepresentationID$-init.m4s" "-media_seg_name" "$RepresentationID$-$Time$.m4s" "-max_muxing_queue_size" "9999" "-shortest" "-avoid_negative_ts" "make_non_negative" "static/uploads/abea93fe8fe645f291beb6223398e025/index.out"

    I tried amixing evalsrc=0 with source 0:1, the stream that starts at 26 seconds but it still starts at 26 seconds.

  • avcodec/libvpxenc : Update the "cpu-used" options default to match the "speed" alias

    6 juin 2014, par Rafaël Carré
    avcodec/libvpxenc : Update the "cpu-used" options default to match the "speed" alias
    

    Reviewed-by : James Zern <jzern@google.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/libvpxenc.c
  • Google Speech API "Sample rate in request does not match FLAC header"

    13 février 2017, par kjdion84

    I’m trying to convert an mp4 video clip into a FLAC audio file and then have google speech spit out the words from the video so that I can detect if specific words were said.

    I have everything working except that I am getting an error from the Speech API :

    {
     "error": {
       "code": 400,
       "message": "Sample rate in request does not match FLAC header.",
       "status": "INVALID_ARGUMENT"
     }
    }

    I am using FFMPEG in order to convert the mp4 into a FLAC file. I am specifying that the FLAC file be 16 bits in the command, but when I right click on the FLAC file Windows is telling me it is 302kbps.

    Here is my PHP code :

    // convert mp4 video to 16 bit flac audio file
    $cmd = 'C:/wamp/www/ffmpeg/bin/ffmpeg.exe -i C:/wamp/www/test.mp4 -c:a flac -sample_fmt s16 C:/wamp/www/test.flac';
    exec($cmd, $output);

    // convert flac to text so we can detect if certain words were said
    $data = array(
       "config" => array(
           "encoding" => "FLAC",
           "sampleRate" => 16000,
           "languageCode" => "en-US"
       ),
       "audio" => array(
           "content" => base64_encode(file_get_contents("test.flac")),
       )
    );

    $json_data = json_encode($data);

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'https://speech.googleapis.com/v1beta1/speech:syncrecognize?key=MY_API_KEY');
    curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

    $result = curl_exec($ch);