Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (102)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7608)

  • Batch process audio files and image files to create movie files by matching multiple wildcard values

    29 septembre 2022, par psychaudio

    I'm attempting to batch-process audio and image files to create video files using a Shell script with FFmpeg.

    


      

    1. The ffmpeg script works in Terminal :
    2. 


    


    ffmpeg -loop 1 -i image.png -i audio.wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest output.mp4


    


      

    1. A nested for loop with wildcards works as a batch script :
    2. 


    


    #!/bin/sh
for img in *.png; do
    for wav in *.wav; do
        ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest ../mb/$img.mp4
    done
done


    


    The only problem here is that it creates more combinations than I need. I'd like to be able to match wildcard values and only mix those together. I'd like to be able to prepare the filenames to match in advance to make this easier : For example, only match 1.png with 1.wav to make 1.mp4, 2.png with 2.wav to make 2.mp4 and so on. I'm able to modify the script to match the wildcards in a Regex, but I'm not sure if there is a way to then execute the logic above. Here is what I am attempting :

    


    #!/bin/sh
img=*.png
wav=*.wav

if [[ ${img%.*} == ${wav%.*} ]];
    then
        ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest $img.mp4;
    else
        echo "Failure"
    fi


    


    This begins by overwriting the image files, so it does not appear to work as planned. Is there a simpler way to do this ? Perhaps looping through images 1..5 in one folder and audio files 1..5 in another ?

    


    Thanks for any insights, and happy to provide more context (very new to this, so still learning).

    


  • stream_loop generate a big size video [FFMPEG]

    26 mars 2021, par Mouaad Abdelghafour AITALI

    I'm trying to loop a short video for e.g. 190 time to match the audio length, I use the following code :

    


    -y -stream_loop  190  -i input.mp4 -c copy output.mp4


    


    The command above works, but it generates video with huge size for video with 3min the size is 885 MB

    


    2021-03-25 23:52:30.445 5687-6253/maa.abc.music_maker D/XXX: LOOPING VIDEO SIZE ===> 885.845MB


    


    Or there's any way I can loop the video to match the audio length without using -stream_loop

    


  • Anomalie #3615 (Fermé) : Evitons les redirections

    8 décembre 2015, par Franck Dalot

    Bonjour
    spip 3.1 [22634]

    Il reste encore dans le core des url de type .org au lieu de .net
    Je croyais que cela avait été fait, mais il semble que non :-(
    Exemple :
    Faudrait faire une transformation des url du type :
    http://core.spip.org/
    en :
    https://core.spip.net/

    http://forum.spip.org/
    en :
    http://forum.spip.net/

    http://demo.spip.org/
    en :
    http://demo.spip.net/

    Pendant que j’y suis, il s’agit de sites de la galaxie ou pas ?
    http://math.spip.org/tex.php
    https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc_version.php#L234

    http://example.org/squelettes/bg.png
    http://zone.spip.org/trac/spip-zone/browser/_core_/plugins/compresseur/tests/css/expected_url_abs.css
    Car ils ne sont pas en .net

    Franck