Recherche avancée

Médias (91)

Autres articles (29)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

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

Sur d’autres sites (3596)

  • shell_exec echo'ing too fast or too late

    15 septembre 2016, par root

    So I read throug this article : https://trac.ffmpeg.org/wiki/PHP
    and found this :

    <?php
    echo "Starting ffmpeg...\n\n";
    echo shell_exec("ffmpeg -i input.avi output.avi >/dev/null 2>/dev/null &");
    echo "Done.\n";

    the code works almost perfectly fine, but the only thing that bothers me is, that because the shell_exec is being executed in the background (so there is no loading sign on the tab the whole time) all the echo’s are being executed immediatly. This means, that the "Done" echo is being written before ffmpeg finished its task.

    But when I remove the ’&’ the site does also what it is intended to do but now it waits until the shell_exec is finished until it echo’s out the "Starting ffmpeg..."

    So I kinda have the problem of figuring out how to get to such an order :

    1) echo something
    2) execute commad and wait until its finished.
    3) echo again

    I am a total beginner to php but have experience in programming overall. Please have mercy.

    Thank you for your time !

  • How to use libraries ".lib" and ".a" files in GCC

    12 novembre 2022, par Blue Sky

    I have simple C code that uses some functions of libavcodec in FFmpeg. I try to compile the code with GCC (on Windows using MinGW) as follows :

    


    gcc -o mycode mycode.c


    


    But I get a lot of errors like "undefined reference to av_free". I know that these functions are defined in the libraries of FFmpeg. I do access files like avcodec.lib and libavcodec.dll.a, but I don't know how to use them with GCC so that I can compile and make my file. How can I solve this problem ?

    


  • How does subtitle hardcoding work in ffmpeg ?

    1er avril 2016, par Ketan Kulkarni

    The manual for the same is available on :
    http://superuser.com/questions/838072/ffmpeg-hardcoding-burning-filename-in-video
    https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo

    Sample command is :
    ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi