Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (111)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (11965)

  • Unable to Convert Speech to Text

    31 janvier 2017, par Vallieres

    I’m getting a 500 error when converting a simple MP3 file from speech to text using the Wit.ai site.

    I’m thinking the WAV I’m sending is not in the right format. Here’s my conversion :

    ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 16000 input.wav

    This gives me a WAV file with pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s

    Here’s my request :

    curl -X "POST" "https://api.wit.ai/speech?v=20160526" \
        -H "Authorization: Bearer TOKEN_HERE" \
        -H "Content-Type: audio/wav"

    I’m sending the file as binary content in the request. I also tried MP3 but it does not work either. Any idea why ?

  • no sound when streaming mkv video to html 5 video player via node js

    8 septembre 2013, par Tristan

    I have been playing around with building a simple html 5 media server for all my mkv files since I discovered chrome can play them when just dragging and dropping the file into a new tab !

    So I actually have something up and going and I am able to stream the mkv files through a nodejs sever to a simple html 5 video player, the only problem is there is no sound and the volume icon in the controls is crossed and greyed out !

    Now I realise that mkv files can have multiple audio streams within and this is probably my issue, that the video player doesn't know which one to use or is missing it for some reason.

    I have avoided using ffmpeg for the time being as I wanted to stream the videos without any transcoding (and without using express as shown in the fluent-ffmpeg stream example).

    See below for the code I use to stream the video :

    cFs.exists(sFileName, function(bExists){
       if (bExists)
       {
           var cFile = null;

           var cStat = cFs.statSync(sFileName);

           if (cRequest.headers['range'])
           {
               var aParts = cRequest.headers['range'].replace(/bytes=/, "").split("-");

               var nStart = parseInt(aParts[0], 10);
               var nEnd = aParts[1] ? parseInt(aParts[1], 10) : cStat.size - 1;
               var nChunkSize = (nEnd - nStart) + 1;

               cFile = cFs.createReadStream(sFileName, {start: nStart, end: nEnd});
               cResponse.writeHead(206, {
                   "Content-Type": "video/x-matroska",
                   "Content-Range": "bytes " + nStart + "-" + nEnd + "/" + cStat.size,
                   "Accept-Ranges": "bytes",
                   "Content-Length": nChunkSize

               });

               cFile.pipe(cResponse);

               cRequest.on('close', function(){
                   cFile.destroy();
               });
           }
           else
           {
               cResponse.writeHead(200, {
                   "Content-Type": "video/x-matroska",
                   "Content-Length": cStat.size
               });

               cFile = cFs.createReadStream(sFileName);
               cFile.pipe(cResponse);
           }

           cRequest.on('close', function(){
               if (cFile)
               {
                   cFile.destroy();
               }
           });

           /*new ffmpeg({
               source: sFileName
           }).toFormat('webm').writeToStream(cResponse, function(){
               console.log(arguments);
           });*/
       }
       else
       {
           cResponse.writeHead(404, {
               "Content-Type": "text/plain"
           });

           cResponse.write("404 Not Found\n");
           cResponse.end();
       }
    });

    if you could help me sort out the sound for the code above or can provide a fluent-ffmpeg solution without using express and retaining as much image quality as possible that would be great !

  • how to generate multiple bitrate output hls files from live rtsp stream

    10 février 2015, par prashanta

    I am gerating single bitrate live hls content from live rtsp stream . I am using the following command

    ffmpeg -v verbose -i rtsp://127.0.0.1:8080/test.sdp -vcodec libx264 -acodec aac -ac 1 -strict -2 -crf 18 -profile:v baseline -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 3 -hls_wrap 4 -hls_flags delete_segments -start_number 1 /usr/local/apache-tomcat-7.0.53/webapps/ROOT/hls/index1.m3u8

    How can I modify the above FFmpeg command to generate multiple bitrate output content ? Please help me.