Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (40)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (4538)

  • rtmpproto : avoid setting auth var value if null

    16 mai 2014, par Reynaldo H. Verdejo Pinochet
    rtmpproto : avoid setting auth var value if null
    

    Use default values if parsed variable is found not to
    have any value. Avoids crashing at strlen for salt/user
    on the auth call afterwards and needless NULL assignments
    for the rest (default is already NULL for those).

    Should fix Coverity Scan issues #966644 and #966645

    Signed-off-by : Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>

    • [DH] libavformat/rtmpproto.c
  • ffplay compilation with extra flags

    21 mai 2014, par Pavan K

    I would like to compile ffplay with an external header which is written in c++

    ffplay.c

    #include "oscpkt.hh"
    //rest of the file

    oscpkt.hh

    #include <cstring>
    //rest of the file
    </cstring>

    The error is

    CC  ffplay.o
    In file included from ffplay.c:59:0:
    oscpkt.hh:69:19: fatal error: cstring: No such file or directory
    compilation terminated.
    make: *** [ffplay.o] Error 1

    I think I have to provide -lstdc++ externally to pickup the cstring library

    Could anyone tell me how to add this in the makefile of ffmpeg compilation. There are no flags that I could add to, maybe I am missing something.

    You can find the sources here :

    makefile
    oscpkt.hh

  • Running PHP from command line

    9 juin 2014, par Kit Carrau

    I am trying to manage a queue of files waiting to be processed by ffmpeg. A page is run using CRON that runs through a database of files waiting to be processed. The page then builds the commands and sends them to the command line using exec().

    However, when the PHP page is run from the command line or CRON, it runs the exec() OK, but does not return to the PHP page to continue updating the database and other functions.

    Example :

    &lt;?php
    $cmd = "ffmpeg inpupt.mpg output.m4v";

    exec($cmd . ' 2>&amp;1', $output, $return);

    //Page continues...but not executed
    $update = mysql_query("UPDATE.....");
    ?>

    When this page is run from the command line, the command is run using exec() but then the rest of the page is not executed. I think the problem may be that I am running a command using exec() in a page run from the command line.

    Is it possible to run a PHP page in full from the command line which includes exec() ?

    Or is there a better way of doing this ?

    Thank you.