Recherche avancée

Médias (91)

Autres articles (11)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (2825)

  • dxva2 : get the slice number directly from the surface in D3D11VA

    13 janvier 2017, par Steve Lhomme
    dxva2 : get the slice number directly from the surface in D3D11VA
    

    No need to loop through the known surfaces, we’ll use the requested surface
    anyway.

    The loop is only done for DXVA2.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/dxva2.c
  • avcodec/vaapi : increase av1 decode pool size

    12 octobre 2021, par Fei Wang
    avcodec/vaapi : increase av1 decode pool size
    

    For film grain clip, vaapi_av1 decoder will cache additional 8
    surfaces that will be used to store frames which apply film grain.
    So increase the pool size by plus 8 to avoid leak of surface.

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>

    • [DH] libavcodec/vaapi_decode.c
  • 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 ????