Recherche avancée

Médias (91)

Autres articles (104)

  • 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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (9667)

  • Catch "Unfortunately 'app' has stopped working" Error

    2 juillet 2015, par cadesalaberry

    I am using a very unstable library on Android that crashes sporadically. I start it using the startActivity() in my code.

    The unstable part of the code is doing a lot of video processing and uploading the result to a server. I do not really mind if the activity crashes, but I need to signal the server that it did.

    The crash comes from a memory leak (no time to solve it yet). Is there a way I can catch the error a display a more friendly/funny message instead ?

    try {
       context.startActivity(intent);
    } catch (ApplicationCrashedException e) {
       server.notifyServerOfCrash();
       toast("I really disliked your face...");
    }

    Edit : Here is the Error :

    java.lang.OutOfMemoryError
     at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
     at java.nio.MemoryBlock.allocate(MemoryBlock.java:125)
     at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:72)
     at io.cine.android.streaming.FFmpegMuxer.writeSampleData(FFmpegMuxer.java:151)
     at io.cine.android.streaming.AndroidEncoder.drainEncoder(AndroidEncoder.java:128)
     at io.cine.android.streaming.TextureMovieEncoder.handleFrameAvailable(TextureMovieEncoder.java:264)
     at io.cine.android.streaming.TextureMovieEncoder$EncoderHandler.handleMessage(TextureMovieEncoder.java:409)
     at android.os.Handler.dispatchMessage(Handler.java:102)
     at android.os.Looper.loop(Looper.java:136)
     at io.cine.android.streaming.TextureMovieEncoder.run(TextureMovieEncoder.java:219)
     at java.lang.Thread.run(Thread.java:841)

    For some reason once the BroadcastActivity runs out of memory, the Activity gets killed and comes back to the previous one. It then displays the ’app’ has stopped working Dialog. If I press OK, it kills the entire application and comes back to the home screen.

    Ideally I would just have it come back to the previous activity notifying the server silently. (Not killing the application)

  • Revert "avcodec/decode : copy the output parameters from the last bsf in the chain...

    12 septembre 2018, par James Almer
    Revert "avcodec/decode : copy the output parameters from the last bsf in the chain back to the AVCodecContext"
    

    This reverts commit f631c328e680a3dd491936b92f69970c20cdcfc7.

    The avcodec_parameters_to_context() call was freeing and reallocating
    AVCodecContext->extradata, essentially taking ownership of it, which according
    to the doxy is user owned. This is an API break and has produced crashes in
    some library users like Firefox[1].

    Revert until a better solution is found to internally propagate the filtered
    extradata back into the decoder context, or a decision is made to change the
    API.

    [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1486080

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/decode.c
  • How to output raw frequency (fft) data using ffmpeg / libavfilter

    12 janvier 2020, par Jeroen

    I’m trying to write libavfilter bindings to convert an arbitrary audio file into a raw frequency (spectrum) data to do subsequent audio analysis. Is there anything built-in ffmpeg or libavfilter to output binary frequency data, rather than a proper audio/video file ?

    FFmpeg has a few built-in filters that perform an FFT such as afftfilt and showfreqs, however these filters always convert output back to video or audio. What I need is something like the afftfilt filter, but which dumps the raw FFT data, rather than recode it back to PCM.