Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (77)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (6714)

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

  • mpeg4videodec : only allow a positive length

    22 avril 2015, par Andreas Cadhalpun
    mpeg4videodec : only allow a positive length
    

    Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/mpeg4videodec.c