Recherche avancée

Médias (91)

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (14007)

  • Updating app uses FFMpeg version used in older version of app

    29 juin 2020, par Android Developer

    I was using FFMpeg old version in my app and now i updated my app to new FFMpeg version.But when i update my old app version to new app version it still seems to use old version of FFMpeg until i uninstall old app version and then install new app version.I tried programmatically delete cache data in my new version of app using below code but with that also I face problem in some devices which still uses old FFMpeg version-

    


      private void clearData()
    {
        try {
            PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
            int mCurrentVersion = pInfo.versionCode;
            SharedPreferences mSharedPreferences = getSharedPreferences("xyz",  Context.MODE_PRIVATE);
            SharedPreferences.Editor mEditor = mSharedPreferences.edit();
            mEditor.apply();
            int last_version = mSharedPreferences.getInt("last_version", -1);
            if(last_version != mCurrentVersion)
            {
                deleteCache(this);
            }
            mEditor.putInt("last_version", mCurrentVersion);
            mEditor.commit();
        } catch (Exception e) {
            FirebaseCrashlytics.getInstance().recordException(e);
        }
    }
    private void deleteCache(Context context) {
        try {
            File dir = context.getCacheDir();
            deleteCacheDir(dir);
        } catch (Exception e) { FirebaseCrashlytics.getInstance().recordException(e);
        }
    }
    private boolean deleteCacheDir(File dir) {
        if (dir != null && dir.isDirectory()) {
            String[] children = dir.list();
            for (int i = 0; i < children.length; i++) {
                boolean success = deleteCacheDir(new File(dir, children[i]));
                if (!success) {
                    return false;
                }
            }
            return dir.delete();
        } else if(dir!= null && dir.isFile()) {
            return dir.delete();
        } else {
            return false;
        }
    }


    


  • Introducing the Piwik Java Tracker – Analytics for your Java based applications

    18 novembre 2015, par Brett — Community, Development

    Hello Piwik Community !

    My name is Brett Csorba, a Software Engineer out of the US. I’d like to introduce the Piwik Java Tracker project, an easy way to track usage data within your Java applications !

    When would I need to track users in a Java application ? What’s wrong with front end tracking ?

    Absolutely nothing ! We encourage users to track information where it makes the most sense for them ! But in cases where

    • you have a 100% Java based application
    • you expose a REST layer where users can bypass your front end tracking code
    • you have valuable data you want to track that is unnecessary or too sensitive to pass back to the user

    the Piwik Java Tracker can help you track the data you need.

    What exactly can it track ?

    We aim to provide the full Tracking HTTP API. If you find we’ve left something out by mistake, let us know !

    You’ve sparked my curiosity, how would I use such a thing ?

    Well, once you’ve installed Piwik and set up your first website, you can grab the latest jar and include it in your project. The dependencies needed to both use and test this library can be found here.

    This library is intended to be used for projects that support Java 8. The released binaries are built, tested, and deployed from Oracle JDK 8.

    Using this API is as simple as creating a new request

    PiwikRequest request = new PiwikRequest(1, new URL("http://my-site.com/action")) ;

    Setting some more information if you want to

    request.setActionName("myAction") ;
    request.setPageCustomVariable("key", "value") ;

    and firing the request.

    PiwikTracker tracker = new PiwikTracker("http://your-piwik-domain.tld/piwik.php") ;
    HttpResponse response = tracker.sendRequest(request) ;

    Check out this guide to using the API for some more information !

    Looks cool so far, can I help out ?

    Yes ! Absolutely ! Download the project, try it, break it without mercy ! (Just make sure you tell us how.) Contribute to the project or let us know what we can do to it to improve it. As with all open source projects, we need your help to improve it.

  • Generating a P frame based on an I frame

    17 octobre 2016, par Navid Ahmadi

    Say I have 5 images that are quite similar. I’d like to compress images 2, 3, 4 and 5 based on the first image, somewhat similar to the way P frames are generated from an I frame.

    • In general, what’s the best way/tool to do so ?
    • For instance, using FFMPEG, is it possible to generate P frames and store them in a separate file ?

    Edit :
    Although similar, I am not looking for simply generating a diff between the two images. My goal is to somehow use the information in the first image to make the consecutive images much smaller. If I simply do a diff, the diff itself is about the same size (about 10% reduced) which is not as much as I expect. If I generate a mp4 video including these 5 frames, the video size is much less than putting 5 frames in a file, which probably has to with frame predications based on the I frames. Is there a way to generate those predicted frames one by one and store them individually ?