Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (40)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (5971)

  • How to take a video of what's happening in selenium

    5 février 2019, par fabio

    I’m using Selenium 3 webdriver and Python 3 in Windows 7.

    I want to record a video of what’s happening in my selenium tests.

    To do so I’m using FFmpeg and screen-capture-recorder but I can change programs.

    Here’s my code :

    import unittest
    from selenium import webdriver
    from subprocess import Popen
    #from subprocess import call


    cmd = 'ffmpeg -y -rtbufsize 2000M -f dshow -i video="screen-capture-recorder" -r 10 -t 20 screen-capture.mp4'

    class SearchProductTest(unittest.TestCase):
       def setUp(self):

           # start the recording of movie
           self.videoRecording = Popen(cmd)

           # create a new Firefox session
           self.driver = webdriver.Firefox()
           self.driver.implicitly_wait(30)
           self.driver.maximize_window()

           # navigate to the application home page
           self.driver.get("http://demo-store.seleniumacademy.com/")

       def test_search_by_category(self):
           # get the search textbox
           search_field = self.driver.find_element_by_name("q")
           search_field.clear()

           # enter search keyword and submit
           search_field.send_keys("phones")
           search_field.submit()

           # get all the anchor elements which have product names displayed
           # currently on result page using find_elements_by_xpath method
           products = self.driver.find_elements_by_xpath(
               "//h2[@class='product-name']/a")

           # check count of products shown in results
           self.assertEqual(3, len(products))
           #self.videoRecording.terminate()

       def test_something_else(self):
           pass

       def tearDown(self):
           # close the browser window
           self.driver.quit()

           # Stop the recording
           self.videoRecording.terminate()

       #def terminate(process):
           #if process.poll() is None:
           #    call('taskkill /F /T /PID ' + str(process.pid))

    if __name__ == '__main__':
       unittest.main(verbosity=2)

    The problems are :

    1) the cmd gives a max time per the movie (20" in the example). If the test last more the movie is created and it works (but is incomplete, only 20").

    2) if the test last less the file is created but it doesn’t work (the reader can’t read it and it’s just some bytes). This is the main error ! I’m not sure about where to start the movie and where (and how) to stop it.

    3) If I have more than one test I would like to have only one movie for all of them (so I want to record all the tests in the same movie).

    4) if possible I would prefer to record the webdriver window (the one where my tests are running) and not my screen so meanwhile the tests go I can do something else (they are slow).

    Thanks you for the help.

  • Recapping WebM’s First Week

    25 mai 2010, par noreply@blogger.com (John Luther) — webm, vp8, vorbis

    The WebM project launched last Wednesday with broad industry backing (watch video of the announcement). The list of supporters keeps growing with new additions such as the popular VLC media player, Miro Video Converter, HeyWatch cloud encoding platform, and videantis programmable processor platform. We’re also happy to see that future versions of IE will support playback of VP8 when the user has installed the codec.

    Our announcement sparked discussions in the community around the design and quality of our developer release. We’ve done extensive testing of VP8 and know that the codec can match or exceed the quality of other leading codecs. Starting this week, the engineers behind WebM will post frequently to this blog with details on how to make optimal use of its VP8 video codec and Vorbis audio codec. We are confident that the open development model will bring additional improvements that will further optimize WebM. In fact, the power of open development is already visible, with developers submitting patches and the folks at Flumotion enabling live streaming support in their product just three days after the project was launched.

    Keep an eye on this blog for regular updates on the adoption and development of WebM. To participate in the conversation or to ask questions of the WebM team, please join our discussion group.

    John Luther
    Product Manager, Google

  • Recapping WebM’s First Week

    25 mai 2010, par noreply@blogger.com (John Luther) — webm, vp8, vorbis

    The WebM project launched last Wednesday with broad industry backing (watch video of the announcement). The list of supporters keeps growing with new additions such as the popular VLC media player, Miro Video Converter, HeyWatch cloud encoding platform, and videantis programmable processor platform. We’re also happy to see that future versions of IE will support playback of VP8 when the user has installed the codec.

    Our announcement sparked discussions in the community around the design and quality of our developer release. We’ve done extensive testing of VP8 and know that the codec can match or exceed the quality of other leading codecs. Starting this week, the engineers behind WebM will post frequently to this blog with details on how to make optimal use of its VP8 video codec and Vorbis audio codec. We are confident that the open development model will bring additional improvements that will further optimize WebM. In fact, the power of open development is already visible, with developers submitting patches and the folks at Flumotion enabling live streaming support in their product just three days after the project was launched.

    Keep an eye on this blog for regular updates on the adoption and development of WebM. To participate in the conversation or to ask questions of the WebM team, please join our discussion group.

    John Luther
    Product Manager, Google