Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (81)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

Sur d’autres sites (12438)

  • FFMPEG : Creating video using drawtext along with word wrap and padding

    11 octobre 2022, par Chaitanya Sai

    I'm working to create a video from text with drawtext filter. Output video i can see the text is overflowing instead of coming in new line.

    



    Is there any way i can archive word wrapping and also set the internal padding to video ?

    



    Below is the snippet I'm using to generate video from text

    



    ffmpeg.exe -f lavfi -i color=c=white:s=640x480:d=5.396 -vf "[in] drawtext=fontfile=font.ttf:fontsize=20:fontcolor=black:x=0+0*print(tw):y=0+0*print(th):text='this is new whiteboard te':enable='between(t,6.634,6.818)',drawtext=fontfile=font.ttf:fontsize=20:fontcolor=black:x=0+0*print(tw):y=0+0*print(th):text='this is new whiteboard testing':enable='between(t,0.0,2.032)',drawtext=fontfile=font.ttf:fontsize=20:fontcolor=black:x=0+0*print(tw):y=0+0*print(th):text='this is new whiteboard testing no padding and the text is overflowing from the video frame check this  need to acheve word wrapping':enable='between(t,2.032,5.396)'"[out] -c:v libx264 -t 30 -crf 30 ../output.mp4


    



    Output looks like this
enter image description here

    


  • Want to convert my 16:9 size MKV video to 4:3 size AVI video file

    19 septembre 2012, par Bimal Rekhadiya

    I have a video in MKV format and it's size is 720x304 (16:9 ratio) size video.

    I want to convert it to AVi format (using xvid video codec). The output file size should be 480x360 (4:3 ratio) and also want to keep the original (16:9) ratio so it should be cinemascope (black areas at top and bottom).

    I am on Ubuntu linux OS so I can use mencoder, avconv(ffmpeg) or any tool that work on Linux.

    I am trying this command :

    avconv -i sample.mkv -vcodec libxvid -r 25 -b 1200 -aspect 4:3 -q 1 t.avi

    But the problem is that the video is stretched to 4:3 and I want to keep original video's ratio and want to add black boxes at top and bottom so it will look cinemascope.

    Please provide me command to do this.

  • Converted mp4 not displaying image which was added with FFMPEG [duplicate]

    3 décembre 2015, par Avi

    This question already has an answer here :

    I am converting a mp3 to a mp4 and simultaneously adding an image to it using FFMPEG.

    Here is the command I am using.

    ffmpeg -loop 1 -i ../image.jpg -i "track 1.mp3" -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest -vf scale=800:400 "track 1".mp4

    The image appears when the video is played in a web browser. However, it doesn’t appear when the video is played on Windows Media Player or on QuickTime.

    Any ideas why ?