Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (69)

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

  • 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

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (12060)

  • ffmpeg upgrade or reinstalling on CentOS

    8 juin 2015, par Aisha

    I am trying to upgrade ffmpeg installed on my linux server following this link

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

    but its not working, sometimes it gives error "Host is not communicating" in WinSCP when i try this command

    # yum install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel

    but once i tried this and it gets installed. but after installing all the things mentioned in that link, the problem was still there. I deleted all the files installed using that link and tried again but the above command starts giving me that error again. Is it a path issue or something else because i cant find where my old ffmpeg is installed.
    Please tell me is it necessary to uninstall old version and install new one or upgrading using above mentioned link will work.

    Please help me. I am desperate and wasted my three days on this issue.

    Thanks

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