Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (34)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5136)

  • It is possible to record and at the same

    29 avril 2022, par mylos
    ffmpeg -i cam.mkv -c copy 1.ts


    


    It is possible to record and at the same time to delete to have a lead 4s ??
as to see it in vlc
Sorry for my poor English

    


  • WebP encoder : extract out some methods into a separate helper library.

    20 mai 2015, par Urvang Joshi
    WebP encoder : extract out some methods into a separate helper library.
    

    This is the 2nd patch in preparation for using WebPAnimEncoder API for encoding
    and muxing WebP images.

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

    • [DH] libavcodec/Makefile
    • [DH] libavcodec/libwebpenc.c
    • [DH] libavcodec/libwebpenc_common.c
    • [DH] libavcodec/libwebpenc_common.h
  • How to implement Java methods in Nativescript ?

    6 septembre 2017, par Mike Wazowski

    I’m having trouble calling some methods of an Android java library for ffmpeg. I think I successfuly loaded the library because I can console.log the library object :

    JS: BuildConfig -> function () { [native code] }
    JS: ExecuteBinaryResponseHandler -> function () { [native code] }
    JS: FFmpeg -> function () { [native code] }
    JS: FFmpegExecuteResponseHandler -> function () { [native code] }
    JS: FFmpegLoadBinaryResponseHandler -> function () { [native code] }
    JS: LoadBinaryResponseHandler -> function () { [native code] }

    This is the code I want to "translate" (under Usage)

    This is how far I got (using this nativescript guide) :

    // [...]

    var MyCustomLoadBinaryResponseHandler =
    com.github.hiteshsondhi88.libffmpeg
    .LoadBinaryResponseHandler.extend({
     onStart: function() {
       console.log('Started loading ffmpeg');
     },
     onFailure: function() {
       console.log('Failed loading ffmpeg');
     },
     onSuccess: function() {
       console.log('Successfully loaded ffmpeg');
     },
     onFinish: function() {
       console.log('Finished loading ffmpeg');
     }
    });

    console.dir(MyCustomLoadBinaryResponseHandler);
    //^ this logs the following
    //~ JS: === dump(): dumping members ===
    //~ JS: "()function () { [native code] }"
    //~ JS: === dump(): dumping function and properties names ===
    //~ JS: extend()
    //~ JS: null()
    //~ JS: === dump(): finished ===

    var context = app.android.context;

    var ffmpeg =
    com.github.hiteshsondhi88.libffmpeg.FFmpeg.getInstance(context);

    console.dir(ffmpeg);
    //^ this logs the following
    //~ JS: === dump(): dumping members ===
    //~ JS: {
    //~ JS:     "constructor": "constructor()function () { [native code]
    //}"
    //~ JS: }
    //~ JS: === dump(): dumping function and properties names ===
    //~ JS: constructor()
    //~ JS: concatenate()
    //~ JS: execute()
    //~ JS: getDeviceFFmpegVersion()
    //~ JS: getLibraryFFmpegVersion()
    //~ JS: isFFmpegCommandRunning()
    //~ JS: killRunningProcesses()
    //~ JS: loadBinary()
    //~ JS: setTimeout()
    //~ JS: <init>()
    //~ JS: clone()
    //~ JS: equals()
    //~ JS: finalize()
    //~ JS: getClass()
    //~ JS: hashCode()
    //~ JS: notify()
    //~ JS: notifyAll()
    //~ JS: toString()
    //~ JS: wait()
    //~ JS: === dump(): finished ===


    ffmpeg.loadBinary(
     new MyCustomLoadBinaryResponseHandler()
    );

    var MyCustomExecuteBinaryResponseHandler =
    com.github.hiteshsondhi88.libffmpeg
    .ExecuteBinaryResponseHandler.extend({
     onStart: function() {
       console.log('Started running ffmpeg');
     },
     onProgress: function(thisMessage) {
       console.log(' ffmpeg running');
       console.log(thisMessage);
     },
     onFailure: function(thisMessage) {
       console.log('Failed running ffmpeg');
       console.log(thisMessage);
     },
     onSuccess: function(thisMessage) {
       console.log('Successfully run ffmpeg');
       console.log(thisMessage);
     },
     onFinish: function() {
       console.log('Finished running ffmpeg');
     }
    });

    //this is where it crashes
    ffmpeg.execute('-version', new
    MyCustomExecuteBinaryResponseHandler());</init>

    Unfortunately, the whole app crashes with no error message the app and I can’t continue unless I have more information on what is going on. Am I implementing the methods in a wrong way ? How do you suggest I continue ?

    edit : these are the last logs on the console

    09-06 11:22:58.884 31522 31522 F art     : art/runtime/java_vm_ext.cc:470]     from java.lang.Object com.tns.Runtime.callJSMethodNative(int, int, java.lang.String, int, boolean, java.lang.Object[])
    09-06 11:22:58.884 31522 31522 F art     : art/runtime/java_vm_ext.cc:470]   at com.tns.Runtime.callJSMethodNative(Native method)
    09-06 11:22:58.884 31522 31522 F art     : art/runtime/java_vm_ext.cc:470]   at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1043)
    09-06 11:22:58.884 31522 31522 F art     : art/runtime/java_vm_ext.cc:470]   at com.tns.Runtime.callJSMethodImpl(Runtime.java:925)
    09-06 11:22:58.884 31522 31522 F art     : art/runtime/java_vm_ext.cc:470]   at com.tns.Runtime.callJSMethod(Runtime.java:912)
    09-06 11:22:58.884 31522 31522 F art     : art/runtime/java_vm_ext.cc:470]   at com.tns.Runtime.callJSMethod(Runtime.java:896)
    09-06 11:22:58.884 31522 31522 F art     : art/runtime/java_vm_ext.cc:470]   at com.tns.Runtime.callJSMethod(Runtime.java:888)
    09-06 11:22:59.021 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethodNative(Native method)
    09-06 11:22:59.021 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1043)
    09-06 11:22:59.021 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethodImpl(Runtime.java:925)
    09-06 11:22:59.021 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethod(Runtime.java:912)
    09-06 11:22:59.021 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethod(Runtime.java:896)
    09-06 11:22:59.021 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethod(Runtime.java:888)
    09-06 11:22:59.022 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethodNative(Native method)
    09-06 11:22:59.022 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1043)
    09-06 11:22:59.022 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethodImpl(Runtime.java:925)
    09-06 11:22:59.022 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethod(Runtime.java:912)
    09-06 11:22:59.022 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethod(Runtime.java:896)
    09-06 11:22:59.022 31522 31522 F art     : art/runtime/runtime.cc:403]   at com.tns.Runtime.callJSMethod(Runtime.java:888)