Recherche avancée

Médias (91)

Autres articles (111)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (11141)

  • Catch if the Java proccess crashed

    17 janvier 2012, par VSheyanov

    I run java process to convert video using ffmpeg.exe.

    Runtime rt = Runtime.getRuntime();
    String cmd = FFMPEGFULLPATH + " -y -i " + '"' + mpeg4File + '"' + " -vcodec libx264 -vsync 2 " + '"' + H264file + '"';

    Process pr = rt.exec(cmd);

    ThreadedTranscoderIO errorHandler = new ThreadedTranscoderIO(pr.getErrorStream(), "Error Stream");
    errorHandler.start();
    ThreadedTranscoderIO inputHandler = new ThreadedTranscoderIO(pr.getInputStream(), "Output Stream");
    inputHandler.start();

    try {
         pr.waitFor();
    } catch (InterruptedException e) {
         LiveApplication.logger.info("Some shit happens during convertation 2 ");
         throw new IOException("UseTranscoderBlocking - Run_FFMPEG - process interrupted " + e);                  
    }

    But when the process started, sometimes especially with big files, but not always i get this windows message :

    enter image description here

    This happens only on Windows server 2008 and didn't happened on Windows 7.

    I have 2 questions :

    1. Why this process fails ?
    2. Can I catch this fail in Java, close
      this window and continue thread execution (maybe I'll restart this
      proccess).

    Thanks !

  • Use FFMPEG to stream images from one client to another through IIS (or other) server

    20 avril 2012, par eselk

    I'm new to FFMPEG and maybe I should post this in their forums, but you guys here seem to know everything, so here goes. I have a client app that takes screen shots and saves them as images (256 color bitmaps currently, can change if needed), it does this at a rate of about 4 fps. I currently use my own socket code written in C# to push these to my socket server (also C#) running on a Windows 2008 server. That server then sends these images out to several clients that display them as they are received and also buffers them to allow for rewind, pause, etc, like a DVR. My current format requires approx 100KB per frame, and thus only works for a very small number of clients.

    I started looking at FFMPEG and the compression with MPEG1 and especially MPEG4 is amazing, and so is the quality. What I'm looking for is a basic guide, tutorial, or steps, to produce something similar to my current design, but using FFMPEG and actual video streaming. Ideally the player side could be something like Flash or anything that is easy to embed in a .NET WinForm (or a browser control I can host in the WinForm), and it would need to support buffering still so they can pause and rewind (about 5 or 10 mins, which seems like a lot, but remember this is only 4 fps and 256 color, about 1 or 2 MB per min in my testing).

    I see that FFMPEG, the command-line utility, and I assume the API, even has options for posting to a server via UDP or TCP, so maybe I'll use that instead of my own socket code. Ideally my app would feed images to FFMPEG library at a rate of 4fps as they come from the screen-shot unit, and it would send these up to my IIS server (or another server ?) which would then server them to client(s) that could use them similar to a YouTube video.

  • C++/CLI — 0xc000007b (INVALID_IMAGE_FORMAT) with /clr option on

    9 mars 2015, par OverMachoGrande

    I’m trying to build a C++/CLI executable to which I statically link ffmpeg (libavcodec, libavformat, libavutil & swscale). It works fine if I build it normally (without /clr, so no CLR support), it works. However, when I add CLR support, it won’t start up with a 0xc000007b. A "Hello World" C++/CLI app runs fine, though.

    Supposedly the same thing happens with Boost::Threads, but since ffmpeg is pure C, I doubt it’s using Boost.

    My config :

    • Visual Studio 2008 Professional SP1
    • Windows XP Pro SP3 (x86)
    • .NET Framework 3.5 SP1

    Thanks,
    Robert