Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (57)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • 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 ????

  • avfilter/vf_bwdif : Add a filter_line3 method for optimisation

    4 juillet 2023, par John Cox
    avfilter/vf_bwdif : Add a filter_line3 method for optimisation
    

    Add an optional filter_line3 to the available optimisations.

    filter_line3 is equivalent to filter_line, memcpy, filter_line

    filter_line shares quite a number of loads and some calculations in
    common with its next iteration and testing shows that using aarch64
    neon filter_line3s performance is 30% better than two filter_lines
    and a memcpy.

    Adds a test for vf_bwdif filter_line3 to checkasm

    Rounds job start lines down to a multiple of 4. This means that if
    filter_line3 exists then filter_line will not sometimes be called
    once at the end of a slice depending on thread count. The final slice
    may do up to 3 extra lines but filter_edge is faster than filter_line
    so it is unlikely to create any noticable thread load variation.

    Signed-off-by : John Cox <jc@kynesim.co.uk>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavfilter/bwdif.h
    • [DH] libavfilter/vf_bwdif.c
    • [DH] tests/checkasm/vf_bwdif.c
  • decode : add a method for attaching lavc-internal data to frames

    1er juillet 2017, par Anton Khirnov
    decode : add a method for attaching lavc-internal data to frames
    

    Use the AVFrame.opaque_ref field. The original user’s opaque_ref is
    wrapped in the lavc struct and then unwrapped before the frame is
    returned to the caller.

    This new struct will be useful in the following commits.

    • [DBH] libavcodec/decode.c
    • [DBH] libavcodec/decode.h