Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (35)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (2109)

  • How to create a random video from a random picture annd random audio file

    20 août 2019, par Francesco Milizia

    I am working on a batch conversion process where I need to add a random picture (a .jpg) on a random .mp3 and make an .mp4.

    This is the code I am using in terminal Mac OS X putting all the .mp3 and the .jpg in the same folder :

    for f in *.mp3; do /usr/local/Cellar/ffmpeg/4.1_1/bin/ffmpeg -r 1 -loop 1 -i abc5.jpg  -i "$f" -c:a copy -c:v libx264 -vf scale=1280:720 -shortest "${f%mp3}mp4"; done

    It works great, but I don’t know how to add another random feature for the .jpg files, so every time I have to put a different .jpg and change the name (usually in the file not in the script). I also know this must be something with for ((..., but I don’t know how to add it properly.

    for f in *.mp3; do /usr/local/Cellar/ffmpeg/4.1_1/bin/ffmpeg -r 1 -loop 1 -i abc5.jpg  -i "$f" -c:a copy -c:v libx264 -vf scale=1280:720 -shortest "${f%mp3}mp4"; done
  • Does FFMpeg random generate identical sequences of pseudo-random numbers for consecutive executions ?

    31 août 2020, par justew

    For example if I execute command twice :

    


    ffmpeg -i input.mp4 -vf geq=r='random(1)*255':g='random(1)*255':b='random(1)*255' -strict -2 output.mp4

    


    For the same source file, I have identical output files. Why ? I want to get different output files.

    


    Testing configuration :

    


    ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609


    


    I suppose that's because randomizer start value is identical. Does ffmepg have function like srand ?

    


    More specifically I want to add random noise just like this : noise=alls=20:allf=p+t+u. But if I try do so I got the same noise for different executions on the same input file.

    


  • Does FFMpeg random generates identical sequences of pseudo-random numbers for consecutive executions ?

    20 août 2020, par justew

    For example if I execute command twice :

    


    ffmpeg -i input.mp4 -vf geq=r='random(1)*255':g='random(1)*255':b='random(1)*255' -strict -2 output.mp4

    


    For the same source file, I have identical output files. Why ? I want to get different output files.

    


    Testing configuration :

    


    ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609


    


    I suppose that's because randomizer start value is identical. Does ffmepg have function like srand ?

    


    More specifically I want to add random noise just like this : noise=alls=20:allf=p+t+u. But if I try do so I got the same noise for different executions on the same input file.