Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (58)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (9188)

  • PHP exec or shell_exec not returning process id (PID) on Windows Wamp

    17 mai 2013, par HoplaYann

    I am on windows 7, using a WampServer, and trying to use FFMPEG.

    The encoding works, but I can't get a process id back from either the exec()
    method nor the shell_exec() methods.

    This is my code :

    $cmd = C:\ffmpeg\bin\ffmpeg.exe -i "C:\...\4ch.wav"  -ar 44100 -ab 48000 -f mp3 -y "C:\...\enc_4ch.mp3"

    This what I was trying to do with shell_exec :

    shell_exec("nohup $cmd > /dev/null & echo $!");

    And with exec :

    exec("nohup " . $this->_command . " > /dev/null 2>/dev/null &") ; // returns null
    exec("nohup " . $this->_command . " > /dev/null 2>&1 &"); // also returns null

    Please let me know what I do wrong, as I'd like later to use the following method to check if my process is still running :

    private function is_process_running($proccess_id)
       {
           exec("ps $proccess_id", $process_state);
           return (count($process_state) >= 2);
       }

    thank you in advace

  • avformat_open_input return value, error code on NaCl Module

    7 février 2016, par Jar

    I’m trying to port FFmpeg into my NaCl module.

    So far, my module linked ffmpeg and SDL libraries.

    It already can play YUV format video which is directed load into memory and copy into YUVOverlay buffer (it’s very easy).

    Now, I want to use ffmpeg to decode video, but when I call the function avformat_open_input it returns -5 when input is URL string, such as rtmp:// or mmsh:// ; it returns -1052488119 when input is file name, such as /saved/tmp (I mount the file system - html5fs).


    There are some questions :

    1. What means of -5 and -1052488119 ?
    2. If file can’t open by avformat_open_input, is it possible the input type is from buffer not from file name or url string ?

    If I’m not clearly about my question or description, you can tell me.
    If you are doing the same thing or having the same problem, we can discuss together.

    Thanks,
    Jar

  • avcodec/get_buffer : Don't get AVPixFmtDescriptor unnecessarily

    15 août 2022, par Andreas Rheinhardt
    avcodec/get_buffer : Don't get AVPixFmtDescriptor unnecessarily
    

    It is unused since 3575a495f6dcc395656343380e13c57d48b9f976
    (and the error message is dangerous : av_get_pix_fmt_name(format)
    returns NULL iff av_pix_fmt_desc_get(format) returns NULL
    and using a NULL string for %s would be UB).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/get_buffer.c