Recherche avancée

Médias (91)

Autres articles (92)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • 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" ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10121)

  • Bash result into variable

    26 janvier 2018, par Massimo Vantaggio

    How can I put the result of the expression below into a variable ?

    times=()
    for f in *.ts; do
       _t=$(ffmpeg -i "$f" 2>&1 | grep "Duration" | grep -o " [0-9:.]*, " | head -n1 | tr ',' ' ' | awk -F: '{ print ($1 * 3600) + ($2 * 60) + $3 }')
       times+=("$_t")
    done
    echo "${times[@]}" | sed 's/ /+/g' | bc
  • Open Video Conference registration is now open !

    15 juillet 2010, par Basil Gohar — Announcements, conference, open video conference

    Registration for this year’s Open Video Conference (OVC) is now open ! Register on or before August 1st, 2010 to get the early bird discount. This year’s OVC will be held in New York City from October 1 – 2, 2010. … Read more »

  • How to use FFSampledSP to play gsm files

    25 novembre 2014, par QuentinTanioartino

    I am trying to use FFSampledSP on MacOSX but I couldn’t make it working

    These are the steps I executed :

    1. I downloader the jar here :
    2. I added the jar into my build path using eclipse
    3. I downloaded the native library ffsampledsp-universal-0.9.9.jnilib here
    4. I renamed the library to libffsampledsp.jnilib
    5. I put the library into the java.library.path

    Then I tried to play the file with the java audio player developed but without any success

    It fails on

    AudioInputStream pcmStream = AudioSystem.getAudioInputStream(encodedFile);

    This is the error :

    java.lang.UnsatisfiedLinkError: no ffsampledsp-x86_64-darwin in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1119)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:107)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:89)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:73)
    at com.tagtraum.ffsampledsp.FFAudioFileReader.<clinit>(FFAudioFileReader.java:51)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    at java.lang.Class.newInstance(Class.java:438)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at com.sun.media.sound.JSSecurityManager.getProviders(JSSecurityManager.java:216)
    at com.sun.media.sound.JDK13Services.getProviders(JDK13Services.java:107)
    at javax.sound.sampled.AudioSystem.getProviders(AudioSystem.java:1631)
    at javax.sound.sampled.AudioSystem.getAudioFileReaders(AudioSystem.java:1406)
    at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1175)
    at com.audioplayer.AudioPlayer.load(AudioPlayer.java:47)
    at com.view.PlayerView$2.run(PlayerView.java:375)
    at java.lang.Thread.run(Thread.java:745)
    Nov 25, 2014 9:20:14 AM com.tagtraum.ffsampledsp.FFNativeLibraryLoader loadLibrary
    SEVERE: Failed to load native library 'ffsampledsp'. Please check your library path. FFSampledSP        will be dysfunctional.
    </clinit>

    Apparently it does not find the ffsampledsp-x86_64-darwin library

    Therefore I tried to import it directly using the following but still without any result

    static
    {
       try
       {
           System.load("/Users/server/Desktop/libffsampledsp.jnilib");
       }
       catch (UnsatisfiedLinkError e)
       {
         System.err.println("Native code library failed to load.\n" + e);
         System.exit(1);
       }
    }

    Do you know where the issue is ?