Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (46)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8908)

  • GDB crashes when trying to attach to ffmpeg process that is ran by ASP.NET Core app

    13 mars 2019, par Dory

    I have an ASP.NET Core app that runs on windows and activates ffmpeg_g.exe,
    I am trying to attach a gdb.exe to the ffmpeg process,
    at first, it seems to work :

    • the ffmpeg process seems paused (the video that ffmpeg produces is stopped)
    • gdb is able to read the debug symbols from ffmpeg
    • I can see all ffmpeg’s threads, and switch to the thread that I interested in.
      (using threads command and thread number)
    • I can see the backtrace (with bt command)
    • I can set breakpoints
    • but when I run continue command or step, ffmpeg crashes immediately :

      [Thread 24620.0x63c8 exited with code 4294967295]
      [Thread 24620.0x6284 exited with code 4294967295]
      [Inferior 1 (process 24620) exited with code 037777777777]

    things that are may be relevant :

    • the ffmpeg is built on Ubuntu and it does work by itself
    • I was able to attach to ffmpeg with gdb, and it works ok
      when I run ffmpeg by itself and not from the .net-core app
    • the app and the cmd window from which I run gdb, run "as administrator"
    • I tried all combinations of the app and gdb, run as administrator or regular user.
    • I use GDB that comes with mingw-w64
    • I tried to run many gdb commands to find a clue to this,
      some made only ffmpeg to crash, but, for example
      if I run info program command, it crashes both ffmpeg and GDB.
  • Image path with wildcard not working when launching FFmpeg as process

    26 mai 2015, par Léon Pelletier

    In an Xamarin Android project, I’m launching FFmpeg as a process. Thus, I’m sending my parameters in a array that looks like :
    "-i", "img%d.png" ... etc

    When converting from an MP4 to images, it handles the wildcard properly. But when doing the reverse process, it complains about the img%d.png file being missing.

    Does it complains about the real file (img0.png) being missing, or is it trying to really find a file named img%d.png ?

       public Clip ConvertImagesToVideo(string imagePattern, string outPath, ShellCallback sc)
       {
           List<string> cmd = new List<string>();

           // ffmpeg -f image2 -i ffmpeg_temp/%05d.png -b 512 video2.mpg

           cmd.Add(_ffmpegBin); // ffmpeg

           cmd.Add("-f");
           cmd.Add("image2");
           cmd.Add("-i");
           cmd.Add(imagePattern);

           cmd.Add("-b");
           cmd.Add("512");

           Clip mediaOut = new Clip ();

           File fileOut = new File(outPath);

           mediaOut.path = fileOut.CanonicalPath;

           cmd.Add(mediaOut.path);

           execFFMPEG(cmd, sc);

           return mediaOut;
       }
    </string></string>

    The process is executed like so :

       private int execProcess(IList<string> cmds, ShellCallback sc, File fileExec)
       {
           ProcessBuilder pb = new ProcessBuilder(cmds);
           pb.Directory(fileExec);

           var cmdlog = new Java.Lang.StringBuilder();

           foreach (string cmd in cmds)
           {
               cmdlog.Append(cmd);
               cmdlog.Append(' ');
           }

           sc.ShellOut(cmdlog.ToString());

           pb.RedirectErrorStream (true);

           Process process = pb.Start();

           StreamGobbler errorGobbler = new StreamGobbler(this, process.ErrorStream, "ERROR", sc);

           StreamGobbler outputGobbler = new StreamGobbler(this, process.InputStream, "OUTPUT", sc);

           errorGobbler.run();
           outputGobbler.run();

           int exitVal = process.WaitFor();

           sc.ProcessComplete(exitVal);

           return exitVal;

       }
    </string>

    Note that I haven’t switched my code from Java.Lang to System yet so it stinks a bit. But all calls are working except this call with a wildcard. So I feel it may have to do with how Java processes are handling working directory, maybe.

  • How to write a Batch/CMD file to check every 5mins if process stops then execute url ?

    10 septembre 2014, par user2068371

    So i use PHP to execute FFMPEG for video conversions and to save me manualy executing a URL to trigger the video conversions i figured it could be possible with a batch/cmd script.

    the process in question is named ffmpeg.exe

    And the url i need to execute is the following : website/index.php ?option=com_hwdmediashare&task=maintenance.process&format=raw&token=LOL

    I need to check if ffmpeg.exe is running every 5 minutes if not then execute that url or perhaps i am thinking it may be more simple to launch that url through php.exe itself.