Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (80)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

  • Revision 72932 : éviter un message d’erreur : call to undefined function ...

    22 mai 2013, par tcharlss@… — Log

    éviter un message d’erreur : call to undefined function saisies_lister_avec_sql (...)

  • swscale/output : Don't call av_pix_fmt_desc_get() in a loop

    8 septembre 2022, par Andreas Rheinhardt
    swscale/output : Don't call av_pix_fmt_desc_get() in a loop
    

    Up until now, libswscale/output.c used a macro to write
    an output pixel which involved a call to av_pix_fmt_desc_get()
    to find out whether the input pixel format is BE or LE
    despite this being known at compile-time (there are templates
    per pixfmt). Even worse, these calls are made in a loop,
    so that e.g. there are eight calls to av_pix_fmt_desc_get()
    for every pixel processed in yuv2rgba64_X_c_template()
    for 64bit RGB formats.

    This commit modifies these macros to ensure that isBE()
    is evaluated at compile-time. This saved 41184B of .text
    for me (GCC 11.2, -O3). Of course, it also improved performance.
    E.g. ffmpeg_g -f lavfi -i testsrc2,format=yuva420p -pix_fmt rgba64le \
    - threads 1 -t 1:00 -f null - (which uses yuv2rgba64le_X_c,
    which is an invocation of yuv2rgba64_X_c_template() mentioned above),
    performance improved from 95589 to 41387 decicycles for one call
    to yuv2packedX ; for the be variant the numbers went down from
    76087 to 43024 decicycles.

    Reviewed-by : Anton Khirnov <anton@khirnov.net>
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libswscale/output.c
  • PHP CURL call behaving asynchronously

    5 août 2015, par Prashant

    I have 2 different servers. In server 2 I have a API function which basically does video conversion of the file and generates thumbs. I have created logs after each functions in server 2 and server1 so that I can check what is happening in the server. From server1 I make a curl call which calls server2 API and sends necessary info like path and type of file etc to server2. The server to converts the media files and generate thumbs. All this process is done using ffmpeg and then server2 uploads converted video to rackspace cloud.
    This process runs in a cron job. In the cron job server1 reads media file path from a table and sends them one by one to server 2 by curl call.

    Problem : This process takes time and what is happening that when server2 code is processing 1st video file server1 sends another video file. It does not wait for the response of server 2. Now server two is processing 1st and second then meanwhile server1 sends another then all videos in server two processed.Server two sends response for all videos one by one. I can see whole process in logs. But I’m not getting how this can be happen in PHP. As far as I read that PHP lines executes one by one. So server 1 should wait for response of server2.

    Note : I have increased curl timeout also but that also does not work.