Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (99)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Les sons

    15 mai 2013, par
  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (7033)

  • FFMPEG mixing two stereo files code question

    9 octobre 2020, par J. J.

    I have a ffmpeg code :

    


    C:\ffmpeg\bin\ffmpeg.exe -stream_loop -1 -i "%~2" -i "%~1" -filter_complex "[0:0][1:0] amix=inputs=2:duration=shortest" -f wav "%~3n"


    


    I want to generate a wav stereo file from two wav stereo input files. It seems to work but what does this part of the code exactely ?

    


    [0:0][1:0]


    


    Thank you for your help. It seems like the volume of one of the input files is a little bit reduced ?

    


  • avformat_open_input sometimes running correct, but sometimes return error code -5

    15 juin 2020, par Jianhua Zhu

    When I in C# use ffmpeg.AutoGen call ffmpeg dll files, the function avformat_open_input open audio device, sometimes it's correct, it can open the audio device, but sometimes it return error, the error code is -5. and ffmpeg log error message : Could not enumerate audio only devices (or none found).
How can I do ? The ffmpeg version is 4.2.3

    



    ret = ffmpeg.avformat_open_input(&aCtx, System.Text.Encoding.UTF8.GetString(encodeAudio), ifmt, &parm);


    


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