Recherche avancée

Médias (0)

Mot : - Tags -/inscription3

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

Autres articles (45)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (10080)

  • How to correctly detect window with xdotool in bash script

    24 mai 2020, par wasd

    I'm trying to record screen and also input from my webcam. To show image from a webcam I use ffplay. However I want it to be placed in a specific location of my screen. To do so I use xdotool and following bash script :

    



     #!/bin/bash                                                                                                                                                                                                                                   
 ffplay -i /dev/video0 &                                                                                                                                                                                       
 res=$!                                                                                                                  
 echo $res                                                                                                               
 window_pid=$(xdotool search --pid $res)                                                                                       
 echo $window_pid
 xdotool windowmove $window_pid 1200 200                                                                                                       
 wait


    



    For some reason I get correct process id res but nothing for the window_pid. If I run similar commands in terminal it works correctly (I run ffplay in one terminal instance and the rest of commands in another). What am I missing here ?

    


  • Use ffprobe on Sagemaker Jupyter Notebook : /bin/sh : 1 : ffprobe : not found

    2 juillet 2020, par Guu

    I need to use FFprobe to get the metadata(the orientation of the video) of videos on SageMaker Studio. Even I installed FFmpeg and FFprobe via pip install, the notebook doesn't recognize the packages.

    


    /bin/sh: 1: ffprobe: not found

    


    It is tricky since I've already tried to install them on System terminal and it worked, but it still doesn't work on the Image terminal or Jupyter Notebook.

    


    Is that because of the dependencies ? I've checked other ways to get the metadata but couldn't find one working. I could get simple metadata via hachoir-metadata but it didn't give the orientation. Any advice is welcomed. Thanks.

    


  • Redirecting ffmpeg result into another file

    9 mai 2019, par Enkri_

    I’m trying to get the size of an input video using ffmpeg, below is the code that I use, what I’m trying to do is to first store the result into a txt file and then do some parsing to get the size of the video :

    $ ffmpeg -i TheNorth.mp4

    The terminal says "At least one output file must be specified"
    Then I tried this :

    $ ffmpeg -i TheNorth.mp4 result.txt

    The terminal says "Unable to find a suitable output format for ’size.txt’"

    So how could I get the result and save it to the specified file ?