Recherche avancée

Médias (91)

Autres articles (35)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5597)

  • How to change colour in WebM video using FFMPEG

    21 septembre 2020, par gowtham kosaraju

    I Have a web video file in this want to change the colour of the video pixels which are in black to blue color. I tried with the below command.

    


    Input video :
https://share.getcloudapp.com/WnuJoLGX

    


    ffmpeg -vcodec libvpx-vp9 -i input.webm -filter_complex "[0:v]format=rgba,lutrgb=r='if(eq(val,0),240,val)':g='if(eq(val,0),111,val)':b='if(eq(val,0),69,val)':a='val'[out]" -vcodec libvpx-vp9 -map "[out]" output.webm


    


    Output video : https://share.getcloudapp.com/geuzn6be

    


    But output video looks stuttering at the edges. Can anyone guide me on how to make video smoother ?

    


  • Ghosting in colour channels

    24 mai 2024, par Blikpils

    This seems like a very specific question so i hope there is someone who can help me out.
Within FFMPEG i am trying to add (channel pack) 3 different grayscale videos in RGB within a webm or mp4 video. I got it to work to a degree via Merge planes.
This is what i tried :

    


    ffmpeg -y -i video1.webm -i video2.webm -i video3.webm -filter_complex "[0:v]format=gray[r]; [1:v]format=gray[g]; [2:v]format=gray[b]; [g][b][r]mergeplanes=0x001020:format=gbrp" -pix_fmt yuv420p -t 00:00:03 output.webm


    


    This is the result :
enter image description here

    


    As you see the 9 is visible in the red and blue channel and so are each of the other channels

    


    I have tried just extracting a single channel in a video, change the compression change the format change the color space, make sure that its all linear but each seem to have the limitation of some smearing/artifacts between the other channels.

    


    Is it at all possible to add different grayscale streams in the color channels without any artifacts and if so in which direction should i look ?

    


    Any help would be greatly appreciated !

    


  • lavfi/vf_xfade : rewrite activate inputs handling

    2 juin 2023, par Marvin Scholz
    lavfi/vf_xfade : rewrite activate inputs handling
    

    The old code was not properly handling a bunch of edge-cases with
    streams terminating earlier and also did not properly report back EOF
    to the first input.

    This fixes at least one case where the filter could stop doing
    anything :

    ffmpeg -f lavfi -i "color=blue:d=10" -f lavfi -i "color=aqua:d=0" -filter_complex "[0][1]xfade=duration=2:offset=0:transition=wiperight" -f null -

    • [DH] libavfilter/vf_xfade.c