Recherche avancée

Médias (0)

Mot : - Tags -/navigation

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

Autres articles (83)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (11930)

  • Revision 9ab47772bd : Update README - new date - add VP9 to the title - update list of available targ

    2 août 2013, par Paweł Hajdan

    Changed Paths :
     Modify /README



    Update README

    - new date
    - add VP9 to the title
    - update list of available targets

    Change-Id : I56263336db393020bac5da8e42fbac3a276ffb1f

  • Some last copyright year updates and change to open bug list

    26 novembre 2014, par Martijn van Beurden
    Some last copyright year updates and change to open bug list
    

    This updates one rather important mention of the copyright year
    (the encoding/decoding progress display) and a few in the
    documentation. Furthermore, it updates the open bug list

    Signed-off-by : Erik de Castro Lopo <erikd@mega-nerd.com>

    • [DH] doc/html/documentation_bugs.html
    • [DH] doc/html/faq.html
    • [DH] doc/html/id.html
    • [DH] src/flac/main.c
  • node ffmpeg programmatically built list(?) of commands

    16 mai 2022, par Martin

    I am working on a ffmpeg wasm project and I have it working with this code :

    &#xA;

            await ffmpeg.run(&#xA;            &#x27;-loop&#x27;, &#x27;1&#x27;,&#xA;            &#x27;-framerate&#x27;, &#x27;2&#x27;,&#xA;            "-i", inputFileNames[0], &#xA;            "-i", inputFileNames[1],&#xA;            "-i", inputFileNames[2],&#xA;            "-c:a", "libmp3lame", &#xA;            "-b:a", "320k", &#xA;            "-filter_complex", "concat=n=2:v=0:a=1",&#xA;            "-vcodec", "libx264", &#xA;            "-bufsize", "3M", &#xA;            "-filter:v", "scale=w=1920:h=1930,pad=ceil(iw/2)*2:ceil(ih/2)*2", &#xA;            "-crf", "18", &#xA;            "-pix_fmt", "yuv420p", &#xA;            "-shortest", "", &#xA;            "-tune", "stillimage", &#xA;            "-t", "13", &#xA;            outputFileName&#xA;        );&#xA;

    &#xA;

    https://github.com/MartinBarker/ffmpeg-wasm-node

    &#xA;

    As you can see, the await ffmpeg.run() command takes a list of args / vars to run.&#xA;I have it statically set to take three file inputs right now (-i) but I need to have these inputs set dynamically for however many strings are inside the inputFileNames[] list.

    &#xA;

    I've tried giving await ffmpeg.run(myListArgs) a var containing a list of the same args but that does not work but this causes an error as it only runs the last var outputFIlename so this below does not work :

    &#xA;

            let ffmpegArgs=(&#x27;-loop&#x27;, &#x27;1&#x27;,&#xA;        &#x27;-framerate&#x27;, &#x27;2&#x27;,&#xA;        "-i", inputFileNames[0], &#xA;        "-i", inputFileNames[1],&#xA;        "-i", inputFileNames[2],&#xA;        "-c:a", "libmp3lame", &#xA;        "-b:a", "320k", &#xA;        "-filter_complex", "concat=n=2:v=0:a=1",&#xA;        "-vcodec", "libx264", &#xA;        "-bufsize", "3M", &#xA;        "-filter:v", "scale=w=1920:h=1930,pad=ceil(iw/2)*2:ceil(ih/2)*2", &#xA;        "-crf", "18", &#xA;        "-pix_fmt", "yuv420p", &#xA;        "-shortest", "", &#xA;        "-tune", "stillimage", &#xA;        "-t", "13", &#xA;        outputFileName)&#xA;&#xA;        await ffmpeg.run(&#xA;            ffmpegArgs&#xA;        );&#xA;

    &#xA;

    I've tried to include multiple inputs in one line like so but it results in an error :

    &#xA;

    &#xA;        await ffmpeg.run(&#xA;            &#x27;-loop&#x27;, &#x27;1&#x27;,&#xA;            &#x27;-framerate&#x27;, &#x27;2&#x27;,&#xA;            `-i ${inputFileNames[0]} -i ${inputFileNames[1]} -i ${inputFileNames[2]}`,&#xA;            "-c:a", "libmp3lame", &#xA;            "-b:a", "320k", &#xA;            "-filter_complex", "concat=n=2:v=0:a=1",&#xA;            "-vcodec", "libx264", &#xA;            "-bufsize", "3M", &#xA;            "-filter:v", "scale=w=1920:h=1930,pad=ceil(iw/2)*2:ceil(ih/2)*2", &#xA;            "-crf", "18", &#xA;            "-pix_fmt", "yuv420p", &#xA;            "-shortest", "", &#xA;            "-tune", "stillimage", &#xA;            "-t", "13", &#xA;            outputFileName&#xA;        );&#xA;&#xA;[fferr] Unrecognized option &#x27;i input-file-0 -i input-file-1 -i input-file-2&#x27;.&#xA;[fferr] Error splitting the argument list: Option not found&#xA;[ffout] FFMPEG_END&#xA;

    &#xA;

    I've tried having only the inputs as a list, and using the ... to expand it inside the function call but that causes an error as well as the commas are included in the command (which they shouldnt be)

    &#xA;

            let ffmpegInputs=[&#xA;            "-i", inputFileNames[0], &#xA;            "-i", inputFileNames[1],&#xA;            "-i", inputFileNames[2]&#xA;        ]&#xA;        await ffmpeg.run(&#xA;            &#x27;-loop&#x27;, &#x27;1&#x27;,&#xA;            &#x27;-framerate&#x27;, &#x27;2&#x27;,&#xA;            [...ffmpegInputs],&#xA;            "-c:a", "libmp3lame", &#xA;            "-b:a", "320k", &#xA;            "-filter_complex", "concat=n=2:v=0:a=1",&#xA;            "-vcodec", "libx264", &#xA;            "-bufsize", "3M", &#xA;            "-filter:v", "scale=w=1920:h=1930,pad=ceil(iw/2)*2:ceil(ih/2)*2", &#xA;            "-crf", "18", &#xA;            "-pix_fmt", "yuv420p", &#xA;            "-shortest", "", &#xA;            "-tune", "stillimage", &#xA;            "-t", "13", &#xA;            outputFileName&#xA;        );&#xA;&#xA;[info] run ffmpeg command: -loop 1 -framerate 2 -i,input-file-0,-i,input-file-1,-i,input-file-2 -c:a libmp3lame -b:a 320k -filter_complex concat=n=2:v=0:a=1 -vcodec libx264 -bufsize 3M -filter:v scale=w=1920:h=1930,pad=ceil(iw/2)*2:ceil(ih/2)*2 -crf 18 -pix_fmt yuv420p -shortest  -tune stillimage -t 13 cool-output-video.mp4&#xA;TypeError: a.charCodeAt is not a function&#xA;

    &#xA;

    How can I create my ffmpeg args dynamically to work for any number of inputs ?

    &#xA;