Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

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

Autres articles (41)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (5558)

  • How to extract stream of images from video file using ffmpeg

    13 décembre 2013, par user3032143

    I want to extract stream of images from a video file using ffmpeg.

    I know I can extract them straight to the hard drive using these arguments :

    -i - -qscale 1 h :\out\img-%05d.jpg

    But i would like to extract directly to a stream.

    This is my code so far :

    private void ExtractImagesFromVideo(byte[] data,string _args)
       {
           try
           {
               serverBuild = new Process();
               serverBuild.StartInfo.WorkingDirectory = Environment.CurrentDirectory;
               serverBuild.StartInfo.Arguments = _args;
               serverBuild.StartInfo.FileName = Environment.CurrentDirectory + @"\ffmpeg.exe";
               serverBuild.StartInfo.UseShellExecute = false;
               serverBuild.StartInfo.RedirectStandardOutput = true;
               serverBuild.StartInfo.RedirectStandardError = true;
               serverBuild.StartInfo.RedirectStandardInput = true;
               serverBuild.StartInfo.CreateNoWindow = true;
               serverBuild.StartInfo.LoadUserProfile = false;
               serverBuild.EnableRaisingEvents = true;
               serverBuild.Start();

               using (BinaryWriter bw = new BinaryWriter(serverBuild.StandardInput.BaseStream))
               {
                   bw.Write(data);
               }

               mStandardOutput = serverBuild.StandardOutput.BaseStream;
               mStandardOutput.BeginRead(mReadBuffer, 0, mReadBuffer.Length, StandardOutputReadCallback, null);
               serverBuild.WaitForExit();
               byte[] _data = mStandardOutputMs.ToArray();
               mStandardOutput.Close();

           }
           catch (Exception _ex)
           {

           }
           finally
           {              
               serverBuild.Dispose();
           }
       }

    and I call like like this :

        string _argsOut = @"-i pipe:0 -qscale 1 -f mjpeg pipe:1 ";
        ExtractImagesFromVideo(data, _argsOut);

    and it hangs on this line :

    bw.Write(data);

    thanks

  • C# FFmpeg / NReco.VideoConverter : Increase Conversion Speed

    16 septembre 2015, par Chaki_Black

    I use NReco.VideoConverter for video conversion.
    How can I increase video conversion speed and get a maximum performance ?
    Theory says, that it is possible to increase video conversion :

    • rise processor cores quantity ;
    • rise CPU frequency (set more powerful processor(s)) ;
    • set outer video adapter to use GPU.

    There several questions :

    • can FFmpeg / NReco.VideoConverter use several cores/processor(s) at
      once and how ?
    • can FFmpeg / NReco.VideoConverter use GPU or it depends from video
      codec installed in OS ?

    What factors can influence on conversion process ?

  • ffmpeg c#asp video conversion

    19 avril 2014, par Arun Kumar

    I am trying to convert one flv video to mp4 video. Why this
    following code results error ? it gives exception as "No process is
    associated with this object." The parameters

    "Path_FFMPEG"="E:\\Arun Kumar\\Main Project\\Advertisement Demo\\Advertisementdemo\\Advertisementdemo\\ffmpeg\\bin\\ffmpeg.exe"    and "strParam"="-i E:\\Arun Kumar\\Main Project\\Advertisement Demo\\Advertisementdemo\\Advertisementdemo\\Videos\\cars1.flv -same_quant E:\\Arun Kumar\\Main Project\\Advertisement Demo\\Advertisementdemo\\Advertisementdemo\\Videos\\ConvertedFiles\\cars1.mp4"

    Process ffmpeg = new Process();
    ProcessStartInfo ffmpeg_StartInfo = new ProcessStartInfo(Path_FFMPEG, strParam);
    ffmpeg_StartInfo.UseShellExecute = false;
    ffmpeg_StartInfo.RedirectStandardError = true;
    ffmpeg_StartInfo.RedirectStandardOutput = true;
    ffmpeg.StartInfo = ffmpeg_StartInfo;
    ffmpeg_StartInfo.CreateNoWindow = true;
    ffmpeg.EnableRaisingEvents = true;
    ffmpeg.Start();
    ffmpeg.WaitForExit();
    ffmpeg.Close();
    ffmpeg.Dispose();
    ffmpeg = null;