Recherche avancée

Médias (91)

Autres articles (106)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (10466)

  • Overlaying one video on another one, and making black pixels transparent

    25 janvier 2023, par Michael A

    I'm trying to use FFMPEG to create a video with one video overlayed on top another.

    



    I have 2 MP4s. I need to make all BLACK pixels in the overlay video transparent so that I can see the main video underneath it.

    



    I found two ways to overlay one video on another :

    



    First, the following positions the overlay in the center, and therefore, hides that portion of the main video beneath it :

    



        ffmpeg -i 1.mp4 -vf "movie=2.mp4 [a]; [in][a] overlay=352:0 [b]" combined.mp4 -y


    



    And, this one, places the overlay video on the left, but it's opacity is set to 50% so at least other one beneath it is visible :

    



    ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex "[0:v]setpts=PTS-STARTPTS[top]; [1:v]setpts=PTS-STARTPTS, format=yuva420p,colorchannelmixer=aa=0.5[bottom]; [top][bottom]overlay=shortest=0" -acodec libvo_aacenc -vcodec libx264 out.mp4 -y


    



    My goal is simply to make all black pixels in the overlay (2.mp4) completely transparent. How can this be done.

    


  • lavf/latmenc : use a local simplified copy of avpriv_copy_bits()

    26 octobre 2020, par Anton Khirnov
    lavf/latmenc : use a local simplified copy of avpriv_copy_bits()
    

    This is the only place in lavf where avpriv_copy_bits() is used, so this
    allows us to make avpriv_copy_bits() lavc-local.

    • [DH] libavformat/latmenc.c
  • Anomalie #2122 (Nouveau) : Vider un local/cache-vignette trop gros

    13 juin 2011, par yffic Cloarec

    Sur un site de photographe, j’ai un souci. Je ne peux plus afficher la page de vidage du cache. Enfin j’ai une page blanche. Ca bloque au moment du calcul de l’espace sur local/cache-vignettes. Dans ce dossier, il y a 600 dossiers différents. En utilisant la fonction calculer_taille_dossier de (...)