Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (57)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (12416)

  • Android UnsatisfiedLinkError using ffmpeg library

    5 avril 2012, par Bombastic

    I'm trying to use FFMPEG library in my Android application like this example here : AFPlayer . I have a builded and running version of this application and everything works fine, but when I tried to implement the same logic in my application it crashes everytime I start my media player. So the thing that I did was to copy and paste all files from afplayer's folders to my app (not sure if I have to do something else or if it's the right way,but it's my first touch with Android NDK and I'm not really sure how to do the things). Here is how I'm trying to start my DRadioMediaPlayer :

        player = new DRadioMediaPlayer();
       //player.setOnPreparedListener(this);
       //player.setOnCompletionListener(this);
       //player.setOnErrorListener(this);
       //player.setOnBufferingUpdateListener(this);

       //player.setAudioStreamType(AudioManager.STREAM_MUSIC);
       try
       {
           Uri source = Uri.parse(playlist.getCurrentSource().toString());
           player.setDataSource(source);
           //player.setDataSource(playlist.getCurrentSource().toString());
           player.prepare();

           playbackState = DRadioPlayerService.PLAYBACK_STATE_BUFFERING;
       }

    This is how I load the library :

    static {
     System.loadLibrary("player");

    }

    and here is the exception which I'm getting :

       04-05 17:04:37.478: W/dalvikvm(686): No implementation found for native Lcom/nimasystems/android/radio2/DRadioMediaPlayer;.n_createEngine ()V
    04-05 17:04:37.478: D/AndroidRuntime(686): Shutting down VM
    04-05 17:04:37.478: W/dalvikvm(686): threadid=1: thread exiting with uncaught exception (group=0x400259f8)
    04-05 17:04:37.478: E/AndroidRuntime(686): FATAL EXCEPTION: main
    04-05 17:04:37.478: E/AndroidRuntime(686): java.lang.UnsatisfiedLinkError: n_createEngine
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.radio2.DRadioMediaPlayer.n_createEngine(Native Method)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.radio2.DRadioMediaPlayer.<init>(DRadioMediaPlayer.java:68)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.player.service.DRadioPlayerService.initPlayer(DRadioPlayerService.java:577)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.player.service.DRadioPlayerService.onStart(DRadioPlayerService.java:568)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.Service.onStartCommand(Service.java:420)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3267)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread.access$3600(ActivityThread.java:135)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2211)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.os.Handler.dispatchMessage(Handler.java:99)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.os.Looper.loop(Looper.java:144)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread.main(ActivityThread.java:4937)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at java.lang.reflect.Method.invokeNative(Native Method)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at java.lang.reflect.Method.invoke(Method.java:521)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at dalvik.system.NativeStart.main(Native Method)
    </init>

    and here is the line where actually the exception it thrown :

    public DRadioMediaPlayer() {
     Log.d(TAG, "Create new MediaPlayer");

         n_createEngine(); // here

      }

    public native void n_createEngine();

    Any suggestions what actually can I do to fix this problem ? I've read all questions with similar issue here,but none of them worked for me.

    Thanks in advance !

  • Android : How to change audio tempo and pitch individuality using ffmpeg ?

    16 juillet 2012, par Vipul Purohit

    I have managed to play audio files using ffmpeg and AudioTrack class in my android project. I can change the speed of audio using AudioTrack class setRate method. But it also change the pitch of audio, I want to change only Tempo of audio but I found no solution on net.

    anyone can please help me on this as there is no support for this.

  • Android : What should I use when making a native video player ?

    16 juillet 2012, par jtam

    Currently I am doing research for a native video player project, initialy I tried to use ffmpeg as the decoder and return the Byte to java, then I use View::onDraw with Canvas to display frames. Unfortunately, the performance of this method is not good, so I am wondering whether there is anything else that I could use to display frames other then passing to java ?

    Also, other than display the frames, how can I play sound using C/C++ with NDK ?

    Thanks.