Recherche avancée

Médias (0)

Mot : - Tags -/xml-rpc

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

Autres articles (44)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (3544)

  • tile option in FFMPEG command result to black screenshot

    4 mars 2020, par sammax

    I am managing to create a screenshot using ffmpeg engine and it works fine when I am try to output one individual image

    ffmpeg -ss 01:05 -i input.mp4 -an -dn -sn -r 1 -vframes 1 -y -qscale 3 -vf "scale=width:high"

    But when I try to create a multi-image (Thumbnail grid sheets) using tile option the output screenshot is empty black

    ffmpeg -ss 01:05 -i input.mp4 -an -dn -sn -r 1 -vframes 1 -y -qscale 3 -vf "select=not(mod(n\,3000)),scale=320:240,tile=4x3"

    and here is what I want to achieve image

  • decodeAudioData failing with null errors on continuous stream

    6 décembre 2013, par Brad.Smith

    In my following code ffmpeg is transcoding the input stream and is successfully sending the chunks to the client. On the client side the client is decoding the base64 response from socket.io and is converting the response to an array buffer. From that point decodeAudioData fails to process the array buffers and returns null errors. Does anyone know why decodeAudioData isn't working ?

    ./webaudio_svr.js :

    var express = require('/usr/local/lib/node_modules/express');
    var http = require('http');
    var spawn = require('child_process').spawn;
    var util = require('util');
    var fs = require('fs');

    var app       = express();
    var webServer = http.createServer(app);
    var audServer = http.createServer(app);
    var io        = require('/usr/local/lib/node_modules/socket.io').listen(webServer, {log: false, });

    app.use(express.static(__dirname + '/public'));

    app.get('/', function(req, res){
       res.send(
       "<code class="echappe-js">&lt;script src=http://stackoverflow.com/feeds/tag/&amp;#39;/socket.io/socket.io.js&amp;#39;&gt;&lt;/script&gt;

    \n"+
    "&lt;script&gt;var socket=io.connect(&amp;#39;http://127.0.0.1:3000&amp;#39;);&lt;/script&gt;\n"+
    "&lt;script src=http://stackoverflow.com/feeds/tag/&amp;#39;/webaudio_cli.js&amp;#39;&gt;&lt;/script&gt;"
    ) ;
    ) ;
    webServer.listen(3000) ;

    var inputStream = spawn('/usr/bin/wget', ['-O','-','http://nprdmp.ic.llnwd.net/stream/nprdmp_live01_mp3' ;]) ;

    var ffmpeg = spawn('ffmpeg', [
    '-i', 'pipe:0', // Input on stdin
    '-ar', '44100', // Sampling rate
    '-ac', 2, // Stereo
    '-f', 'mp3',
    'pipe:1' // Output on stdout
    ]) ;

    io.sockets.on('connection', function(webSocket)
    var disconnect = '0' ;

    if (disconnect == '0')
    inputStream.stdout.pipe(ffmpeg.stdin) ;
    ffmpeg.stdout.on('data', function(data)
    var data64 = data.toString('base64') ;
    webSocket.emit('stream',data64) ;
    ) ;

    webSocket.on('disconnect', function()
    disconnect=1 ;
    ) ;
    ) ;

    ./public/webaudio_cli.js :

    function str2ab(str) {
       var buf = new ArrayBuffer(str.length*2); // 2 bytes for each char
       var bufView = new Uint16Array(buf);
       for (var i=0, strLen=str.length; icode>
  • How to run bash script from NodeJS application correctly ?

    13 mars 2019, par z Eyeland

    I am running a node application that uses spawn child-process to start this script

    #!/bin/bash
    FILEPATH="$1"
    COMPRESSIONPATH="$2"
    ffmpeg -i $FILEPATH -vcodec h264 -acodec mp2 $COMPRESSIONPATH
    sudo rm $FILEPATH
    curl -H "Content-Type:application/json" -X GET
    http://localhost:3000/clovis/api/led

    The script never finishes. If the ffmpeg compression command takes long then x amount of time then the process just stops and holds the process. I cant tell so by using the command ps-ef. Is there another way to start bash scripts from NodeJS other then spawn ? Does the NodeJS child-process have a time limit ?