Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (107)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

Sur d’autres sites (8544)

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

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