Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (74)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

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

  • ffmpeg doesn't respect the transparency of the overlayed image by default

    12 avril 2021, par user15602767

    Here is what I am running

    


    ffmpeg -i urban_pop.mp4 -i C:/Users/hp/Documents/Projects/raceit/logos/logo.png -filter_complex "overlay=540:95" output.mp4


    


    But the original image has transparent areas and opaque areas. I want the transparent areas to remain transparent so that we can see the video through those areas. How can I do it ?

    


    As per docs here I can see it should respoect transparency by default
https://ffmpeg.org/ffmpeg-filters.html#Examples-88
Help me understand what I am doing wrong

    


    Note that I am not talking about customizing the overall transparency of the image while overlaying, but to load the image itself maintaining its original transparency

    


  • ffmpeg : Crop webm file with circular .png mask [closed]

    26 mars 2021, par Beneos Battlemaps

    I tried everything for hours and can get it working by myself. I want to create animated Pen&Paper tokens for virtuale tabletops. I have a .webm video file with 720x720 pixel showing an animation of a render file created out of a png sequence via

    


    ffmpeg -framerate 24 -f image2 -i face.%04d.png -c:v libvpx-vp9 -pix_fmt yuva420p face1.mp4

    


    See here : https://webmshare.com/play/ZxZa0

    


    Now i want to overlay this .webm with an circle image as frame :

    


    overlay

    


    and crop the black part so its transparent in the end result as well as keeping the transparent area in the center for the video itself.

    


    So the endresult is from this :

    


    Face1

    


    to this :

    


    Face2

    


    Can you help me out with that ? If its easier i can split the steps, making first the alpha mask crop via png and adding the circle in it later.

    


    Beste regards in advance
-Ben

    


  • Some modifications for ffmpeg scripts

    21 mars 2021, par FoxFr

    I wish to modify the following script to put some options, obviously if you can explain ... is better my learning

    


    ffmpeg \
-i /dev/video0 \
-r 1 -stream_loop -1 -f image2 -i "/home/pi/videopi/map/map.jpg" \
-stream_loop -1 -re -i "/home/pi/videopi/bed.mp3" \
-filter_complex "[0][1]overlay=enable='lt(mod(t,20),10)'[v];[v]drawtext=textfile=/home/pi/videopi/gps.txt:reload=1:x=30:y=350:fontfile=/usr/share/fonts/truetype/lato/Lato-Black.ttf:fontsize=30:fontcolor=white[v]" \
-map "[v]" \
-map 2:a \
-c:v libx264 -b:v 4000k -maxrate 4000k -bufsize 8000k -g 50 -c:a aac \
-s 640x480 \
-f flv rtmp://a.rtmp.youtube.com/live2/[google_key_stream]


    


    My desired customization :

    


      

    • Add an another webcam (-i /dev/video1) : 30" video0 -> 30" video1 -> 10" image2 -> 30" video0 ... (a loop)
    • 


    • Add a png overlay on the final comp
    • 


    • how add a transparent png behind the text
    • 


    • plug an audio input (by jack) to add over the bed.mp3
    • 


    • save the file in same time of live (-f flv live.mp4 ??)
    • 


    


    The part -filter_complex is the most difficult for me to understand

    


    Thanks you very much for you help, it's for finish my personal and important project