Recherche avancée

Médias (91)

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8305)

  • pgssubdec : fix subpicture output colorspace and range

    24 avril 2016, par Jan Ekström
    pgssubdec : fix subpicture output colorspace and range
    

    Functionality used before didn’t widen the values from limited to
    full range. Additionally, now the decoder uses BT.709 where it
    should be used according to the video resolution.

    Default for not yet set colorimetry is BT.709 due to most observed
    HDMV content being HD.

    BT.709 coefficients were gathered from the first two parts of BT.709
    to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2).
    They were additionally confirmed by manually calculating values.

    Fixes #4637

    • [DH] libavcodec/pgssubdec.c
    • [DH] libavutil/colorspace.h
  • avfilter/af_headphone : increase max ir length

    25 septembre 2017, par Paul B Mahol
    avfilter/af_headphone : increase max ir length
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] libavfilter/af_headphone.c
  • How to duplicate an audio file or trim it to a specific length in ffmpeg ?

    21 octobre 2023, par Руслан Лысенко

    I want to combine a video file (with audio) and an audio file together to get one output file.

    &#xA;

    Most importantly, I need to do the following.

    &#xA;

    If the length of the video file is longer, then you need to increase the length of the audio file to this length.

    &#xA;

    If the audio file is longer than the video file, then make the audio file shorter to match the length of the video.

    &#xA;

    Example :

    &#xA;

    Video 2 minutes 5 seconds

    &#xA;

    Audio 1 minute -> duplicated to 2 minutes 5 seconds.

    &#xA;

    If

    &#xA;

    Video 1 minute

    &#xA;

    Audio 2 minutes 5 seconds -> trimmed to 1 minute.

    &#xA;

    But, I can't even increase the length of the audio file.

    &#xA;

    export async function overlayAudio(id: number, music: Music) {&#xA;  console.log(&#x27;start&#x27;)&#xA;  const videoPath = path.join(__dirname, `../../../uploads/movie/${id}/result/movie/predfinal.mp4`);&#xA;  &#xA;  if (music === null) {&#xA;    return videoPath.match(/\\uploads(.*)/)[0];&#xA;  } else {&#xA;    const audioPath = path.join(__dirname, `../../../${music.audio}`);&#xA;    const outputVideoPath = path.join(__dirname, `../../../uploads/movie/${id}/result/movie/output.mp4`);&#xA;    const matchPath = outputVideoPath.match(/\\uploads(.*)/);&#xA;    const cmd = `ffmpeg -i ${videoPath} -i ${audioPath} -filter_complex "[0:a]volume=1[a];[1:a]volume=0.2[b];[b]apad[looped_audio];[a][looped_audio]amix=inputs=2:duration=longest" -c:v copy -c:a aac -strict experimental -shortest ${outputVideoPath}`;&#xA;&#xA;    try {&#xA;      await execPromise(cmd);&#xA;      console.log(&#x27;end!&#x27;)&#xA;      return matchPath[0];&#xA;    } catch (error) {&#xA;      console.error(&#x27;Error:&#x27;, error);&#xA;      throw error;&#xA;    }&#xA;  }&#xA;}&#xA;&#xA;

    &#xA;