Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (39)

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

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (6943)

  • avfilter/trim : add compatibility layer to not break ABI used by ffmpeg

    12 juillet 2013, par Michael Niedermayer
    avfilter/trim : add compatibility layer to not break ABI used by ffmpeg
    

    This is a hotfix to fix -t / -ss
    a different solution might be choosen later, i just dont want to leave
    this broken

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/trim.c
  • NSOperationQueue's threads just don't die

    8 novembre 2013, par u2Fan

    Sorry, it's a bit wordy, but I wanted to make sure I was clear ! ;-)

    I have an iOS app that uses FFMPEG for streaming RTSP. I've multi-threaded FFMPEG using NSOperationQueue such that most its work, other than painting the image to the screen, of course, happens in background threads.
    Works great ! ...except for the fact that threads the NSOperationQueue creates never die !

    I init the Queue in the class' init method with :

    self->opQ = [[NSOperationQueue alloc] init];
    [self->opQ setMaxConcurrentOperationCount:1];

    I add methods to the Queue using blocks :

    [self->opQ addOperationWithBlock:^{
           [self haveConnectedSuccessfullyOperation];
    }];

    Or

    [self->opQ addOperationWithBlock:^{
           if (SOME_CONDITION) {
               [self performSelectorOnMainThread:@selector(DO_SOME_CRAP) withObject:nil waitUntilDone:NO];
           }
       }];

    Later, when I need to tear down the RTSP stream, in addition to telling FFMPEG to shut down, I call :

    [self->opQ cancelAllOperations];

    Which does indeed stop the threads from doing any work , but never actually destroys them. Below, you'll see a screen shot of threads that are doing nothing at all. This is what my threads look like after starting/stoping FFMPEG several times.

    Bad threads

    I seem to remember reading in Apple's documentation that NSOperations and the threads they are run on are destroyed once they are done executing, unless otherwise referenced. This doesn't appear to be the case.

    Do I just need to destroy the NSOperationQueue, then re-init it when I need to start up FFMPEG again (I just realized I haven't tried this) ? Anyone know how I need to kill these extra threads ?

    THANKS !

  • Can I create a VFR video from timestamped images ?

    18 juin 2016, par Beginner

    First, I have almost zero experience in making videos from images.

    What I have is a set of BMP timestamped images from which I want to generate a video.
    Since the timestamps are not equally spaced, I cannot simply use software that create constant-frame-rate videos from images.

    A possible solution would be to create artificial images at fixed time intervals, but I prefer to leave that as a last resort if I fail to make a VFR video.

    Any suggestions on how to achieve what I want ?