Recherche avancée

Médias (91)

Autres articles (91)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (16270)

  • avformat/segafilmenc : Avoid seek when writing header

    17 juillet 2020, par Andreas Rheinhardt
    avformat/segafilmenc : Avoid seek when writing header
    

    Up until now, the Sega FILM muxer would first write all the packet data,
    then shift the data (in the muxer's write_trailer function) by the amount
    necessary to write the header at the front (which entails a seek to the
    front), then seek back to the beginning and actually write the header.

    This commit changes this : The dynamic buffer that is used to write the
    sample table (containing information about each sample in the file) is
    now used to write the complete header. This is possible because the size
    of everything in the header except the sample table is known in advance.
    Said buffer can then be used as one of the two temporary buffers used
    for shifting which also reduces the amount one has to allocate for this.
    Thereby the header will be written when shifting, so that the second
    seek to the beginning is unnecessary.

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

    • [DH] libavformat/segafilmenc.c
  • electron app fluent-ffmpeg " Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"

    27 juillet 2020, par Martin

    I am trying to run an ffmpeg command in my electron app. I have created the function ffmpegTest() based off instructions for setting up ffmpeg here :

    &#xA;

    https://alexandercleasby.dev/blog/use-ffmpeg-electron

    &#xA;

    and the example query for ffmpeg-fluent here :

    &#xA;

    https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/examples/image2video.js

    &#xA;

    function ffmpegTest(){&#xA;    console.log(&#x27;ffmpeg-test&#x27;)&#xA;    //require the ffmpeg package so we can use ffmpeg using JS&#xA;    const ffmpeg = require(&#x27;fluent-ffmpeg&#x27;);&#xA;    //Get the paths to the packaged versions of the binaries we want to use&#xA;    const ffmpegPath = require(&#x27;ffmpeg-static&#x27;).replace(&#xA;        &#x27;app.asar&#x27;,&#xA;        &#x27;app.asar.unpacked&#x27;&#xA;    );&#xA;    const ffprobePath = require(&#x27;ffprobe-static&#x27;).path.replace(&#xA;        &#x27;app.asar&#x27;,&#xA;        &#x27;app.asar.unpacked&#x27;&#xA;    );&#xA;    //tell the ffmpeg package where it can find the needed binaries.&#xA;    ffmpeg.setFfmpegPath(ffmpegPath);&#xA;    ffmpeg.setFfprobePath(ffprobePath);&#xA;    &#xA;    var imgPath = "C:\\Users\\marti\\Documents\\martinradio\\uploads\\israel song festival 1979\\front.jpg"&#xA;    var outputPath = "C:\\Users\\marti\\Documents\\martinradio\\uploads\\israel song festival 1979\\output.m4v"&#xA;&#xA;    // make sure you set the correct path to your video file&#xA;    var proc = ffmpeg(imgPath)&#xA;    // loop for 5 seconds&#xA;    .loop(5)&#xA;    // using 25 fps&#xA;    .fps(25)&#xA;    // setup event handlers&#xA;    .on(&#x27;end&#x27;, function() {&#xA;    console.log(&#x27;file has been converted succesfully&#x27;);&#xA;    })&#xA;    .on(&#x27;error&#x27;, function(err) {&#xA;    console.log(&#x27;an error happened: &#x27; &#x2B; err.message);&#xA;    })&#xA;    // save to file&#xA;    .save(outputPath);&#xA;&#xA;    console.log("end of ffmpeg-test")&#xA;}&#xA;

    &#xA;

    it is trying to convert an image to a video, my filepaths are accurate, but when I run this function, I get this output in console :

    &#xA;

    ffmpeg-test&#xA;index.js:137 end of ffmpeg-test&#xA;index.js:132 an error happened: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;Conversion failed!&#xA;

    &#xA;

    After the error prints out, I can see my output.m4v file inside my output folder, but it is 0KB in size and wont open. Is there some way I can specify my bit_rate / rate / width / height in my fluent-ffmpeg command so I can run this simple ffmpeg command ?

    &#xA;

    thanks

    &#xA;

  • lavf/srt : fix build fail when used the libsrt 1.4.1

    12 juillet 2020, par Jun Zhao
    lavf/srt : fix build fail when used the libsrt 1.4.1
    

    libsrt changed the :
    SRTO_SMOOTHER -> SRTO_CONGESTION
    SRTO_STRICTENC -> SRTO_ENFORCEDENCRYPTION
    and removed the front of deprecated options (SRTO_SMOOTHER/SRTO_STRICTENC)
    in the header, it's lead to build fail

    fix #8760

    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] libavformat/libsrt.c