Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (102)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (6484)

  • Revision 33677 : une structure commune avec le plugin commentaires, mais : - qui n’est pas ...

    11 décembre 2009, par cedric@… — Log

    une structure commune avec le plugin commentaires, mais : - qui n’est pas encore stabilisee, dixit son auteure - qui garde aussi le nommage original de la dist pour des raisons de compatibilite dans le but de permettre la transition la suite reprendra apres la finalisation des travaux de (...)

  • avcodec/pngdec : Fix APNG_DISPOSE_OP_BACKGROUND

    20 août 2022, par Andreas Rheinhardt
    avcodec/pngdec : Fix APNG_DISPOSE_OP_BACKGROUND
    

    APNG works with a single reference frame and an output frame.
    According to the spec, decoding APNG works by decoding
    the current IDAT/fdAT chunks (which decodes to a rectangular
    subregion of the whole image region), followed by either
    overwriting the region of the output frame with the newly
    decoded data or by blending the newly decoded data with
    the data from the reference frame onto the current subregion
    of the output frame. The remainder of the output frame
    is just copied from the reference frame.
    Then the reference frame might be left untouched
    (APNG_DISPOSE_OP_PREVIOUS), it might be replaced by the output
    frame (APNG_DISPOSE_OP_NONE) or the rectangular subregion
    corresponding to the just decoded frame has to be reset
    to black (APNG_DISPOSE_OP_BACKGROUND).

    The latter case is not handled correctly by our decoder :
    It only performs resetting the rectangle in the reference frame
    when decoding the next frame ; and since commit
    b593abda6c642cb0c3959752dd235c2faf66837f it does not reset
    the reference frame permanently, but only temporarily (i.e.
    it only affects decoding the frame after the frame with
    APNG_DISPOSE_OP_BACKGROUND). This is a problem if the
    frame after the APNG_DISPOSE_OP_BACKGROUND frame uses
    APNG_DISPOSE_OP_PREVIOUS, because then the frame after
    the APNG_DISPOSE_OP_PREVIOUS frame has an incorrect reference
    frame. (If it is not followed by an APNG_DISPOSE_OP_PREVIOUS
    frame, the decoder only keeps a reference to the output frame,
    which is ok.)

    This commit fixes this by being much closer to the spec
    than the earlier code : Resetting the background is no longer
    postponed until the next frame ; instead it is applied to
    the reference frame.

    Fixes ticket #9602.

    (For multithreaded decoding it was actually already broken
    since commit 5663301560d77486c7f7c03c1aa5f542fab23c24.)

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

    • [DH] libavcodec/pngdec.c
  • Audio and video out of sync. Stream mp4 files Concatenation using fluent-ffmpeg

    13 mars 2021, par JosepB

    First of all sorry if the question is duplicated. But I couldn't find out the right answer in other questions.

    &#xA;

    I'm trying to concatenate AWS S3 mp4 files using streams and fluent-ffmpeg. I managed to download and upload the concatenated files without storing it to the disk.

    &#xA;

    The concatenation seems correct but when I'm selecting a point in time of the video player (VLC media player or QuickTime) time bar seems the audio and video are out of sync.

    &#xA;

    This is the nodejs fluent-ffmpeg implementation :

    &#xA;

    concatenation = (listFileName, passthroughStream) => {&#xA;&#xA;    return new Promise((resolve) => {  &#xA;        let command = ffmpeg().input(listFileName)&#xA;            .inputOptions([&#x27;-f concat&#x27;, &#x27;-safe 0&#x27;, &#x27;-protocol_whitelist&#x27;, &#x27;file,http,tcp,https,tls&#x27;])&#xA;            //.videoCodec(&#x27;libx264&#x27;)&#xA;            .outputFormat(&#x27;mp4&#x27;)&#xA;            .outputOptions(&#x27;-movflags frag_keyframe&#x2B;empty_moov&#x27;)&#xA;            &#xA;            var ffstream = command.on(&#x27;end&#x27;, function() {&#xA;                const result = &#x27;files have been merged succesfully&#x27;;&#xA;                resolve(result);&#xA;            })&#xA;            .on(&#x27;error&#x27;, function(err) {&#xA;                console.log(&#x27;an error happened: &#x27; &#x2B; err.message);&#xA;                reject(err);&#xA;            }).pipe(passthroughStream);&#xA;            ffstream.on(&#x27;data&#x27;, ((chunk) => {&#xA;                console.log(&#x27;ffmpeg just wrote &#x27; &#x2B; chunk.length &#x2B; &#x27; bytes&#x27;);&#xA;            }));&#xA;    });        &#xA;}&#xA;

    &#xA;

    I'm using S3 file signed URLs in the file. Somthing like this :

    &#xA;

    file &#x27;https://bucket.s3.region.amazonaws.com/file_0.mp4&#x27;&#xA;file &#x27;https://bucket.s3.region.amazonaws.com/file_1.mp4&#x27;&#xA;

    &#xA;

    I think that this out of sync is because of the fragmentated output and maybe is not possible to do that without downloading the files, but maybe there's a possible solution.

    &#xA;

    Is there some way to do the mp4 concatenation without storing the files to the disk ? Or am I doing something wrong ?

    &#xA;