
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (87)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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, parMediaSPIP 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, parChaque 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 B1GGersnowI 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



- 

-
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

-
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







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 Mivvcdec : 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> -
Question with complex ffmpeg compositing, overlays, visualizations etc [closed]
14 novembre 2023, par Michael CiesielczykI'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.


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.


so I have these elements :


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



so I have :


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



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


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


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



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.


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.


Anyone able to help me put this together ?


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


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



thank you to anyone who can help me !