Recherche avancée

Médias (91)

Autres articles (87)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (7589)

  • opts : add list device sources/sinks options

    7 août 2014, par Lukasz Marek
    opts : add list device sources/sinks options
    

    Allows to list sources/sinks of the devices that implement
    that functionality.

    Signed-off-by : Lukasz Marek <lukasz.m.luki2@gmail.com>

    • [DH] cmdutils.c
    • [DH] cmdutils.h
    • [DH] cmdutils_common_opts.h
    • [DH] doc/fftools-common-opts.texi
  • Python, ffmpeg split list of audio files

    24 novembre 2020, par emil

    I know how to split one single audio file with python and ffmpeg :

    &#xA;

    command = "ffmpeg -i a.wav -f segment -segment_time 60 -c copy out_dir/output%09d.wav"&#xA;command = shlex.split(command)&#xA;subprocess.run(command)&#xA;

    &#xA;

    For my current task, I have a list of several hundred .wav files I want to split.

    &#xA;

    My current solution is :

    &#xA;

    def parse_and_split_dir(directory, out_dir):&#xA;  files = [x for x in os.listdir(directory) if ".wav" in x]&#xA;  print(files)&#xA;  cntr = 0&#xA;  for wav in files:&#xA;    wav = wav.replace(" ", "\ ")&#xA;    temp_dir = os.path.join(out_dir, str(cntr))&#xA;    Path(temp_dir).mkdir(parents=True, exist_ok=True)&#xA;    temp_dir = os.path.join(temp_dir, "output%05d.wav")&#xA;    command = "ffmpeg -i {} -f segment -segment_time 60 -c copy {}".format(os.path.join(directory, wav), temp_dir)&#xA;    command = shlex.split(command)&#xA;    subprocess.run(command)&#xA;    cntr &#x2B;= 1&#xA;&#xA;&#xA;

    &#xA;

    I list all .wav files, and for each file I create a directory where I store the split files into. This implies that file naming start with index 1 for each new file.&#xA;E.g. folder 1 contains files ...1.wav to ...9.wav, folder 2 contains ...1.wav to ...13.wav and so on.

    &#xA;

    In short, I ideally want to parse the whole directory with a single command, while keeping the naming continually from file to file, e.g. when the last wav saved its last split with ...10.split, the next split for the next file should be saved as ..11.split.

    &#xA;

    I thought about first concatenating all the single files to one file, and then splitting them again (which introduces massive overhead), and unnecessarily consumes memory and disk space. An alternative I thought of was using a *.wav wildcard, but ffmpeg found no file called *.wav(which is expected).

    &#xA;

    Related question : 1

    &#xA;

  • Core : Add "method" field to error list entry

    31 mars 2014, par YuraDubensky
    Core : Add "method" field to error list entry
    

    To check what kind of validation rule was broken, so we could find a
    difference between required or regex validation error raised.

    Closes #1035