Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • 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 ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (13858)

  • Evolution #3655 (Fermé) : Empêcher le scroll au chargement ajax avec la class "noscroll" pour les ...

    5 mai 2017, par Anonyme

    Appliqué par commit r23523.

  • Could not initialize class org.bytedeco.javacpp.avutil version 1.3.2

    12 avril 2017, par Dmitry

    I know that this problem has been described there, there, there, there and there. But I don’t understand solution, because I use JavaCV 1.3.2 that include (fixed ?) version of FFmpeg 3.0.2-1.2. I tried to use fixed version of FFmpeg 3.0.2-1.2 from issue, but I have old error :

    Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.avutil
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:348)
       at org.bytedeco.javacpp.Loader.load(Loader.java:464)
       at org.bytedeco.javacpp.Loader.load(Loader.java:409)
       at org.bytedeco.javacpp.avformat$AVFormatContext.<clinit>(avformat.java:2719)
       at org.bytedeco.javacv.FFmpegFrameGrabber.startUnsafe(FFmpegFrameGrabber.java:391)
       at org.bytedeco.javacv.FFmpegFrameGrabber.start(FFmpegFrameGrabber.java:385)
       at Main.main(Main.java:12)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    </clinit>

    My code :

    public static void main(String[] args) throws FrameGrabber.Exception {
       FrameGrabber frameGrabber = new FFmpegFrameGrabber("/1.mp4");
       CanvasFrame canvasFrame = new CanvasFrame("Test");
       frameGrabber.start();
       for(int i = 0; icode>
  • Calling pkill to pause a process with subprocess inside a class in python suspends the python script

    31 mars 2017, par muammar

    I have a class that contains a "blocking method". Inside that method, I am listening to keys to perform some actions. The action in question is pkill. Below I am pasting it :

    def show_control(self, control):
       """docstring for control"""                                                                                                                          
       if control == True:        
           from mkchromecast.getch import getch, pause

           self.controls_msg()    
           try:                  
               while(True):      
                   key = getch()  
                   if(key == 'p'):    
                       if self.videoarg == True:
                           print('Pausing Casting Process...')
                           subprocess.call(['pkill', '-STOP', '-f', 'ffmpeg'])
                       ...

    It turns out that the ffmpeg process is paused, but the python script gets suspended ?. I don’t understand why that is the case. If one creates the same function in a regular script (not inside a class to be clearer) this does not happen. I have tried using multithreading and multiprocessing modules without success. What am I doing wrong ?. Thanks.