Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (81)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14603)

  • Revision 30ab37019c : Remove unused set_mode_info function When the frame is intra coded only, the en

    30 juin 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c



    Remove unused set_mode_info function

    When the frame is intra coded only, the encoder takes the RD
    coding flow. Hence the function set_mode_info is not practically
    in use. This commit removes it and the associated conditional
    branches.

    Change-Id : I1e42659ceb55b771ba712d1cdecacb446aa6460d

  • Use a translation function for info and error messages.

    26 avril 2013, par blueimp
    m js/jquery.fileupload.js
    
    Use a translation function for info and error messages.
    

    Initialize regular expressions passed as HTML5 data-attributes.

  • Python PyQT : How to call a GUI function from a worker thread ?

    18 juillet 2014, par rainer

    I have a pyqt gui and calling a long process (ffmpeg) which I put on a separate thread to not block the gui. I then want to update a progress bar when one command of a longer list of commands finishes. The problem is, that I can’t call a function in the gui thread out of the worker thread. So I let run a ticker in the worker thread, but when I update the progress bar with a while loop and reading the ticker value, the gui gets blocked again. How can I solve this. I used currently python threading and not Qthread.
    Thx for any help !

    import threading, pexpect

    self.cmd_list = ['ffmpeg -i file outfile','and so on']

    self.stop_proc = False
    self.executeCMD()

    def spawn_ffmpeg_cmd(self):
       for cmd in self.cmd_list:
           if self.stop_proc == False:
               thread = pexpect.spawn(cmd)
               print "\nstarted: %s" % cmd
               cpl = thread.compile_pattern_list([pexpect.EOF,"frame= *\d+ fps=*\d+",'(.+)'])

               while True:
                   i = thread.expect_list(cpl, timeout=None)
                   if i == 0: # EOF
                       print "the sub process exited"
                       self.pgticker += 1
                       break
                   elif i == 1:
                       frame_number_fps = thread.match.group(0)
                       print frame_number_fps
                       thread.close
                   elif i == 2:
                       pass
       self.startButton.setEnabled(True)


    def executeCMD(self):
       self.startButton.setEnabled(False)
       self.pgticker = 0
       threading.Thread(target=self.spawn_ffmpeg_cmd, name="_proc").start()


    def stopprocess(self):
       self.stop_proc = True
       self.cmd_list = []
       os.system('pkill ffmpeg')
       self.pgticker = len(self.cmd_list)
       self.startButton.setEnabled(True)


    def updateProgress(self):  
       pgfactor = 100 / len(self.cmd_list)
       progress = 0.0
       progress = pgfactor*int(self.pgticker)
       self.progressBar.setProperty("value", progress)