Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (57)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

Sur d’autres sites (8505)

  • Error with ffmpeg in android (java.lang.UnsatisfiedLinkError)

    12 janvier 2015, par Hussnain Muavia

    I am facing this java.lang.UnsatisfiedLinkError in android. While i have also androidndk and other essential parts required for running ffmpeg in android like jni folder files ffmped, armeabi, build_ files etc. I have figured it out a lot of time but its not fixed yet. Please guide me about my problem.
    This is my basic code

    public class MainActivity extends Activity {

    static {
       System.loadLibrary("ffmpeg");
      System.loadLibrary("ffmpeg-test-jni");
    }
    TextView text_titlebar_text;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_main);

         text_titlebar_text = (TextView) findViewById(R.id.tvView);

           showVideoInfo(new File(Environment.getExternalStorageDirectory().getAbsoluteFile()+ "/video.mp4"));
    }

    //declare the jni functions
    private static native void naInit(String _videoFileName);
    private static native int[] naGetVideoResolution();
    private static native String naGetVideoCodecName();
    private static native String naGetVideoFormatName();
    private static native void naClose();

    private void showVideoInfo(final File _file) {
      String videoFilename = _file.getAbsolutePath();
      naInit(videoFilename);
      int[] prVideoRes = naGetVideoResolution();
       String prVideoCodecName = naGetVideoCodecName();
       String prVideoFormatName = naGetVideoFormatName();
       naClose();
       String displayText = "Video: " + videoFilename + "\n";
       displayText += "Video Resolution: " + prVideoRes[0] + "x" + prVideoRes[1] + "\n";
       displayText += "Video Codec: " + prVideoCodecName + "\n";
       displayText += "Video Format: " + prVideoFormatName + "\n";
       text_titlebar_text.setText(displayText);


    }

    }

    and this is a LogCat

    01-01 07:04:18.862: E/AndroidRuntime(4653): FATAL EXCEPTION: main
    01-01 07:04:18.862: E/AndroidRuntime(4653): java.lang.UnsatisfiedLinkError: Couldn't load ffmpeg from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.testone-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.testone-1, /vendor/lib, /system/lib]]]: findLibrary returned null
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at java.lang.Runtime.loadLibrary(Runtime.java:366)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at java.lang.System.loadLibrary(System.java:514)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at com.example.testone.MainActivity.<clinit>(MainActivity.java:16)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at java.lang.Class.newInstanceImpl(Native Method)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at java.lang.Class.newInstance(Class.java:1319)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2395)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.app.ActivityThread.access$600(ActivityThread.java:162)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.os.Handler.dispatchMessage(Handler.java:107)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.os.Looper.loop(Looper.java:194)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at android.app.ActivityThread.main(ActivityThread.java:5371)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at java.lang.reflect.Method.invokeNative(Native Method)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at java.lang.reflect.Method.invoke(Method.java:525)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    01-01 07:04:18.862: E/AndroidRuntime(4653):     at dalvik.system.NativeStart.main(Native Method)
    01-01 07:04:18.921: E/AppErrorDialog(496): Failed to get ILowStorageHandle instance
    </clinit>
  • Evolution #3834 : Limiter les referers (au moins dans l’espace privé)

    22 mars 2021, par b b

    Super, par contre il semble y avoir une typo avec ray($entetes); (?) => ha je crois me souvenir que c’est le nouveau truc pour ne plus faire de var_dump cf https://freek.dev/1868-introducing-ray-a-debugging-tool-for-pragmatic-developers

    Corrigé https://git.spip.net/spip/statistiques/commit/faaab360 :)

  • Evolution #4608 : Avoir une classe spécifique pour la Splash Boîte

    15 mars 2021, par jean marie

    Super, merci !