Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (59)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (7628)

  • FFMPEG gives "Error opening Filters" error

    18 juin 2015, par liberation

    I am trying to compress a file and store it in MongoDB via GridFS. I am compressing it using a node module called stream-transponder which uses ffmpeg to compress it. My code looks like this

    bodyParser.process('video/*', function(stream, req, next) {
       var busboy = new Busboy({ headers : req.headers });
       var fileId = new mongo.ObjectId();
       var writestream = gfs.createWriteStream({
               filename: (fileId.toString()) + ".mp4",
               _id : fileId,
               mode : "w",
               content_type  : "video/mp4"
       });
       new Transcoder(stream)
           .videoCodec('h264')
           .videoBitrate(800 * 1000)
           .fps(25)
           .aspectRatio(1.7777777)
           .audioCodec('aac')
           .sampleRate(44100)
           .channels(2)
           .audioBitrate(128 * 1000)
           .format('mp4')
       .on('finish', function () {
           req.custom = fileId;
           console.log(fileId);
           next();
       }).stream().pipe(writestream);

    });

    The ffmpeg command line call that stream-transcoder makes looks like this :

    ffmpeg -i - -vcodec h264 -b:v 800000 -r 25 -aspect 1.7777777 -acodec aac -ar 44100 -ac 2 -ab 128000 -f avi pipe:1

    sometime’s the command looks like this

    ffmpeg -i - -vf scale=min(trunc(320/hsub)*hsub\,trunc(a*240/hsub)*hsub):min(trunc(240/vsub)*vsub\,trunc(320/a/vsub)*vsub) -vcodec h264 -b:v 800000 -r 25 -acodec libfaac -ar 44100 -ac 2 -ab 128000 -f mp4 -movflags frag_keyframe+faststart pipe:1

    eventhough I am uploading the same exact file I uploaded when I got the former command. They both give the same error (Opening Filters error).

    I tried running encoding a file straight from the terminal with this command :

    ffmpeg -i VIDEO0077.mp4 -c:v h264 -preset slow -crf 22 -c:a copy output2.mp4

    and it worked like a charm. I am not sure what’s causing the Error Opening Filters error.

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

  • avfilter/hermite : fix "libavfilter/hermite.h:19:15 : error : no previous prototype...

    22 septembre 2015, par Michael Niedermayer
    avfilter/hermite : fix "libavfilter/hermite.h:19:15 : error : no previous prototype for hermite_interpolation"
    

    Fix build

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/hermite.h