Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (40)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (9254)

  • What are the bad things that V8 Memory limitation can cause in a Node.js app ?

    9 octobre 2014, par scaryguy

    I’ve read several things about V8 Memory Limitation. Alas, I’m still not clear with it. Maybe it’s clear but I don’t want to believe. Here is my question :

    I have a Node.js application which will be hosted in a single physical server. This app will basically be an interface for some video related CPU and RAM heavy jobs. For example, I use FFMPEG to transcode videos within this application. And when doing this, I use child_processes of Node. Especially .spawn.

    My question is ;
    Since I’m running CPU and RAM intensive jobs inside a child_process, will I hook up to V8 Memory Limit (in a properly set 64bit system it’s 1.7GB) ?

    Because my FFMPEG processes will exhaust almost all resources of the server in production. Depending on the server configuration, it may use even 32GB of ram and tens of virtual CPU cores.

    I think I need some explanation on how child_processes work.

    Thank you

  • lavfi/vaapi_vpp : Use dynamic frame pool in outlink if possible

    26 mars 2024, par Haihao Xiang
    lavfi/vaapi_vpp : Use dynamic frame pool in outlink if possible
    

    This can avoid to exhaust the buffers within outlink when libva2 is
    available.

    For example :
    $ ffmpeg -hwaccel_output_format vaapi -hwaccel vaapi -i input.mp4 \
    - vf 'scale_vaapi=w=720:h=480' -c:v hevc_vaapi -f null -
    ...
    [vf#0:0 @ 0x55acad91f400] Error while filtering : Cannot allocate memory
    [vf#0:0 @ 0x55acad91f400] Task finished with error code : -12 (Cannot
    allocate memory)
    [vf#0:0 @ 0x55acad91f400] Terminating thread with return code -12
    (Cannot allocate memory)

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavfilter/vaapi_vpp.c
  • Streaming a programatically created video to youtube using node and ffmpeg

    23 septembre 2020, par Caltrop

    I've been trying to Livestream a programmatically created image to youtube using node. I've had very limited success using FFmpeg. While I have managed to create and save an image thanks to this insightful thread, I have yet to make the code work for streaming to an RTMP server.

    &#xA;

    const cp = require(&#x27;child_process&#x27;),&#xA;    destination = &#x27;rtmp://a.rtmp.youtube.com/live2/[redacted]&#x27;, //stream token redacted&#xA;    proc = cp.spawn(&#x27;./ffmpeg/bin/ffmpeg.exe&#x27;, [&#xA;        &#x27;-f&#x27;, &#x27;rawvideo&#x27;,&#xA;        &#x27;-pix_fmt&#x27;, &#x27;rgb24&#x27;,&#xA;        &#x27;-s&#x27;, &#x27;426x240&#x27;,&#xA;        &#x27;-i&#x27;, &#x27;-&#x27;, //allow us to insert a buffer through stdin&#xA;        &#x27;-f&#x27;, &#x27;flv&#x27;,&#xA;        destination&#xA;    ]);&#xA;&#xA;proc.stderr.pipe(process.stdout);&#xA;&#xA;(function loop() {&#xA;    setTimeout(loop, 1000 / 30); //run loop at 30 fps&#xA;    const data = Array.from({length: 426 * 240 * 4}, () => ~~(Math.random() * 0xff)); //create array with random data&#xA;    proc.stdin.write(Buffer.from(data)); //convert array to buffer and send it to ffmpeg&#xA;})();&#xA;

    &#xA;

    When running this code no errors appear and everything appears to be working, however, YouTube reports that no data is being received. Does anybody know what is going wrong here ?

    &#xA;

    Update : This is really counter-intuitive but adding a slash to the destination like this &#x27;rtmp://a.rtmp.youtube.com/live2/[redacted]/&#x27; causes ffmpeg to throw a generic I/O error. This is really weird to me. Apologies if the answer to this is obvious, I'm really inexperienced with ffmpeg.

    &#xA;