Recherche avancée

Médias (91)

Autres articles (41)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

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

Sur d’autres sites (5996)

  • can't re-stream using FFMPEG to MP4 HTML5 video

    12 mars 2016, par deandob

    I have been struggling to get live streaming working from FFMPEG for many hours so raising the white flag and asking for help here.

    My scenario is I have an IP security camera that I can successfully connect via RTSP (h.264) and save the video as file segments, and they play back fine either through a standalone app like VLC or via a node.js web server app that sends the ’video/mp4’ & keep-alive header and streams the mp4 files previously saved by FFMPEG to a HTML5 video client.

    However I want to take the same RTSP stream and re-stream it live to a HTML5 client. I know the HTML5 client bits and the FFMPEG remuxing to MP4 work as the MP4 recording/streaming works.

    I have tried the following :

    1) Set the output as a HTTP string. I don’t think FFMPEG supports this as I get ’input/output error’ and the FFMPEG documentation talks about another app called FFSERVER which isn’t supported on Windows

    ffmpeg -i rtsp://admin:12345@192.168.1.234:554 -vcodec copy -f mp4 -movflags frag_keyframe+empty_moov http://127.0.0.1:8888

    2) As ffmpeg runs as a spawn in node.js, I have tried piping the STDOUT to a node http server, using the same header I use for the recording playback stream. I can view this stream in VLC which is a good sign but I can’t get the HTML client to recognize the stream and it shows blank, or occasionally a static image of the stream.

    var liveServer = http.createServer(liveStream);
    var liveStream = function (req, resp) {                                            // handle each client request by instantiating a new FFMPEG instance
       resp.writeHead(200, {"Content-Type": "video/mp4", "Connection": "keep-alive"});
           var xffmpeg = child_process.spawn("ffmpeg", [
               "-i", "rtsp://admin:12345@192.168.1.234:554" , "-vcodec", "copy", "-f", "mp4", "-movflags", "frag_keyframe+empty_moov", "-"   // output to stdout
               ],  {detached: false});

               xffmpeg.stdout.pipe(resp);

               xffmpeg.on("exit", function (code) {
                    console.log("Xffmpeg terminated with code " + code);
               });

               xffmpeg.on("error", function (e) {
                     console.log("Xsystem error: " + e);
               });

               xffmpeg.stdout.on("data",function(data) {
                     console.log('Xdata rcv ' + data);
               });

               xffmpeg.stderr.on("data", function (data) {
                     console.log("XFFMPEG -> " + data);
       }
    }

    I have tried both IE11 and Chrome HTML5 clients.

    I suspect there is something not quite right with the format of the stream being sent which stops the HTML5 video client but not enough to stop VLC. The irritating thing is that the code above works just fine for playing back MP4 streams that have been recorded.

    Any ideas how to get live re-streaming via FFMPEG working ? Thanks.

  • Revision 43be86dbff : vp10 : remove double MV value check. This has virtually no effect on coding effi

    8 septembre 2015, par Ronald S. Bultje

    Changed Paths :
     Modify /vp10/common/mvref_common.c


     Modify /vp10/common/mvref_common.h



    vp10 : remove double MV value check.

    This has virtually no effect on coding efficiency, but it is more
    logical from a theoretical perspective (since it makes no sense to
    me that you would exclude a MV from a list just because it’s sign-
    inversed value is identical to a value already in a list), and it
    also makes the code simpler (it removes a duplicate value check in
    cases where signbias is equal between the two MVs being compared).

    See issue 662.

    Change-Id : I23e607c6de150b9f11d1372fb2868b813c322d37

  • libFLAC/bitreader.c : Fix undefined behaviour

    23 août 2015, par Erik de Castro Lopo
    libFLAC/bitreader.c : Fix undefined behaviour
    

    The function FLAC__bitreader_read_raw_int32() triggered undefined behaviour
    when sign extending an unsigned value. The Stanford Grahpics bithacks page
    provided an alternative that avoided UB.

    • [DH] src/libFLAC/bitreader.c