Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (88)

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

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (6742)

  • Revision 926a6f63cb : sh tests : Add support for running tested programs within another program. Speci

    11 juillet 2014, par Tom Finegan

    Changed Paths :
     Modify /test/decode_to_md5.sh


     Modify /test/decode_with_drops.sh


     Modify /test/postproc.sh


     Modify /test/resize_util.sh


     Modify /test/simple_decoder.sh


     Modify /test/simple_encoder.sh


     Modify /test/tools_common.sh


     Modify /test/twopass_encoder.sh


     Modify /test/vp8cx_set_ref.sh


     Modify /test/vp9_spatial_svc_encoder.sh


     Modify /test/vpx_temporal_svc_encoder.sh



    sh tests : Add support for running tested programs within another program.

    Specifying the —prefix command line arg executes all test programs within the
    context of the prefix string, which is assigned to VPX_TEST_PREFIX.
    All test functions updated to include VPX_TEST_PREFIX in their eval command.

    Change-Id : I2e215cc8f216048edf3269db02a6b5660fe32318

  • MSVS 2013 Update 2 support

    31 mai 2014, par Steven Walters
    MSVS 2013 Update 2 support
    

    The first MSVS compiler C99 compliant enough to build x264.
    Use `CC=cl ./configure` to compile with it.

    • [DH] .gitignore
    • [DH] Makefile
    • [DH] common/osdep.h
    • [DH] configure
    • [DH] input/avs.c
    • [DH] tools/msvsdepend.sh
    • [DH] x264.c
    • [DH] x264.h
  • Running ffmpeg command using shell_exec in php as a background process in windows

    2 octobre 2014, par Vedant Terkar

    I’m trying to convert a video from .mp4 to .flv in php using :

    shell_exec("ffmpeg -i input.mp4 output.flv 1>output.txt 2>&1");

    Also I am taking output of entire process in output.txt file to use it in creation of progress bar in javascript(that’s not the problem here).

    The problem is :
    if video(input.mp4) size is>50Mb then it takes too long to complete shell_exec (>30secs). which hangs the UI unnecessarily.

    So what i want to know is :

    • Is there any way to make shell_exec work together with rest of the script ?

    • I need only to initiate ffmpeg.exe via php script and then php script can terminate.

    • Once the process is initiated javascript will start its magic(at client side).

    So I need to execute shell_exec async. with rest of the script. and once the process is initiated the script should inform client by simply echoing. It should not wait for ffmpeg.exe to complete its working. Is it possible ?

    I’ve seen several similar questions on SO, many of them describing the same problem

    ex :

    Run a ffmpeg process in the background

    Run PHP Task Asynchronously

    ffmpeg Progress Bar - Encoding Percentage in PHP

    Can ffmpeg show a progress bar ?

    etc.

    BUT

    They all were using linux OS’s or Using curl. I’m using windows 8 (wamp without curl and any other add-on except ffmpeg.exe).

    So Is it possible ? can experts here please help me one more time ?

    Thanks in advance.