Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (112)

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

  • 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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (8034)

  • no sound when streaming mkv video to html 5 video player via node js

    8 septembre 2013, par Tristan

    I have been playing around with building a simple html 5 media server for all my mkv files since I discovered chrome can play them when just dragging and dropping the file into a new tab !

    So I actually have something up and going and I am able to stream the mkv files through a nodejs sever to a simple html 5 video player, the only problem is there is no sound and the volume icon in the controls is crossed and greyed out !

    Now I realise that mkv files can have multiple audio streams within and this is probably my issue, that the video player doesn't know which one to use or is missing it for some reason.

    I have avoided using ffmpeg for the time being as I wanted to stream the videos without any transcoding (and without using express as shown in the fluent-ffmpeg stream example).

    See below for the code I use to stream the video :

    cFs.exists(sFileName, function(bExists){
       if (bExists)
       {
           var cFile = null;

           var cStat = cFs.statSync(sFileName);

           if (cRequest.headers['range'])
           {
               var aParts = cRequest.headers['range'].replace(/bytes=/, "").split("-");

               var nStart = parseInt(aParts[0], 10);
               var nEnd = aParts[1] ? parseInt(aParts[1], 10) : cStat.size - 1;
               var nChunkSize = (nEnd - nStart) + 1;

               cFile = cFs.createReadStream(sFileName, {start: nStart, end: nEnd});
               cResponse.writeHead(206, {
                   "Content-Type": "video/x-matroska",
                   "Content-Range": "bytes " + nStart + "-" + nEnd + "/" + cStat.size,
                   "Accept-Ranges": "bytes",
                   "Content-Length": nChunkSize

               });

               cFile.pipe(cResponse);

               cRequest.on('close', function(){
                   cFile.destroy();
               });
           }
           else
           {
               cResponse.writeHead(200, {
                   "Content-Type": "video/x-matroska",
                   "Content-Length": cStat.size
               });

               cFile = cFs.createReadStream(sFileName);
               cFile.pipe(cResponse);
           }

           cRequest.on('close', function(){
               if (cFile)
               {
                   cFile.destroy();
               }
           });

           /*new ffmpeg({
               source: sFileName
           }).toFormat('webm').writeToStream(cResponse, function(){
               console.log(arguments);
           });*/
       }
       else
       {
           cResponse.writeHead(404, {
               "Content-Type": "text/plain"
           });

           cResponse.write("404 Not Found\n");
           cResponse.end();
       }
    });

    if you could help me sort out the sound for the code above or can provide a fluent-ffmpeg solution without using express and retaining as much image quality as possible that would be great !

  • Compile FFMPEG Using Eclipse Android

    3 septembre 2013, par Ivelius

    NDK experts , I need your help...

    My goal is to easily compile ffmpeg library using android NDK and eclipse.

    What I usally do when I want to develop using NDK , is right click on android project in eclipse ->Android Tools -> Add Native support. And Everything works and compiles.
    Every time I want to build my project , I just hit "Build" button (with a hammer icon on it).

    Now I just need to add all ffmpeg libraries and run a simple program like this.
    I downloaded latest ffmpeg libraries from official website.I've extracted downloaded content into JNI library . And when I try to build , I get countless errors. Something like
    "fatal error : libavutil/avconfig.h : No such file or directory" ...

    My Android.mk file looks like this :

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)
    include $(call all-subdir-makefiles)

    LOCAL_MODULE    := HELLONDK
    LOCAL_SRC_FILES := hello-ndk.cpp

    include $(BUILD_SHARED_LIBRARY)

    EDIT :
    I've been looking for a solution for a few days before posting this question.

  • movenc : Check for errors from mov_create_chapter_track

    26 août 2013, par Martin Storsjö
    movenc : Check for errors from mov_create_chapter_track
    

    On failures in the write_trailer function, we could also ignore
    the errors and try to finish the file despite these errors (which
    would only leave an incomplete chapters track). It’s probably better
    to signal the error clearly to the caller though (and if this
    function failed there’s no guarantee that there’s enough memory to
    finish the trailer either).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/movenc.c