Recherche avancée

Médias (91)

Autres articles (88)

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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7684)

  • Using OpenCV on 32-bit XP

    14 novembre 2016, par Aleksandar Rakić

    Is it possible to run OpenCV version 3.0.0 on 32-bit XP ?

    I have successfully compiled code on Win 8.1 64-bit platform but it won’t run on the other computer.

    The code I run is below (it’s only for testing purposes)

    package opencvtest;

    import java.awt.Image;
    import java.awt.image.BufferedImage;
    import java.awt.image.DataBufferByte;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import org.opencv.core.*;
    import org.opencv.videoio.VideoCapture;
    import org.opencv.videoio.Videoio;

    public class OpenCVtest {


     private JFrame frame;
     private JLabel imageLabel;

    public static void main(String[] args) {
       OpenCVtest app = new OpenCVtest();
       app.initGUI();
       app.runMainLoop(args);
     }

     private void initGUI() {
       frame = new JFrame("Camera Input Example");  
       frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
       frame.setSize(400,400);  
       imageLabel = new JLabel();
       frame.add(imageLabel);
       frame.setVisible(true);      
     }

     public static BufferedImage bufferedImage(Mat m) {


       int type = BufferedImage.TYPE_BYTE_GRAY;
       if (m.channels() > 1) {
           type = BufferedImage.TYPE_3BYTE_BGR;
       }
       BufferedImage image = new BufferedImage(m.cols(), m.rows(), type);

       m.get(0, 0, ((DataBufferByte)image.getRaster().getDataBuffer()).getData());
       return image;

     }

     private void runMainLoop(String[] args) {
       //ImageProcessor imageProcessor = new ImageProcessor();
       System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
       System.out.println("Welcome to OpenCV version " + Core.VERSION);
       Mat webcamMatImage = new Mat();
       System.out.println("Mat " + webcamMatImage);
       Image tempImage;
       VideoCapture capture = new VideoCapture("Highway.mp4");
       System.out.println("Capture " + capture);
       if(!capture.isOpened()){
           System.out.println(capture.open("D:\\AleksandarRakic\\Java Projects\\mavenproject1\\Highway.mp4")?"Otvorio":"Nije otvorio");
       }
       capture.set(Videoio.CAP_PROP_FRAME_WIDTH,320);
       capture.set(Videoio.CAP_PROP_FRAME_HEIGHT,240);

       if( capture.isOpened()){  
           while (true){  
               capture.read(webcamMatImage);
                   if( !webcamMatImage.empty() ){
                       int type = BufferedImage.TYPE_BYTE_GRAY;
                       if (webcamMatImage.channels() > 1) {
                           type = BufferedImage.TYPE_3BYTE_BGR;
                       }
                       BufferedImage image = new BufferedImage(webcamMatImage.cols(), webcamMatImage.rows(), type);

                       webcamMatImage.get(0, 0, ((DataBufferByte)image.getRaster().getDataBuffer()).getData());

                       tempImage= image;
                       ImageIcon imageIcon = new ImageIcon(tempImage, "Captured video");
                       imageLabel.setIcon(imageIcon);
                       frame.pack();  //this will resize the window to fit the image
                   }  
                   else{
                       System.out.println(" -- Frame not captured -- Break!");
                       break;  
                   }
           }
       }
       else{
           System.out.println("Couldn't open capture.");
       }
     }

    }

    When I run it on XP, VideoCapture constructor fails to open the video designated. From my understanding, opencv uses it’s own ffmpeg .dll as a codec. Is this true ?

    If not, is it using the codec I have from K-Lite cp ?

    Finally, could anything else be wrong ?

    My %path% variable contains the locations to opencv_ffmpeg300.dll and openvc_java300.dll on WinXP. I also added the following to NetBeans run parameter

    -Djava.library.path="C :\opencv\build\x86\vc12\bin ;C :\opencv\build\java\x86"

  • Anomalie #4438 : Manque Msg :message:lien_reponse_message :

    22 mars 2020

    Ça m’interroge...

    Les chaines de langues sont dans ’forum’, là : https://git.spip.net/spip/forum/src/branch/master/lang/forum_fr.php#L129
    Donc appeler `_T(’message:lien_reponse_message’)` ne donnera rien, quelque soit la version de SPIP.
    Cette chaine (forum:lien_reponse_message) est appelé si le message a un `id_parent`.

    La question semble plutôt :
    - soit `#OBJET` qui vaut ’message’ est erroné (ça devait être autre chose (genre l’objet du parent), mais un bug remplit a rempli ’message’ ?
    - soit on avait jamais eu ce cas simplement ?

  • Anomalie #2381 : Corriger le niveau d’intertitre

    9 juin 2018, par b b

    Il y a des H2 dans la dist, qui introduisent des listes d’articles, de résultats, ou des blocs (forum), je pense qu’ils peuvent rester comme ça.

    Si le bloc de forum sous le texte de l’article reste en h2, il va se retrouver "au même niveau" qu’un intertitre en h2 donc, c’est pas top non ?