Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (40)

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

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (9962)

  • How to use ffmpeg.js in a ReactJS project

    1er septembre 2021, par L3M0L

    My react app is using ffmpeg.wasm (https://github.com/ffmpegwasm/ffmpeg.wasm) but because of the "recent" issues with SharedArrayBuffer I have to move the project to ffmpeg.js (https://github.com/Kagami/ffmpeg.js).

    


    Here is my problem. I installed the library (npm i ffmpeg.js) and tried to use the simple code provided on the github page for the web workers to test if it's working :

    


    const worker = new Worker("ffmpeg-worker-webm.js");
worker.onmessage = function(e) {
  const msg = e.data;
  switch (msg.type) {
  case "ready":
    worker.postMessage({type: "run", arguments: ["-version"]});
    break;
  case "stdout":
    console.log(msg.data);
    break;
  case "stderr":
    console.log(msg.data);
    break;
  case "done":
    console.log(msg.data);
    break;
  }
};


    


    but the onmessage method never get's called, instead I get

    


    GET https://localhost:3000/ffmpeg-worker-webm.js 403 (Forbidden)


    


    I'm new to the web worker topic and I could not find enough articles about this problem to wrap my head around (in fact, most of the articles use the exact same code as I do and apparently it works for them). Is the problem localhost specific or is it a ReactJS problem and I'm not able to use the ffmpeg.js library at all ? Can someone guide me on how to solve this issue ?

    


  • avformat/matroskaenc : fix indention level

    26 avril 2014, par Michael Niedermayer
    avformat/matroskaenc : fix indention level
    

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

    • [DH] libavformat/matroskaenc.c
  • Cannot include FFmpegMediaPlayer lib in my android project

    20 août 2015, par Lucabro

    I’ve to include in my Android studio project a lib for managing audio streams from urls. I’m tying to use this, but when I try to run the app and it reach the point where have to instantiate a FFmpegMediaPlayer object, it crush with the error

    31444-31444/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
       java.lang.ExceptionInInitializerError

    These the steps I’ve done to integrate the lib in my project :

    • I’ve copied all .so, gdb.setup and gdbserver files from demo project and put them into my jniLibs replicating the exact folder structure
    • I’ve copied fmp.jar from demo my libs forlder
    • I’ve changed all paths in gdb.setup files accordingly with my project folder structure
    • synch with gradle

    I’m not an expert of Android specially for tasks like this, am I missing something important ? If you need it I can give a test app

    Thankyou

    Edit 1

    This is the complete error

    08-19 10:20:42.066  31444-31444/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
       java.lang.ExceptionInInitializerError
               at com.example.lucabrognara.radiostreamprova.RadioActivity.onCreate(RadioActivity.java:126)
               at android.app.Activity.performCreate(Activity.java:5206)
               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
               at android.app.ActivityThread.access$700(ActivityThread.java:140)
               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
               at android.os.Handler.dispatchMessage(Handler.java:99)
               at android.os.Looper.loop(Looper.java:137)
               at android.app.ActivityThread.main(ActivityThread.java:4921)
               at java.lang.reflect.Method.invokeNative(Native Method)
               at java.lang.reflect.Method.invoke(Method.java:511)
               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
               at dalvik.system.NativeStart.main(Native Method)
        Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1892]:  1836 could not load needed library 'libswresample.so' for 'libavcodec.so' (load_library[1094]: Library 'libswresample.so' not found)
               at java.lang.Runtime.load(Runtime.java:340)
               at java.lang.System.load(System.java:521)
               at wseemann.media.FFmpegMediaPlayer.<clinit>(FFmpegMediaPlayer.java:604)
                at com.example.lucabrognara.radiostreamprova.RadioActivity.onCreate(RadioActivity.java:126)
                at android.app.Activity.performCreate(Activity.java:5206)
                at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
                at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
                at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
                at android.app.ActivityThread.access$700(ActivityThread.java:140)
                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
                at android.os.Handler.dispatchMessage(Handler.java:99)
                at android.os.Looper.loop(Looper.java:137)
                at android.app.ActivityThread.main(ActivityThread.java:4921)
                at java.lang.reflect.Method.invokeNative(Native Method)
                at java.lang.reflect.Method.invoke(Method.java:511)
                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
                at dalvik.system.NativeStart.main(Native Method)
    </clinit>