Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (67)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (8113)

  • 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 :)

  • 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>
  • How to stream a usb webcam to an android phone with ffmpeg and ffserver ?

    26 juillet 2015, par victor jung

    I am desperately trying to live stream the usb webcam from a linux computer to my android phone.
    I tried with ffmpeg and ffserver, to create the stream and with videoview in android to display it. I tried all the possible format/encoder/protocols possibilities but nothing worked. In most case I am able to open the stream in VLC in another PC, but I was never able to play on my phone. I always get this error :
    "can’t play this video"
    Here is my app code :

    package com.example.victor.videostream;
    import android.os.Bundle;
    import android.app.Activity;
    import android.view.View;
    import android.net.Uri;
    import android.widget.MediaController;
    import android.widget.VideoView;
    public class MainActivity extends Activity
    {
    VideoView videoView;
    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        videoView = null;
        setContentView(R.layout.activity_main);

        videoView =(VideoView)findViewById(R.id.VideoView);
        MediaController mediaController= new MediaController(this);
        mediaController.setAnchorView(videoView);

    Uri uri = Uri.parse("http://host:port/mystream.3gp");
     videoView.setMediaController(mediaController);
     videoView.setVideoURI(uri);
     videoView.requestFocus();
     videoView.start();
          }
           }

    I read here

    about god encoding practice for android, but even with .3gp format encoded with mpeg4 as suggested it doesn’t work. Have any body once succeeded doing this ?
    I am also up to discover other possibilities to stream this webcam to my android if you have any ideas.
    this is the closest post I found but no solution...
    Hope somebody can help !
    thanks for reading.