Recherche avancée

Médias (91)

Autres articles (96)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (5952)

  • Chiptune Database and API

    14 septembre 2012, par Multimedia Mike — General

    So I set out to create a website that allows people to easily listen to video game music directly through their web browser. I succeeded in that goal. However, I must admit that the project has limited appeal since the web player is delivered via Chrome’s Native Client technology, somewhat limiting its audience. I’m not certain if anyone really expects NaCl to take off in any serious way, but I still have a few other projects in mind.

    I recently realized that, as a side effect of this project, I accidentally created something of significant value to fans of old video games and associated music– a searchable database of chiptune music and metadata. To my knowledge, no one else has endeavored to create such a thing. I figured that I might as well make the database easily accessible with an API and see where it leads.

    To that end, I created 2 API entry points. First, there is the search API located at http://gamemusic.multimedia.cx/api/search/. This can be exercised by ending the URL with a URL-encoded search string, e.g. : http://gamemusic.multimedia.cx/api/search/super+mario. This returns JSON data containing an array of results in decreasing order of relevance. Each result has a game title, database ID, media URL, system type, and an SHA-1 hash. This is the same API that the site’s own search page uses.

    The database ID can be plugged into http://gamemusic.multimedia.cx/api/metadata/ to retrieve the song’s metadata in JSON format. E.g., the ID for Super Mario Bros. 3 on the NES is 161 : http://gamemusic.multimedia.cx/api/metadata/161.

    I recently read an article about sins against true RESTful API principles which led me to believe I’m almost certainly doing this web API stuff wrong. I don’t think it’s a huge deal, though, since I don’t think anyone actually listens to chiptunes any more. But if there are offline chiptune music players that are still in service and actively maintained, perhaps the authors would like to implement this API. It would require some type of HTTP networking library, a JSON parser, the embedded XZ decoder, and some new code to parse through my .gamemusic and .psfarchive formats.

    This database could be a significant value-add to chiptune playback software, and could help people experience classic game music much more easily.

  • Running ffmpeg commands from android ffmpeg syntax error in logcat

    30 septembre 2015, par Chaitanya Chandurkar

    I have successfully compiled ffmpeg for android and have ported it.

    I placed

    1. libffmpeg.so in /system/lib directory
    2. ffmpeg executable in /system/bin and /system/xbin directory (i was not sure where to place it). i directly copied ffmpeg executable from source directory (Not sure whether it’s a correct way)

    Now i am executing commands from android with following code !!

    imports *
    public class LatestActivity extends Activity {

       private Process process;
       String command,text;

       static {
           System.loadLibrary("ffmpeg");
       }

     @Override
       public void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_latest);

             //Execute Command !!  
             try {
                  Execute();
             } catch (IOException e) {
                 // TODO Auto-generated catch block
                 e.printStackTrace();
             } catch (InterruptedException e) {
                  // TODO Auto-generated catch block
                   e.printStackTrace();
             }
        }




    public void Execute() throws IOException, InterruptedException{
           try {
               File dir=new File("/system/bin");
               String[] cmd= {"ffmpeg","-codecs"};

               process=Runtime.getRuntime().exec(cmd,null,dir);
           } catch (IOException e) {
               // TODO Auto-generated catch block
               Log.d("Process IOException starts:",e.getMessage());
               e.printStackTrace();
               Log.d("System Manual exit !!",e.getMessage());
               System.exit(MODE_PRIVATE);
           }

           BufferedReader stdInput = new BufferedReader(new InputStreamReader(process.getInputStream()),16384);

            BufferedReader stdError = new BufferedReader(new InputStreamReader(process.getErrorStream()));

              // read the output from the command
              Log.d("Application output: ","Output if any !");
               while ((text = stdInput.readLine()) != null) {
                   Log.d("Output: ",text); //$NON-NLS-1$
                  }


           text="";
              // read any errors from the attempted command
           Log.d("Application output: ","Errors if any !");  //$NON-NLS-1$
              while ((text = stdError.readLine()) != null) {

                  Log.d("Error: ",text);  //$NON-NLS-1$
              }



              stdInput.close();
              stdError.close();

              process.waitFor();
              process.getOutputStream().close();
              process.getInputStream().close();
              process.getErrorStream().close();
              destroyProcess(process);
              //process.destroy();

       }

       private static void destroyProcess(Process process) {
           try {
               if (process != null) {
                   // use exitValue() to determine if process is still running.
                   process.exitValue();
               }
           } catch (IllegalThreadStateException e) {
               // process is still running, kill it.
               process.destroy();
           }
       }

     }

    And Here is the logcat output :

    09-05 15:29:13.287: D/dalvikvm(2670): No JNI_OnLoad found in /system/lib/libffmpeg.so 0x44e7e910, skipping init
    09-05 15:29:29.117: I/global(2670): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
    09-05 15:29:29.117: D/Application output:(2670): Output if any !
    09-05 15:29:29.117: D/Application output:(2670): Errors if any !
    09-05 15:29:29.127: D/Error:(2670): /system/bin/ffmpeg: 1: Syntax error: "(" unexpected

    m neither getting any errors nor output of command.
    At the end it shows syntax error.
    I want to know what kind of syntax error it is. how to tackle it ?

    m i doing something wrong ?

  • Anomalie #3077 (Nouveau) : Augmenter le contraste du nouveau thème pour le privé

    24 octobre 2013, par b b

    Le nouveau thème de l’espace privé (voir la gazette n°2 sur le blog http://blog.spip.net/appelons-ca-une-gazette.html) est super mais il manque "un peu" de contraste. Il faudrait voir ce qu’on peut faire pour améliorer ça.