Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (61)

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

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

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

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

    


  • ffmpeg dont work in php shell_exec("ffmpeg -i $movie $pic &")

    26 septembre 2016, par josef

    I’m running the following script without any problems :

    <?php
    echo $video  = dirname(__FILE__)."\\MOVIES\\1.mp4";
    echo "<br />";
    echo $pic  = dirname(__FILE__)."\\PICTURES\\1.jpg";
    echo shell_exec("ffmpeg -i  $video  $pic &amp;");

    But when I run this one i get nothing :

    echo shell_exec("ffmpeg -i  C:\xampp\htdocs\Video-share-script\MOVIES\1.mp4  C:\xampp\htdocs\Video-share-script\PICTURES\1.jpg &amp;");

    the value of $video is C :\xampp\htdocs\Video-share-script\MOVIES\1.mp4
    and $pic is C :\xampp\htdocs\Video-share-script\PICTURES\1.jpg
    thank you

  • mobileFlash.check() for handling HTC Android + Flash 10.1, where flash does not load until on-screen (ie., in view.) If off-screen, positioned at left/top 0px in order to load (including scroll/resize if needed), then events released and movie moved off-screen. If in DOM already, flashLoadTimeout is set to 0 to allow infinite wait (eg., will not timeout and will load when scrolled into view.)

    14 août 2010, par Scott Schiller

    m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2.js mobileFlash.check() for handling HTC Android + Flash 10.1, where flash does not load until on-screen (ie., in view.) If off-screen, positioned at left/top 0px in order to load (including (...)