Recherche avancée

Médias (0)

Mot : - Tags -/latitude

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

Autres articles (71)

  • 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

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

  • ffmpeg installation on linux server

    7 juin 2015, par Aisha

    I was facing issues in converting files using ffmpeg there were errors coming like Unknown encoder ’lipvpx’ ’libopus’etc. I put the issue on stackoverflow people suggested me installing latest version of ffmpeg and rebuilding the libraries. i have 0.10.0 version of ffmpeg. I tried to reinstall from this link

    https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

    but i am getting different errors during installation like

    :git clone git://github.com/project.git
    github.com[0: 207.97.227.239]: errno=Connection refused
    fatal: unable to connect a socket (Connection refused)

    i tried using https, it gets installed but when i tried to install ffmpeg and enable libraries but its showing an error like libfdk_aac not found, libopus not found, libmp3lame not found although i installed all of them first but still i am lost.

    I have wasted my two days on this issue. Please help

    Thanks

  • StackOverflowException with Process in C#

    4 juin 2015, par user3633222

    I have a process, which runs in a console app. It runs forever.

    After a couple of days the app crashes with a StackOverflowException.

    The essence of the app is where I spin up a Process with FFMpeg.exe and creates a sceenshot of a video stream. It works very good but only for a few days at the time.

    I am pretty sure it has to do with the disposal of the FFMpeg or some internal Process stuff.

    Here is the code

    using ( Process ffmpegProcess = new Process() ) {

       //arguments for running ffmpeg
       ffmpegProcess.StartInfo.UseShellExecute = false;
       ffmpegProcess.StartInfo.CreateNoWindow = true;
       ffmpegProcess.StartInfo.RedirectStandardOutput = true;

       //specific for our screenshots
       ffmpegProcess.StartInfo.FileName = string.Concat( Environment.CurrentDirectory, Path.DirectorySeparatorChar, ffmpegProgramName );

       try {
           //todo: log this stopwatch somewhere perhaps
           processWatch.Start();

           //set arguments every time we want to create a new screen shot
           ffmpegProcess.StartInfo.Arguments = string.Format( @"-y -i {0}{1} -threads 0 -ss 00:00:01.000 -f image2 -s 620x349 -vframes 1 ../../web/{2}.jpg", server, streamPath, slug );
           ffmpegProcess.Start();
           ffmpegProcess.WaitForExit( 500 );

           Console.WriteLine( slug );
           Console.WriteLine( processWatch.Elapsed );

           processWatch.Reset();
           runCount++;
           cacheIndexer++;

           //lets see how many spins we've had!
           Console.WriteLine( string.Format( "SERVER CACHE INDEX : {0}", cacheIndexer ) );
           Console.WriteLine( string.Format( "RUN : {0}", runCount ) );
           Console.WriteLine( Environment.NewLine );

       } catch ( Exception ex ) {
           //Console.WriteLine( "Ex " + ex );
       }
    }

    The loop looks like this.

       public void RecurseTask() {
           /*
           You can try one of these, but you will se CPU usage go crazy and perhaps concurrency errors due IO blocking

           Parallel.ForEach( _videoStreamSlugs, ( e ) => _videoStreamScreenShots.GrabScreenShot( e ) );

           foreach ( var slug in _videoStreamSlugs ) {
               Task.Run( () => _videoStreamScreenShots.GrabScreenShot( slug ) );
           }
           */

           //we want to grab screen shots for every slug in out slug list!
           foreach ( var slug in _videoStreamSlugs ) {
               _videoStreamScreenShots.GrabScreenShot( slug );
           }

           //sleep for a little while
           Thread.Sleep( _recurseInterval );

           //A heavy clean up!
           //We do this, trying to avoid a stackoverflow excecption in the recursive method
           //Please inspect this if problems arise
           GC.Collect();

           //lets grab over again
           RecurseTask();
       }

    I added a GC.Collect out of curiosity to see if it made a difference.

    I am not doing a Windows Service.

  • StackOverflowException with Process

    4 juin 2015, par user3633222

    I have a process, which runs in a console app. It runs forever.

    After a couple of days the app crashes with a StackOverflowException.

    The essence of the app is where I spin up a Process with FFMpeg.exe and creates a sceenshot of a video stream. It works very good but only for a few days at the time.

    I am pretty sure it has to do with the disposal of the FFMpeg or some internal Process stuff.

    Here is the code

                   using ( Process ffmpegProcess = new Process() ) {

                       //arguments for running ffmpeg
                       ffmpegProcess.StartInfo.UseShellExecute = false;
                       ffmpegProcess.StartInfo.CreateNoWindow = true;
                       ffmpegProcess.StartInfo.RedirectStandardOutput = true;

                       //specific for our screenshots
                       ffmpegProcess.StartInfo.FileName = string.Concat( Environment.CurrentDirectory, Path.DirectorySeparatorChar, ffmpegProgramName );

                       try {
                           //todo: log this stopwatch somewhere perhaps
                           processWatch.Start();

                           //set arguments every time we want to create a new screen shot
                           ffmpegProcess.StartInfo.Arguments = string.Format( @"-y -i {0}{1} -threads 0 -ss 00:00:01.000 -f image2 -s 620x349 -vframes 1 ../../web/{2}.jpg", server, streamPath, slug );
                           ffmpegProcess.Start();
                           ffmpegProcess.WaitForExit( 500 );

                           Console.WriteLine( slug );
                           Console.WriteLine( processWatch.Elapsed );

                           processWatch.Reset();
                           runCount++;
                           cacheIndexer++;

                           //lets see how many spins we've had!
                           Console.WriteLine( string.Format( "SERVER CACHE INDEX : {0}", cacheIndexer ) );
                           Console.WriteLine( string.Format( "RUN : {0}", runCount ) );
                           Console.WriteLine( Environment.NewLine );

                       } catch ( Exception ex ) {
                           //Console.WriteLine( "Ex " + ex );
                       }
                   }