Recherche avancée

Médias (91)

Autres articles (67)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5916)

  • On renomme le script de compte de sites mutualisés en spip_mutu_sites

    2 mai 2013, par kent1D
    On renomme le script de compte de sites mutualisés en spip_mutu_sites
    car c’est utilisable par toute mutualisation de sites
    

    On le fait fonctionner sur plusieurs mutu en même temps et on le rend
    configurable

  • How to pass the output of one program (ffmpeg) to python script ?

    8 septembre 2017, par Victor Odouard

    What I would like to do is this :

    ffmpeg -i udp://224.10.10.10:15004 -qscale:v 2 sttest%04d.jpg

    And then pass the output image paths of this to a python script, which individually takes in the images and manipulates them, as ffmpeg is running (eventually I will use ffmpy to call ffmpeg rather than using the command line tool, but for now testing purposes, I’m starting here).

    I suppose a way to do this would be to look into the directory of the ffmpeg output every time I’ve processed an image to see if there is a new one, and then load that into python (using OpenCV)—and then waiting a certain time interval if there are no new images to process.

    But is there a better way of doing this, like sending the paths of the images directly to some sort of queue which the python script can then process one by one ?

  • Running xdotool movewindow from a python script

    19 août 2014, par mr mojo risin

    I am writing a python script to run a movie using ffplay, and then move the ffplay window to a specific location on the screen.

    The script I am basing this one is located here - http://code.activestate.com/recipes/577376-simple-way-to-execute-multiple-process-in-parallel/

    The only difference is I am changing the commands array at the bottom to

    commands = [
       ['xdotool', 'search', '--name', 'Goodfellas', 'windowmove', '480', '200'],
       ['ffplay', '-x', '320', '-y', '180', '-autoexit', '/data/media/Vidoes/Movies/Goodfellas.mp4']
    ]

    The video plays fine, but the window will not move position

    To test if the script is actually cycling through all the commands I added the command

    ['xdotool', 'mousemove', '180', '180'],

    And the mouse will indeed move to location 180, 180 on my screen

    Perhaps maybe ffplay takes a split second to load and there is still no screen called Goodfellas when the movewindow command is executed