Recherche avancée

Médias (91)

Autres articles (106)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12142)

  • how use pipe instead of save method in fluent-ffmpeg ?

    27 juin 2019, par Mohsen Rahnamaei

    I gonna use fluent ffmpeg to write something on video
    I use this cod

    var proc = ffmpeg(req.filePath). videoFilters(
     {
       filter: 'drawtext',
       options: {
         text: 'VERY LONG TEXT VERY VERY VERY VERY LOL!!!',
         fontsize: 36,
         fontcolor: 'white',
         x: '(main_w/2-text_w/2)',
         y: '(text_h/2)+15',
         shadowcolor: 'black',
         shadowx: 2,
         shadowy: 2
       }}

    )
    // use the 'flashvideo' preset (located in /lib/presets/flashvideo.js)
    .on('end', function() {
     console.log('file has been converted succesfully');
    })
    .on('error', function(err) {
     console.log('an error happened: ' + err.message);
    }).save('/home/gheidar/Desktop/ffmpeg_test/rt.ts');

    and everything is correct
    but I want to export this output to stream for the response of the request
    means that I want to use pipe() instead of save method

    something like this :

    var proc = ffmpeg(req.filePath). videoFilters(
     {
       filter: 'drawtext',
       options: {
         text: 'VERY LONG TEXT VERY VERY VERY VERY LOL!!!',
         fontsize: 36,
         fontcolor: 'white',
         x: '(main_w/2-text_w/2)',
         y: '(text_h/2)+15',
         shadowcolor: 'black',
         shadowx: 2,
         shadowy: 2
       }}

    )
    // use the 'flashvideo' preset (located in /lib/presets/flashvideo.js)
    .on('end', function() {
     console.log('file has been converted succesfully');
    })
    .on('error', function(err) {
     console.log('an error happened: ' + err.message);
    }).pipe(res)

    its just change in the last line
    and I get this error :

    an error happened: ffmpeg exited with code 1: pipe:1: Invalid argument

    how can export this ffmpeg command to stream response ????

  • How to save movie from behind ? [on hold]

    16 mai 2017, par Nips

    I must convert my mp4 camera movie, to play it from behind. Is this possible in ffmpeg ?
    Or maybe html5 can play a movie from behind ?

    In a film I have closeup on the object, I must play it as move away from the object.

  • ffmpeg is buffering 10 seconds of data every 10 seconds, but I need 1 second of data every second

    30 juillet 2014, par user306517

    I am trying to render an URL, and when I use ffmpeg to do it, it is giving me 10 seconds of data, every 10 seconds. I need to get the data in a way that I am getting 1 second of data every second.

    it looks like the URL i am trying to read from is a "m3u8" url, which contains a bunch of m3u8 files, which contain .ts files (transport stream).

    any help here would be appreciated.

    per suggestion - my ffmpeg command looks like this :

    ffmpeg -y -i ".....m3u8" -ar 32000 -ac 1 -acodec pcm_s16le /tmp/foo.wav