Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (101)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (13246)

  • How can I run an ffmpeg command in a python script ?

    24 juin 2022, par Nexion21

    I want to overlay a transparent video over top of an image using ffmpeg and python

    


    I am able to do this successfully through terminal, but I cannot get ffmpeg commands to work in python. The following command produces the result that I want in terminal when I am in the directory with the files there.

    


    ffmpeg -i head1.png -i hdmiSpitting.mov -filter_complex "[0:v][1:v] overlay=0:0" -pix_fmt yuv420p -:a copy output3.mov


    


    In python, my code is simple :

    


    import os
import subprocess
command = "ffmpeg -i head1.png -i hdmiSpitting.mov -filter_complex \"[0:v][1:v] overlay=0:0\" -pix_fmt yuv420p -c:a copy output3.mov"
subprocess.call(command,shell=True)


    


    The code runs, there is no indication of an error, but no output is produced.

    


    What am I missing here ?

    


  • FFMpeg giving invalid argument error with python subprocess

    23 janvier 2020, par Emre Erol

    I am trying to convert a file or microphone stream to 22050 sample rate and change tempo to double. I can do it using terminal with below code ;

    #ffmpeg -i test.mp3 -af asetrate=44100*0.5,aresample=44100,atempo=2 output.mp3

    But i can not run this terminal code with python subprocess. I try many things but every time fail. Generaly i am taking Requested output format ’asetrate’ or ’aresample’ or ’atempo’ is not suitable output format errors. Invalid argument. How can i run it and take a stream with pipe ?

    song = subprocess.Popen(["ffmpeg.exe", "-i", sys.argv[1], "-f", "asetrate", "22050", "wav", "pipe:1"],
                           stdout=subprocess.PIPE)
  • FFmpeg - PHP Error Code 127

    25 avril 2013, par Kit

    I am trying to execute FFmpeg from php. I have installed FFmpeg-php, and the extension is in the modules directory and it shows up in phpinfo. FFmpeg is working fine as I can run the command in a terminal and it outputs the video. However, when I try and run the command from php using the following script :

    exec(ffmpeg -i input.avi output.avi);

    But I get a '127' error code.

    The extension is loaded in using :

    $extension      = "ffmpeg";
    $extension_soname   = $extension . "." . PHP_SHLIB_SUFFIX;
    $extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname;

    // Locate Extension
    define('FFMPEG_LIBRARY', '/usr/local/bin/ffmpeg');

    // Load Extension
    if (!extension_loaded($extension))
       echo dl($extension_soname) or die("Can't load extension $extension_fullname\n");

    I have also tried defining the aboslute extension location in the command :

    exec(/usr/local/bin/ffmpeg-i input.avi output.avi);

    Again, this works in the terminal but still returns the same erro code using the php exec().

    Has anyone got any ideas ?

    Thank you.