Recherche avancée

Médias (1)

Mot : - Tags -/3GS

Autres articles (87)

  • 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 ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • The question about ffmpeg drawtext filter [closed]

    5 mai 2024, par B1GGersnow

    I tried to use rockchip(aarch64) hardware acceleration and add a drawtext filter to add watermarks. However, squares appear when multiple Chinese fonts are added.

    


    This is my compilation parameter.

    


    ./configure --prefix=/usr --enable-gpl --enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga --enable-filter=drawtext --enable-libharfbuzz --enable-libfreetype --enable-libfontconfig --enable-libfreetype --enable-libfribidi


    


      

    1. ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i 1.mp4 -vf scale_rkrga=w=1920:h=1080,hwdownload,format=nv12,drawtext=text='中文':fontfile=msyh.ttc:fontsize=200 -c:v h264_rkmpp -y -t 10  output.mp4
img1

      


    2. 


    3. ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i 1.mp4 -vf "scale_rkrga=w=1920:h=1080,hwdownload,format=nv12,drawtext=text='中文字幕测试':fontfile=msyh.ttc:fontsize=200" -c:v h264_rkmpp -y -t 10  output.mp4
img2

      


    4. 


    


    But I try to use apt install ffmpeg to install ffmpeg which is officially maintained by Ubuntu. I got the right result. So I think it's the library, and I'm trying to compile using the official library.

    


    ./configure --prefix=/usr --enable-gpl --enable-version3 --enable-filter=drawtext --enable-libharfbuzz --enable-libfreetype --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libx264


    


    I still get garbled results.

    


    Is this because there is something wrong with my compilation dependent library ?

    


    When I compiled it with the same parameters on wsl, there was no garbled code.

    


  • vvcdec : add reference management

    5 décembre 2023, par Nuo Mi
    vvcdec : add reference management
    

    Co-authored-by : Xu Mu <toxumu@outlook.com>
    Co-authored-by : Frank Plowman <post@frankplowman.com>
    Co-authored-by : Shaun Loo <shaunloo10@gmail.com>
    Co-authored-by : Wu Jianhua <toqsxw@outlook.com>

    • [DH] libavcodec/vvc/Makefile
    • [DH] libavcodec/vvc/vvc_refs.c
    • [DH] libavcodec/vvc/vvc_refs.h
  • Question with complex ffmpeg compositing, overlays, visualizations etc [closed]

    14 novembre 2023, par Michael Ciesielczyk

    I'm trying to make a video that will consist of an underlying video that will need to repeat until the end of the video. The video's length as well as to video elements will come from a wav audio file. There will also be one static image overlay and 3 to 5 more images that will be overlayed at set intervals.

    &#xA;

    I was able to get a little ways with a few of the elements but when I have tried to put them all together in one go I can't figure it out. And I'm trying to get it in one got to get the best possible image quality I can so I don't end up re encoding the video multiple times. I'm also using this as a template for multiple videos so when I get it figured out I can just change the images to generate the new videos.

    &#xA;

    so I have these elements :

    &#xA;

    background video: bg.mp4&#xA;audio file: test.wav&#xA;static image: logo.png&#xA;rotating images: 1.png, 2.png, 3.png&#xA;

    &#xA;

    so I have :

    &#xA;

    ffmpeg -i test.wav -filter_complex " &#xA;[0:a]avectorscope=s=1320x1240:zoom=1.5,pad=3840:2160[vs]; &#xA;[0:a]showwaves=s=1280x202:colors=White:mode=line[sw];[vs][sw]overlay=x=(main_w- &#xA;overlay_w)/2:y=(main_h-400)[bg]" -map "[bg]" -map 0:a  -y -acodec aac video.mp4&#xA;

    &#xA;

    This gets me my 4k video file and my two visualizations and my audio in my video file placed about where I want them.

    &#xA;

    I can get the rotating images to appear at the right times overlayed on the bg.mp4 file with this.

    &#xA;

    ffmpeg -i bg.mp4 -i 1.png -i 2.png -i 3.png -filter_complex "[0] &#xA;[1]overlay=x=0:y=0:enable=&#x27;between(t,0,4)&#x27;[out];[out] &#xA;[2]overlay=x=0:y=0:enable=&#x27;between(t,4,8)&#x27;[out];[out] &#xA;[3]overlay=x=0:y=0:enable=&#x27;between(t,8,12)&#x27;[out]" -map "[out]" video.mp4&#xA;

    &#xA;

    But I can't figure out how to do it all together. I have ended up with bg.mp4 file playing inside the avectorscope visual. like the rest of that box was cropping it. And I know I can loop an overlay video with -stream_loop -1 and shortest=1 but I'm not sure what to do in order to have the bg video loop until the end of the audio.

    &#xA;

    I think some of my trouble is I am terrible dyslexic and a missing comma or missing close quote and it's a no go.

    &#xA;

    Anyone able to help me put this together ?

    &#xA;

    Oh and one last thing. I'm also wanting to put some simple text overlayed. like with

    &#xA;

    overlay=0:0,drawtext=fontfile=/usr/share/fonts/TTF/Vera.ttf:fontcolor=&#xA;white:x=200:y=200:text=&#x27;"text&#x27;[out]"`&#xA;

    &#xA;

    thank you to anyone who can help me !

    &#xA;