Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (18)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

  • how to stop a function from a button in tkinter

    11 mars 2020, par Cb9867

    I am trying to record audio from microphone in python with the help of ffmpeg.

    By using this i am able to record voice but how can i stop this function by clicking of a button.

    to stop this now i am terminating the IDLE forcefully.

    import os
    import subprocess
    import tkinter as tk
    from tkinter import *
    root = Tk()
    os.chdir('C://Users/ravir/desktop/')
    def recording_voice():
     global p
     p=subprocess.Popen('ffmpeg -f dshow -i audio="Microphone (2- High Definition Audio Device)" sample.mp3' )

    def stop_rec():  # ho to stop this ???
       p.terminate()

    rec_btn = Button(text='Start Recording', width=20, command=recording_voice)
    rec_btn.pack()

    stop_btn = Button(text='Stop Recording', width=20, command=stop_rec)
    stop_btn.pack()

    root.mainloop()
  • UnsatisfiedLinkError for armeabi with Android Studio on Ubuntu but with Android Studio on Windows it works

    14 juillet 2015, par dddog

    I’m working at an Android app that uses ffmpeg-android-arm.jar who contains native libs for video/audio encoding.
    My native libs are included in the project by copying the ffmpeg-android-arm.jar in the app/libs folder. ffmpeg-android-arm.jar is just an archive having the following folder structure lib/armeabi/ and in the armeabi folder being all the native libs as .so files.

    Building the apk using Android Studio on Windows 8 works just fine, the statement bellow, being the first that wants to load a native library working well.

    //neon library optimized for opencv
    static {
       Log.d(TAG, "about to load library checkneon...");
       try {
           System.loadLibrary("checkneon");
       } catch (Exception e) {
           e.printStackTrace();
       } catch (Error error) {
           error.printStackTrace(System.out);
       }
       Log.d(TAG, "library checkneon loaded!");
    }

    Going on Android Studio running on Ubuntu 14.04.02, I’m unable to make my project run, as I keep receiving java.lang.UnsatisfiedLinkError. See the stack trace bellow :

    07-14 20:41:05.616  17018-17018/? D/dalvikvm﹕ Late-enabling CheckJNI
    07-14 20:41:05.786  17018-17018/org.myfrogvrvp8 D/RecordActivity﹕ about to load library checkneon...
    07-14 20:41:05.786  17018-17018/org.myfrogvrvp8 I/System.out﹕ java.lang.UnsatisfiedLinkError: Couldn't load checkneon from loader dalvik.system.PathClassLoader[dexPath=/data/app/org.myfrogvrvp8-2.apk,libraryPath=/data/app-lib/org.myfrogvrvp8-2]: findLibrary returned null
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at java.lang.Runtime.loadLibrary(Runtime.java:355)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at java.lang.System.loadLibrary(System.java:525)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at org.myfrogvrvp8.FFmpegRecorderActivity.<clinit>(FFmpegRecorderActivity.java:189)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at java.lang.Class.newInstanceImpl(Native Method)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at java.lang.Class.newInstance(Class.java:1130)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.app.Instrumentation.newActivity(Instrumentation.java:1078)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2210)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.app.ActivityThread.access$700(ActivityThread.java:159)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.os.Handler.dispatchMessage(Handler.java:99)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.os.Looper.loop(Looper.java:176)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at android.app.ActivityThread.main(ActivityThread.java:5419)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at java.lang.reflect.Method.invokeNative(Native Method)
    07-14 20:41:05.791  17018-17018/org.myfrogvrvp8 I/System.out﹕ at java.lang.reflect.Method.invoke(Method.java:525)
    07-14 20:41:05.796  17018-17018/org.myfrogvrvp8 I/System.out﹕ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
    07-14 20:41:05.796  17018-17018/org.myfrogvrvp8 I/System.out﹕ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
    07-14 20:41:05.796  17018-17018/org.myfrogvrvp8 I/System.out﹕ at dalvik.system.NativeStart.main(Native Method)
    </clinit>

    I’ve checked both apks, and they both have the native .so files included in the lib/armeabi folder.

    I’m quite puzzled...
    Any help much appreciated !

  • File input button CSS fixes for IE7+IE6.

    9 février 2012, par Sebastian Tschan

    m index.html File input button CSS fixes for IE7+IE6.