Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (104)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

  • Les sons

    15 mai 2013, par

Sur d’autres sites (9556)

  • ffmpeg drawtext same font size and position on all kind of videos

    25 janvier 2018, par Bilal Akmal

    I’m drawing text and an icon on input video which user uploads. I’m able to draw the test and icon both successfully using two separate ffmpeg filter -vf and -filter_complex. But the problem is the output is not consistent for different size and resolution of videos. I mean I need to place the text and icon in top left corner with some padding, but it’s totally different positioned and sized on each video.
    So can you help me how I can calculate the font based on video height and width to make it consistent, I mean the text box should be of same size irrespective of video dimensions.

    Here’s the commands I’m using :

    ffmpeg -i input.mp4 -vf "drawtext=fontfile=OpenSans-Regular.ttf:text=\’LIVE\’:fontcolor=white:fontsize=40:x=50:y=50:box=1:boxcolor=red@0.9:boxborderw=20,format=yuv420p, drawtext=fontfile=OpenSans-Regular.ttf:text=’\ %eif :$1+t:d’:fontcolor=white:fontsize=40:x=195:y=50:box=1:boxcolor=black@0.4:boxborderw=20,format=yuv420p" -c:v libx264 -c:a copy -movflags +faststart output1.mp4 -y

    ffmpeg -i input.mp4 -vf "drawtext=fontfile=OpenSans-Regular.ttf:text=\’LIVE\’:fontcolor=white:fontsize=40:x=50:y=50:box=1:boxcolor=red@0.9:boxborderw=20,format=yuv420p, drawtext=fontfile=OpenSans-Regular.ttf:text=’\ %eif :$1+t:d’:fontcolor=white:fontsize=40:x=195:y=50:box=1:boxcolor=black@0.4:boxborderw=20,format=yuv420p" -c:v libx264 -c:a copy -movflags +faststart output1.mp4 -y
    ffmpeg -i output1.mp4 -i eye.png -filter_complex "[1]lut=a=val*1[a] ;[0][a]overlay=190:48" -pix_fmt yuv420p -c:a copy output2.mp4 -y ;

  • how to add beat and bass effect in video using ffmpeg command ?

    8 avril 2021, par Hit_Var

    i want beat effect on video and i am using ffmpeg command for beat effect i was used this below command for beat effect black and white and original color after 2 sec looping but not this work this command only create black and white video ffmpeg -i addition.mp4 -vf hue=s=0 output.mp4

    


    So please, suggest any solution.

    


    I want make video like youtube.com/watch ?v=7fG7TVKGcqI plaese suggest me

    


    Thanks in advance

    


  • How to justify text in drawtext in ffmpeg ?

    26 décembre 2019, par Milan Tejani

    I am adding text watermarks to the video using ffmpeg command and I’ve added three lines already using drawtext in ffmpeg command. So, it works perfectly and adds three lines at the bottom left corner of the video.

    In the first line there are 25 characters, the second line contains 7 characters, and the third line contains 3 characters. These three lines are located from the left to right.

    So, I want to justify 2nd and 3rd line’s texts to the center as per the first line width.

    What I get :

    Hello World Ffmpeg

    hello

    hel

    what I want :

    Hello World Ffmpeg

         hello

          hel

    here command i used :

    ffmpeg -i input.mp4 -vf "[in]drawtext=fontsize=20:fontcolor=White:fontfile='roboto.ttf':text='Hello World Ffmpeg':x=(w)/2:y=(h)/2, drawtext=fontsize=20:fontcolor=White:fontfile='roboto.ttf':text='hello':x=(w)/2:y=((h)/2)+25, drawtext=fontsize=20:fontcolor=White:fontfile='roboto.ttf':text='hel':x=(w)/2:y=((h)/2)+50[out]" -y test_out.mp4