Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (38)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • vpxenc : add deterministic output option

    26 octobre 2010, par John Koleszar

    vpxenc : add deterministic output option

  • Appium iOS screen recording in parallel runs result in overlapping videos

    29 juillet 2020, par Shiori Bermudo

    My code is in Python. I'm using appium's built in function driver.start_screen_recording() driver.stop_screen_recording().

    


    I run two tests (A and B) on different devices (A and B respectively), different appium servers (ports) and different wdalocalports. The tests are running on a schedule in Jenkins.

    


    Each test look something like this :

    


    self.driver = webdriver.Remote("http://localhost:portA/B")
# Part1
self.driver.start_screen_recording()
# do something ...
vbytes = self.driver.stop_screen_recording()
self.save_movie(vbytes, Part1fileName)
# Part2
self.driver.start_screen_recording()
# do something ...
vbytes = self.driver.stop_screen_recording()
self.save_movie(vbytes, Part2fileName)
# do something until test is over...
self.driver.quit()


    


    When Test B starts while Test A is running, the video output of B is showing the screen of Test A. The saved filenames are correct. TestA.mp4 is correct but TestB.mp4 shows the screen of Device A.

    


  • ffmpeg - overlay a video with rounded corners

    4 novembre 2019, par asi

    I am successfully using overlaying a scaled (smaller) video on top of a larger one but am struggling to understand how could I give the small video a rounded corners mask.

    Edit

    thanks to @loogan comment I’ve managed to get a working command that created applies a circular mask :

    ffmpeg
       -i main.mp4
       -i vignette.mp4
       -filter_complex
         [1:v]scale=300:-1[scaled];
         [scaled]split [scaled0][scaled11];
         [scaled0]trim=end_frame=1,geq='st(3,pow(X-(W/2),2)+pow(Y-(H/2),2));if(lte(ld(3),780*780),255,0)':3:3,loop=-1:1,setpts=N/FRAME_RATE/TB[mask];
       [scaled1][mask]alphamerge[cutout];
       [0][cutout]overlay=x=W-w:y=0[v];
       -map [v]
       -map [a]  
       output.mp4

    but how to get from a circle to a rounded rect still eludes me. cant quite get what are the params that geq expects and the math to generate them.

    assuming that the video that needs masking is 200 * 300 and the corners should have a 5px radius, is there a geq command that can create this mask ? maybe en ellipse ?

    or maybe a better way would be to use a pre-made png as a mask ?

    any insights welcome