Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (10109)

  • find matching files using a.bat script and assign them to a variable ?

    2 octobre 2019, par A Person

    I am trying to assign a file to a variable in batch-file and then also assign anoter 2 files into anoter variable.

    However, i am having an issue.

    From research, i found how i can do the assigning but does anyone know how i can do the below.

    From a folder or text file (either is fine) find the .m2v video file and assign that to Var1 then find matching audio in .wav and put that in Var2 and the third is also an audio .wav with mathcing name and assign that to Var3.

    Problem i am having is that trying to find the matching 2 audio file to the video.

    The video file is named as PAV_PRG_13683Highc450277201906251802090353.m2v

    Audio 1 is : PAV_PRG_13683High01c450211201906251802090376.wav

    Audio 2 is : PAV_PRG_13683High00c450211201906251802090368.wav

    the file name matches until it sees the word High. Everything after High is not needed and is random string so trying to match is an issue.

    is there a way to find the match by comparing everything before High.

    Also as i will be using the variable and putting them through ffmpeg to merge, is there way to do it so that when the ffmpeg command is done, it moves to the next matching files and assigns them to the variable.

    files are store in 2 folders

    One folder has all the video files *.m2v

    and another folder has all the *.wav audio files in pairs of 2. Each video has exactly 2 audios (left right audio)

    is there any hel pon this subject, i have already come up empty in my research and have been checking for this over the last week spent almost 30 hours.

  • dashenc : Write segment timelines properly if the timeline has gaps

    28 novembre 2014, par Martin Storsjö
    dashenc : Write segment timelines properly if the timeline has gaps
    

    Write a new start time if the duration of the previous segment
    didn’t match the start of the next one. Check that segments
    actually are continuous before writing a repeat count.

    This makes sure timestamps deduced from the timeline actually
    match the real start timestamp as written in filenames (if
    using a template containing $Time$).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/dashenc.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;