Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

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

Autres articles (89)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (15999)

  • Ffmpeg returning error code 1 in AWS Lamda function

    14 avril 2018, par Tometoyou

    I’m running a lambda function which takes an mp4 video, and adds a watermark of a png image over the top of it in the bottom right hand corner (with a 10px margin). It then outputs that image to a temporary location. It keeps failing with Error code 1, but that isn’t very helpful. I’m using a binary version of ffmpeg that is specified in the main directory of the code. I know that ffmpeg is set up correctly due to using it in another lambda function in this way, which works. But adding an overlay fails. Here is the relevant part of my code :

    function addWatermark(next) {
       var ffmpeg = child_process.spawn("ffmpeg", [
         "-i", target, // url to stream from
         "-i", watermarkPath,
         "-filter_complex" ,"overlay=x=W-w-10:y=H-h-10:format=rgb,format=yuv420p",
         "-c:a", "copy",
         "pipe:1"
       ]);
       ffmpeg.on("error", function(err) {
         console.log(err);
       })
       ffmpeg.on("close", function(code) {
         if (code != 0 ) {
           console.log("child process exited with code " + code); // Always exits here.
         } else {
           console.log("Processing finished !");
         }
         tmpFile.end();
         next(code);
       });
       tmpFile.on("error", function(err) {
         console.log("stream err: ", err);
       });
       ffmpeg.on("end", function() {
         tmpFile.end();  
       })
       ffmpeg.stdout.pipe(tmpFile)
       .on("error", function(err){
         console.log("error while writing: ",err);
       });
    }

    Can anyone spot what may be wrong ?

    UPDATE

    I’ve managed to print out some more logs, I’m getting the error :

    [NULL @ 0x42923e0] Unable to find a suitable output format for 'pipe:1'
  • Anomalie #4264 (Nouveau) : espace après code

    4 janvier 2019, par Maïeul Rouquette

    Testé sur contrib ce jour

    Soit le texte suivant

    1. <span class="CodeRay">[&amp;lt;code&amp;gt;#GENERER_SAISIES&amp;lt;/code&amp;gt;-&amp;gt;3364#GENERER_SAISIES].
    2. </span>

    Télécharger

    (note : il y a problème d’affichage, car redmine ne permet pas d’avoir une balise code dans du code, visiblement.

    Textwheel ajoute une espace entre la balise code fermante et la balise a fermante, ce qui est problèmatique.

  • FFMPEG : Compilation error for custom code

    13 février 2014, par sam

    I have a video decoder integrated in FFMPEG. All the code that i have currently integrated is pure C-code. For performance purposes, i have to integrate the corresponding SSE code into the FFMPEG's libavcodec.

    So i followed the same steps as i did while integrating the pure c code. While configuring i used the following command :

    ./configure --enable-sse --disable-yasm

    I have disabled yasm as i dont have one installed, if needed i can install it, but for c code integration, i had not installed it.

    After configuring, i give the command make, but i get all errors in my SSE code. So my first question is :

    -> Does giving —enable-sse ensures that the sse code will get compiled or i need to do something extra ? (Note : my processor supports upto sse 4.2 and the code i want to integrate is also in SSE4.2)

    Next, inorder to resolve this what i did was, i opened the config.mak file, and found all gcc commands and i appended them with a -msse4.2 option (this option i use to compile standalone SSE code that is, compiling code without integrating it with FFMPEG).

    After modifying the config.mak(which i think i shouldn't, because it is auto-generated on ./configure command), although i'm not getting any error in SSE code, but i get errors like undefined variable ... and error:No previous prototype for all the old C code which is already a part of the code( although in the source file i have included the required headers).

    So my second question is, I have manually modified config.mak file is it ok to do so ? If so, then how do i resolve the above issue ?

    Any help regarding this issue will be really helpful to me. Moreover there is no info on net available on compiling the FFMPEG code with SSE (except for using —enable-sse option while configuring, which i think is not working for me).

    Thanks in advance.