Recherche avancée

Médias (91)

Autres articles (72)

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

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5216)

  • Can FFmpeg encode multiple files at once ?

    22 mai 2021, par ivan

    I'm working on a shell script to encode the audio files in a given directory and output .flac files to another directory. My proof of concept loops through each file one by one and runs it through ffmpeg. I suspect there's a way to pass the whole list of input files to ffmpeg in a single command, but haven't been able to figure it out.

    



    My current version looks like this :

    



    #!/bin/sh

encode_album() {
    local artist=$1; shift
    local album=$1; shift
    local in_dir="${HOME}/Music/raw-imports/${artist}/${album}"
    local out_dir="${HOME}/Music/library/${artist}/${album}"

    mkdir -p "${out_dir}"

    find "${in_dir}" -type f -name *.aiff | while IFS= read -r in_file; do
        local track_name=$(basename "${in_file}" .aiff)
        local out_file="${out_dir}/${track_name}.flac"

        encode_track "${in_file}" "${out_file}"
    done
}

encode_track() {
    local in_file=$1; shift
    local out_file=$1; shift

    null ffmpeg -i "${in_file}" -codec:a flac "${out_file}"
}

encode_album "Rolf Lislevand" "La Mascarade"


    



    This works, but do I need to feed these files into ffmpeg one by one, or is it capable of accepting a batch of files and processing them ?

    


  • avformat/dashenc, hlsenc : Return 0 on succes from write_header

    5 mars 2024, par Andreas Rheinhardt
    avformat/dashenc, hlsenc : Return 0 on succes from write_header
    

    Do not propagate the return value of avformat_write_header(),
    as it contains the information whether the output had
    already been initialized in avformat_init_output(),
    but this is set generically ; the return value of
    FFOutputFormat.write_header is not documented at all
    (and is currently ignored if >= 0), but it is more future-proof
    to simply return 0 on success.

    Reviewed-by : Liu Steven <lq@chinaffmpeg.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavformat/dashenc.c
    • [DH] libavformat/hlsenc.c
  • Effectively re-wrote page-player (Muxtape-style) demo, now traverses live DOM for next item(s), (should be more AJAX-friendly), event delegation now handles any links added at any time. Externalised experimental features, too

    26 novembre 2010, par Scott Schiller

    m demo/page-player/basic.html m demo/page-player/index.html + demo/page-player/script/optional-page-player-metadata.js m demo/page-player/script/page-player.js Effectively re-wrote page-player (Muxtape-style) demo, now traverses live DOM for next item(s), (should be more AJAX-friendly), event (...)