Recherche avancée

Médias (91)

Autres articles (33)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (5760)

  • Youtube doesn't play livestream from ffmpeg

    14 novembre 2017, par CindyRabbit

    I am trying to livestream my Desktop in Ubuntu to Youtube and used this cmd but didn’t work :

    ffmpeg -f x11grab -r 10 -s 1024x720 -i :0.0 -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -g 20 -b:v 2500k -threads 0 -bufsize 512k -f flv rtmp ://a.rtmp.youtube.com/live2/myKey

  • Nodejs youtube-dl ffmpeg audio stream

    19 septembre 2015, par Majster

    I have an issue with streaming video from YouTube. I have a http server which attempts to grab the raw video url, pull out the audio, convert it to mp3 and stream it to clients. The issue is that I’m not getting any audio on my client. Code is below (it’s all work in progress so there’s a lot of hardcoded stuff in there).

    // The obvious stuff
    var exec = require('child_process').exec;
    var spawn = require('child_process').spawn;
    var request = require('request');
    var http = require('http');

    //Listen for requests
    var server = http.createServer(function(req, response) {
      //This command runs youtube-dl and gets the video url
      var command = './node_modules/youtube-dl/bin/youtube-dl --simulate --get-url http://www.youtube.com/watch?v=5qF_qbaWt3Q';
      var exc = exec(command, function(error, stdout, stderr) {
         var downloadUrl = stdout.toString(); //Convert the buffer to string
         downloadUrl = downloadUrl.substring(0, downloadUrl.length - 1); //And strip the '\n' sign at the end
         console.log("This thing is: '" + downloadUrl + "'");
         response.writeHead(200, {
            'Content-Type': 'audio/mpeg'
         }); //When this is mpeg3 browser will download a blank .mp3 file now it tries to stream it

         //Spawn the ffmpeg child process
         var child = spawn('ffmpeg', ['-i', 'pipe:0', '-acodec', 'libmp3lame','-f', 'mp3', '-']);
         child.stdout.pipe(response); //Pipe it so it writes to our response

         // fs.createReadStream(filePath).pipe(child.stdin); - this is a testing thing ---> fs is filesystem and filePath is a link to a file - works
         request({url: downloadUrl, headers: {'Youtubedl-no-compression': 'True'}}).pipe(child.stdin); //Request the data and pipe it to ffmpeg for processing
      });
    });

    I can provide any additional info if needed. But the thing works if I try to use a file instead of request call so there is no problem with ffmpeg and other settings. Is it possible that YouTube has a protection against downloading videos this way ? I tried to paste the URL of console.log into my browser and nothing happens - no video. How can I fix this ?

  • JW Player can't play mp4 video downloaded from youtube

    20 janvier 2015, par kheya

    I have doenloaded am mp4 video using IE Realplayer plugin from youtube.
    https://www.youtube.com/watch?v=e3a80c5Ar3Y

    I have a test site on my local machine where I have HTML5 JW Player.

    I download the video and then play locally using realplay to see if it plays.
    I notice that not all mp4 downloads from youtube plays in Realplayer.
    The ones that play in Realplayer also play in JW Player on local website.
    But the mp4 files that don’t play in Realplayer also don’t play in JW player.

    This is the error I get in the player :
    the video playback was aborted due to a corruption problem or because the video used features your browser didnot support mylocalsite/xyz.mp4 undefined

    I tested IE, FF, Chrome. It works nowhere.

    Here is my jw player setup and html :

    <video src="mylocalsite/test.mp4" type="video/mp4" poster="mylocalsite/test.jpg" width="640" height="360"></video>

    player setup :

    var modes = '';
    var swfPath = '/content/jw/player.swf';
               if (navigator.userAgent.toLowerCase().match(/(android)/) || navigator.userAgent.toLowerCase().match(/(chrom)/)) {                
                   modes = [{ type: 'flash', src: swfPath }, { type: "html5"}];
               } else {
                   modes = [{ type: 'html5' }, { type: 'flash', src: swfPath }, { type: "download"}];
               }

    jwplayer('container').setup({                
                   'flashplayer': swfPath,                
                   'width': '640',
                   'height': '360',
                   'provider': 'video',
                   'modes': modes,                
               });

    Here is the details info about the file returned by ffmpeg :

    ffmpeg version 1.1.4 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jul 31 2013 02:49:36 with gcc 4.6.2 (GCC)
     configuration: --prefix=/c/Users/Administrator/ffmpeg --extra-cflags=-I/c/User
    s/Administrator/ffmpeg/include --extra-ldflags=-L/c/Users/Administrator/ffmpeg/l
    ib --cpu=i686 --enable-gpl --enable-libfdk-aac --enable-libx264 --enable-nonfree

     libavutil      52. 13.100 / 52. 13.100
     libavcodec     54. 86.100 / 54. 86.100
     libavformat    54. 59.106 / 54. 59.106
     libavdevice    54.  3.102 / 54.  3.102
     libavfilter     3. 32.100 /  3. 32.100
     libswscale      2.  1.103 /  2.  1.103
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\videos\woh.mp4':
     Metadata:
       major_brand     : dash
       minor_version   : 0
       compatible_brands: iso6avc1mp41
       creation_time   : 2013-09-08 23:34:28
     Duration: 00:03:50.96, start: 0.000000, bitrate: 189 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x360,
    187 kb/s, 25 tbr, 90k tbn, 50 tbc
       Metadata:
         creation_time   : 2013-09-08 23:34:28
         handler_name    : VideoHandler

    What can be causing this issue ?