Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (111)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (15167)

  • Convert .MOD video files to .mp4 but maintain original file date

    27 février 2016, par Barryman9000

    Windows 10,
    ffmpeg

    I’m very new to ffmpeg so I can’t figure this out. I’m trying to use a command to copy then convert all .MOD video files in a directory to .mp4 files and keep the original date that the .MOD file was created. I don’t understand how to map the current file in the loop to the map_metadata option. This command works but doesn’t maintain the metadata (taken from this post)

    FOR /F "tokens=*" %G IN ('dir /b *.MOD') DO ffmpeg -i "%G" -acodec copy "%~nG.mp4"

    I’ve tried including the map in the above command but get various errors, mostly "invalid input file index : 1". The commands below will copy and convert but the new .mp4 files don’t have the original file date so I must be using map_metadata incorrectly :

    FOR /F "tokens=*" %G IN ('dir /b *.MOD') DO ffmpeg -i "%G" -acodec copy -map_metadata 0 "%~nG.mp4"

    FOR /F "tokens=*" %G IN ('dir /b *.MOD') DO ffmpeg -i "%G" -map_metadata 0 -acodec copy "%~nG.mp4"

    Any suggestions ? Thanks

    UPDATE

    I got this with Powershell ! (thanks to this post)

    $oldvids = Get-ChildItem *.MOD -Recurse
    foreach ($oldvid in $oldvids) {
       $newvid = [io.path]::ChangeExtension($oldvid.LastWriteTime.toString("MMMddyyyy_HHmmss"), '.mp4')
       ffmpeg.exe -i $oldvid.FullName -c:v libx264 -crf 18 -c:a aac -q:a 100 $newvid
    }

    input : MOV01E.MOD (Created date 4/1/2012 10:10 AM)

    output : Apr012012_101005.mp4

    ANOTHER UPDATE

    The above command kind of works but I just realized all of the files are output to the root directory. I changed the command a bit but I’m not sure what’s going on :

    Get-ChildItem *.MOD -recurse | % {
       $newvid =  [io.path]::ChangeExtension($_.LastWriteTime.toString("MMMddyyyy_HHmmss"), '.mp4')
       ffmpeg.exe -i $_.FullName -c:v libx264 -crf 50 -c:a aac -q:a 100 $newvid
    }
  • ( Ubuntu 18 ) How to auto delete files every 3 hours in a directory var/www/html/stream that file name start with 1080 or 720 or 480 or 360 ? [closed]

    5 mars 2020, par Ahmed Kaicer

    How to auto delete files every 3 hours in a directory var/www/html/stream that file name start with 1080 or 720 or 480 or 360 ?

    Iam doing this because once ffmpeg stops for any reason, it still keeps the old file and folder size is huge. Thanks for your help

  • How can I merge video files (has audio stream) and audio file (as a bgm) using ffmpeg ?

    18 février 2016, par ntaku

    I want to merge video files (has audio stream) and audio file (as a background music) using ffmpeg command.

    • video1.mp4 (has video and audio stream)
    • video2.mp4 (has video and audio stream)
    • audio.mp3 (audio stream only)

    These are sample files.
    https://www.dropbox.com/sh/ejmjmwk9j0nsk7z/AABqkYd7Zf9izRn785Vd92Wra?dl=0

    I tried these command and more but all didn’t work.

    ffmpeg -i video1.mp4 -i video2.mp4 -i audio.mp3 -filter_complex "concat=n=2:v=1:a=1" output.mp4

    ffmpeg -i video1.mp4 -i video2.mp4 -i audio.mp3 -map 0 -map 1 -map 2 output.mp4

    How can I create the video like this structure in one command ?

    video channle1 | video1 video stream | video2 video stream |
    audio channle1 | video1 audio stream | video2 audio stream |
    audio channel2 |                   audio                   |