Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (103)

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

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

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

  • lavfi/loudnorm : add an internal libebur128 library

    15 octobre 2016, par Marton Balint
    lavfi/loudnorm : add an internal libebur128 library
    

    Also contains the following changes to the library :
    - add ff_ prefix to functions
    - remove cplusplus defines.
    - add FF_ prefix to contants and some structs
    - remove true peak calculation feature, since it uses its own resampler, and
    af_loudnorm does not need it.
    - remove version info and some fprintf(stderr) functions
    - convert to use av_malloc
    - always use histogram mode for LRA calculation, otherwise LRA data is slowly
    consuming memory making af_loudnorm unfit for 24/7 operation. It also uses a
    BSD style linked list implementation which is probably not available on all
    platforms. So let’s just remove the classic mode which not uses histogram.
    - add ff_thread_once for calculating static histogram tables
    - convert some functions to void which cannot fail
    - remove intrinsics and some unused headers
    - add support for planar audio
    - remove channel / sample rate changer function, in ffmpeg usually we simply
    alloc a new context
    - convert some static variables to defines
    - declare static histogram variables as aligned
    - convert some initalizations to mallocz
    - add window size parameter to init function and remove window size setter
    function
    - convert return codes to AVERROR
    - fix indentation

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] Changelog
    • [DH] configure
    • [DH] doc/filters.texi
    • [DH] libavfilter/Makefile
    • [DH] libavfilter/af_loudnorm.c
    • [DH] libavfilter/ebur128.c
    • [DH] libavfilter/ebur128.h
    • [DH] libavfilter/version.h
  • 'ffmpeg' is not recognized as an internal or external command in nodejs node-ffmpeg

    24 mars 2024, par Wai Yan Hein

    I am developing a Node.js application. First of all, I am just a beginner when it comes to Node.

    &#xA;

    What I am doing in my application now is that I am trying to create the thumbnail JPEG file for my mp4 file. I have already tried many possible solutions. Now I am using this one - https://github.com/damianociarla/node-ffmpeg. I think this is the potential solution among all. I am getting the error when I generate the JPEG thumbnail of the video file.

    &#xA;

    Here is what I have done so far. I installed the package running this command

    &#xA;

    npm install ffmpeg --save&#xA;

    &#xA;

    Then I try to generate the thumbnail files like this

    &#xA;

    var ffmpeg = require(&#x27;ffmpeg&#x27;);&#xA;module.exports.createVideoThumbnail = function(req, res)&#xA;{&#xA;    try {&#xA;        var process = new ffmpeg(&#x27;public/lalaland.mp4&#x27;);&#xA;        process.then(function (video) {&#xA;            &#xA;            video.fnExtractFrameToJPG(&#x27;public&#x27;, {&#xA;                frame_rate : 1,&#xA;                number : 5,&#xA;                file_name : &#x27;my_frame_%t_%s&#x27;&#xA;            }, function (error, files) {&#xA;                if (!error)&#xA;                    console.log(&#x27;Frames: &#x27; &#x2B; files);&#xA;                else&#xA;                    //This error message is displayed&#xA;                    console.log(error)&#xA;            });&#xA;&#xA;        }, function (err) {&#xA;            console.log(&#x27;Error: &#x27; &#x2B; err);&#xA;        });&#xA;    } catch (e) {&#xA;        console.log(e.code);&#xA;        console.log(e.msg);&#xA;    }&#xA;    res.json({ status : true , message: "Video thumbnail created. Hopefully" });&#xA;}&#xA;

    &#xA;

    When I run the code, it is throwing an error. I commented in the code where the error is thrown from.&#xA;This is the error message

    &#xA;

    { Error: Command failed: ffmpeg -i public/lalaland.mp4 -r 1 -s 0x0 -aspect NaN:NaN -vframes 5 -filter_complex "scale=iw*sar:ih, pad=max(iw\,ih*(NaN/NaN)):ow/(NaN/NaN):(ow-iw)/2:(oh-ih)/2:black" public/my_frame_1518211962631_0x0_%d.jpg&#xA;&#x27;ffmpeg&#x27; is not recognized as an internal or external command,&#xA;operable program or batch file.&#xA;&#xA;    at ChildProcess.exithandler (child_process.js:275:12)&#xA;    at emitTwo (events.js:126:13)&#xA;    at ChildProcess.emit (events.js:214:7)&#xA;    at maybeClose (internal/child_process.js:925:16)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)&#xA;  killed: false,&#xA;  code: 1,&#xA;  signal: null,&#xA;  cmd: &#x27;ffmpeg -i public/lalaland.mp4 -r 1 -s 0x0 -aspect NaN:NaN -vframes 5 -filter_complex "scale=iw*sar:ih, pad=max(iw\\,ih*(NaN/NaN)):ow/(NaN/NaN):(ow-iw)/2:(oh-ih)/2:black" public/my_frame_1518211962631_0x0_%d.jpg&#x27; }&#xA;

    &#xA;

    I installed the ffmg as well. You can see below it is an installed command on my laptop

    &#xA;

    enter image description here

    &#xA;

    What is missing in my code ?

    &#xA;

  • Flash 9, non-NetStream/movieStar can detect when playback fails due to missing sound hardware support (or 32-channel sound ceiling being hit.) Implemented as SMSound.onplayerror() callback.

    1er mai 2012, par Scott Schiller

    m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js m src/SoundManager2.as m src/SoundManager2_AS3.as m src/SoundManager2_SMSound_AS3.as m swf/soundmanager2.swf m swf/soundmanager2_debug.swf m (...)