Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (71)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (15443)

  • avcodec/sheervideo : Reduce the size of static arrays

    10 octobre 2020, par Andreas Rheinhardt
    avcodec/sheervideo : Reduce the size of static arrays
    

    The SheerVideo decoder uses VLC tables which are currently stored in
    large arrays that contain the length of each leaf of the corresponding
    tree from left to right, taking 15.5KB of space. But all these arrays
    follow a common pattern : First the entries are ascending and then they
    are descending with lots of successive entries have the same value.
    Therefore it makes sense to use a run-length encoding to store them, as
    this commit does. Notice that the length 16 has to be treated specially
    because there are arrays with more than 256 consecutive entries with
    value 16 and because the length of the entries start to descend from
    this length onward.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/sheervideo.c
    • [DH] libavcodec/sheervideodata.h
  • Reduce write time in stdin stream

    20 décembre 2020, par گورو سینی

    I'm trying to record the web page with puppeteer. For that I'm using the same approach as puppeteer-recorder ie taking the screenshot for each frame and writing to the spawned ffmpeg's stdin stream with slight modifications.

    &#xA;

    The average time taken for screenshot per frame comes between 1-2ms but the average time to write the screenshot data into stream comes to be 290-300ms per frame.

    &#xA;

    const ffmpeg = spawn(ffmpegPath, ffmpegArgs(30));&#xA;&#xA;for (let i = 1; i &lt;= totalFrames; i&#x2B;&#x2B;) {&#xA;  let screenshot = await page.screenshot({ omitBackground: true });  --> 1ms&#xA;  await write(ffmpeg.stdin, screenshot);                             --> 290ms&#xA;}&#xA;&#xA;ffmpeg.stdin.end();&#xA;&#xA;&#xA;const write = (stream, buffer) =>&#xA; new Promise((resolve, reject) => {&#xA;   stream.write(buffer, error => {&#xA;     if (error) reject(error);&#xA;     else resolve();&#xA; });&#xA;});&#xA;&#xA;&#xA;const ffmpegArgs = fps => [&#xA;  &#x27;-y&#x27;, &#x27;-f&#x27;, &#x27;image2pipe&#x27;,&#xA;  &#x27;-r&#x27;, `${&#x2B;fps}`,&#xA;  &#x27;-i&#x27;, &#x27;-&#x27;,&#xA;  &#x27;-c:v&#x27;, &#x27;libx264&#x27;,&#xA;  &#x27;-auto-alt-ref&#x27;, &#x27;0&#x27;,&#xA;  &#x27;-s:v&#x27;, &#x27;1280x720&#x27;,&#xA;  &#x27;-crf&#x27;, &#x27;20&#x27;,&#xA;  &#x27;-pix_fmt&#x27;, &#x27;yuv420p&#x27;,&#xA;  &#x27;-metadata:s:v:0&#x27;, &#x27;alpha_mode="1"&#x27;,&#xA;  &#x27;-tune&#x27;, &#x27;stillimage&#x27;, &#xA;  &#x27;-movflags&#x27;, &#x27;&#x2B;faststart&#x27;, &#x27;output.avi&#x27;&#xA;];&#xA;

    &#xA;

    Is there any way to reduce the time taken while writing ? Thanks.

    &#xA;

  • FFmpeg taking too long to process video (x264)

    19 avril 2022, par hugger

    I am succesfully processing my video into x264. I am happy with the output and file size I am generating, but the video seems to take as long as the video is to process.

    &#xA;

    For example, if the video is 10 seconds long, it will take 10 seconds to process the video, etc...

    &#xA;

    Even if I put -crf 50, it will take the same time. I find this odd behaviour.

    &#xA;

    Note : I am using FFmpeg with FFmpegKit (React Native) : https://github.com/tanersener/ffmpeg-kit

    &#xA;

    I am using full-gpl in order to be able to encode to x264. I am not sure what is wrong here or if this is normal behaviour ?

    &#xA;

    Here is my FFmpeg command I am executing :

    &#xA;

    `-y -i ${media.path} -c:v libx264 -preset veryfast -tune fastdecode -crf 20 -vf "crop=1350:1080, scale=960:780" -c:a copy -movflags faststart ${path}`&#xA;

    &#xA;

    I appreciate all the help I can get here to speed this up / fix this issue.

    &#xA;

    Cheers !

    &#xA;