Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (31)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (4032)

  • fluent-ffmpeg wrong output duration

    20 septembre 2022, par Floz42

    I'm trying to stream a video using fluent-ffmpeg and without save it.

    


    I use this code but the output video was cut (12s instead of the 20s of the original video).
I tried many output options but without success.

    


    Precision : I want to get the stream duration in the web player.

    


    Thanks a lot for your help !

    


    enter image description here

    



    let imageData = [];

let tmp = {};
tmp.filter = 'overlay';
tmp.inputs = '[0:v][1:v]';
tmp.options = {};
//tmp.options.enable = `between(t,${image.startAt}, ${image.endAt})`;
tmp.options.x = imagePositionX;
tmp.options.y = imagePositionY;
tmp.outputs = 'tmp';
imageData.push(tmp);

let size = await ufs(videoURL);

res.status(206);
res.set('Content-Type', 'video/mp4');

if (req.headers.range) {
  let range        = req.headers.range;
  let parts        = range.replace(/bytes=/, "").split("-");
  let partialstart = parts[0];
  let partialend   = parts[1];

  let start     = parseInt(partialstart, 10);
  let end       = partialend ? parseInt(partialend, 10) : size-1;
  let chunksize = (end-start)+1;

  res.set('Content-Range', 'bytes ' + start + '-' + end + '/' + size);
  res.set('Accept-Ranges', 'bytes');
  res.set('Content-Length', chunksize);
} else {
  res.set('Content-Length', size);
}

let stream = ffmpeg(videoURL)
.input(imageURL)
.videoCodec('libx264')
.audioCodec('aac')
.fps('29.97')
.complexFilter(imageData, 'tmp')
.outputOptions([
  '-movflags frag_keyframe+empty_moov',
  '-frag_duration 100',
  '-pix_fmt yuv420p',
  '-map 0:a?',
  '-b:v 2400k',
  '-b:a 160k',
  '-minrate 200k',
  '-maxrate 1300k',
  '-bufsize 13000k',
  '-f mp4',
])
.on('end', () => {
  console.log('file has been converted succesfully');
})
.on('error', (err) => {
  //console.log('error : ', err)
  console.log('error : ', err.message)
})
.pipe(res, {end: true})


    


  • libavcodec/libx264 : add user data unregistered SEI encoding

    6 août 2021, par Brad Hards
    libavcodec/libx264 : add user data unregistered SEI encoding
    

    MISB ST 0604 and ST 2101 require user data unregistered SEI messages
    (precision timestamps and sensor identifiers) to be included. That
    currently isn't supported for libx264. This patch adds support
    for user data unregistered SEI messages in accordance with ISO/IEC
    14496-10:2020(E) section D.1.7 (syntax) and D.2.7 (semantics).

    This code is based on a similar change for libx265 (commit
    1f58503013720700a5adfd72c708e6275aefc165).

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavcodec/libx264.c
  • cbs_av1 : fix incorrect data type

    12 octobre 2021, par Fei Wang
    cbs_av1 : fix incorrect data type
    

    Since order_hint_bits_minus_1 range is 0 7, cur_frame_hint can be
    most 128. And similar return value for cbs_av1_get_relative_dist.
    So if plus them and use int8_t for the result may lose its precision.

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>

    • [DH] libavcodec/cbs_av1_syntax_template.c