Recherche avancée

Médias (91)

Autres articles (61)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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 (10503)

  • batch FFMPEG-Normalize AND convert via Python ?

    9 novembre 2017, par Boris

    I am currently working on a script to help me batch convert and
    normalize audio files (wma to mp3)
    In the search of useful tools I was lucky to stumble on FFMPEG-Normalize !

    My script is running from Python and I am calling FFMPEG via subprocess.
    I could not get the FFMPEG-Normalize to output Mp3 files - thus I am
    doing another FFMPEG call to convert the resulted wav files.
    Do you know how to make FFMPEG normalize also convert to mp3 ?
    The second issue is that only part of the files in my folder are being
    processed, I cant understand why. Out of 8 files I have in the path,
    sometimes all of them are processed and sometimes only 3, or 5... very
    weird !
    Here is my code :

    for file in sorted(os.listdir(pathdes)):
       os.chdir(pathdes)
       subprocess.call(['ffmpeg-normalize','-m','-l','-0.1',file])
       file = 'normalized-' + file
       file = file[:-3] + "wav"
       file2 = file[:-3] + "mp3"
       os.chdir(pathdes)
       subprocess.call(['ffmpeg', '-i', file,'-b:a','320k', file2])

    I understand FFMPEG normalize was written in Python, maybe there is
    another way to call it other than subprocess ?
    Am I missing something ? (i know i am !)

    Thank you so much !

  • FFmpeg compile opus error

    10 août 2015, par David Norgren

    I’m following this tutorial to build FFmpeg statically (to not need DLLs) using Microsoft’s compilers : http://cristobaldobranco.github.io/blog/2015/01/20/compiling-ffmpeg-with-windows-tools/

    I’m however running into trouble when attempting to compile this :

    #pragma comment (lib, "libavformat.a")
    #define __STDC_CONSTANT_MACROS

    extern "C" {
       #include <libavformat></libavformat>avformat.h>
    }

    int main() {
       av_register_all();
       return 0;
    }

    It seems to be able to find the header and library files, but I’m getting weird errors about opus :

    Opus error

    Here are my MSYS commands :

    cd C:/Libs/ffmpeg
    ./configure --toolchain=msvc --arch=x86 --prefix=build/ --disable-network
    make
    make install

    How do I get rid of these errors ?

  • How to "mimic" -c copy when using filters with ffmpeg ? Is there a built-in feature or I'll need some scripting ? [closed]

    29 décembre 2023, par Fabio Freitas

    I'm aware that any stream ffmpeg processes is decoded before applying any desired changes and then re-encoded, which means the stream in question can't simply be copied with -c copy.

    &#xA;

    Still, I'm not yet very knowledgeable on dealing with media files. Currently, the single issue I'm addressing is cropping black bars from the sides when 4:3 is encoded as 16:9.

    &#xA;

    That's fairly simple, and I quickly managed to get it going.

    &#xA;

    Then I noticed some weird stuff via mediainfo and the explorer's side panel. Stream sizes, bitrates and some other details were different than expected.

    &#xA;


    &#xA;

    That's where -c copy comes in. Over the years, every time I tried to solve this, answers would stop at "-c copy can't be used if the stream will be decoded", which is good enough to stop noobs like me from wasting time.

    &#xA;

    But since I don't know how to use advanced encoding settings, the -c copy I'm looking for is actually how can I re-encode my processed stream using the same (or most similar) settings used before I decoded it.

    &#xA;

    Is there such an option in ffmpeg ? Are these settings I'm looking for even obtainable by any means ? And if "no" and "yes", could I use ffprobe to write a script for ffmpeg ?

    &#xA;

    BTW, I'm on Windows 11, but I have Git's SCM tools available.

    &#xA;