Recherche avancée

Médias (91)

Autres articles (21)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (3935)

  • Running ffmpeg silently on NodeJS (Windows)

    5 janvier 2021, par Paulo Bertotti

    I'm trying to run FFMPEG as a child process on NodeJS to extract a snapshot of an mp4 video on Windows. But even spawning the process with the "silent" option, it stills opening the command prompt for a short period. Any idea of what might be happening ?

    


    The code looks something like this :

    


    const snapshot = spawn(
              "ffmpeg",
              [
                "-ss",
                "00:00:07",
                "-i",
                `${this.directory}\\${file.name}`,
                "-vframes",
                "1",
                "-q:v",
                "2",
                `${this.directory}\\channel${this.channelNum}_snapshot.png`,
              ],
              { silent: true }
            );


    


  • Unable To Add Comment Metadata to MP3 File Using Windows FFMPEG

    4 avril 2019, par Muldesia

    I’ve previously used FFMPEG to successfully add various ID3 tags to MP3 files. However, I’m having trouble adding a ’comment’ tag.

    ffmpeg -i "InputFile.wav" -metadata comment="comment text" "OutputFile.mp3"

    ffprobe.exe, when examing the output file, shows the comment tag with the expected value. If I then go into the file properties in Windows, and view the Details tab, I see an empty comments field. Also appears empty in iTunes.

    If I give a value to the ’comments’ field using the Window’s file properties window, and then run ffprobe on the file again, I can see the comment tag with the updated value. So Windows can write to it successfully. The tag name appears identical as to when I use FFMPEG to set the comment.

    Does FFMPEG support writing the comment ID3 tag to MP3 files ? If so, how can I do this ?

    Many thanks !

  • Using && in Windows FileAssociation Action Commandline

    31 août 2017, par GavinBrelstaff

    I can use the && conjunction from within a standard Windows CMD shell to run two commands on the same line as such :

    "C:\Program Files (x86)\ffmpeg\ffmpeg.exe" -i "%1" -write_xing 0 -ac 2 -ar 24000 -ab 48k -id3v2_version 3 -write_id3v1 1 "%1".mp3 && DEL /Q "%1"
    • by which I delete the input file after having successfully converted it into mp3 output file using ffmpeg

    But the same line of code crashes when I insert it in to the appropriate RegEdit location e.g. :

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Applications\foobar2000.exe\shell\mp3\command]
    @="\"C:\\Program Files (x86)\\ffmpeg\\ffmpeg.exe\" -i \"%1\" -write_xing 0 -ac 2 -ar 24000 -ab 48k -id3v2_version 3 -write_id3v1 1 \"%1\".mp3 && DEL /Q \"%1\" "

    while it worked fine before I added the trailing && clause. You run it by a right click context menu item.

    Is there any way to achieve this preferably without creating additional BAT/CMD files. I tried placing ( ) brackets around the entire line but then it seemed to change scope and no longer find the input file.