
Recherche avancée
Autres articles (96)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (7543)
-
FFMpeg - Freeze First Frame for X seconds
13 mars 2021, par John DoeI need to pause/freeze the first frame of the video for 2 seconds before proceeding to the scroll effect. Here's what I have :


ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -loop 1 -i "temp.jpg" -i "floating.png" -filter_complex "[1:v]fps=fps=30,crop=1280:720:0:'t*(ih-oh)/120',overlay,scale=1280x720,drawtext=fontfile='font.ttf':text='text here':x=20:y=675:fontsize=60:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2,drawtext=fontfile='font.ttf':text='more text':x=w-tw-20:y=670:fontsize=70:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2[out]" -t 10 -map "[out]" -map "0:a" -shortest -c:v h264_qsv -c:a aac -ac 2 -ar 44100 -vb 30M -r 30 "video.mp4"



Any ideas ?


-
ffmpeg datascope filter : How does it works ?
25 octobre 2022, par tonyI'm trying to see how the datascope filter is displaying the color values for a black and white image. I was expecting to see a part of the image with 0xfff and one with 0x000 value,
instead I obtained only the 0xfff for white


ffmpeg \
-f lavfi -i color=white:100x100 \
-f lavfi -i color=black:100x100 \
-lavfi '[0:v][1:v]hstack[out]' \
-map [out] \
-frames 1 \
blackAndWhite.png ; \


ffmpeg \
-i blackAndWhite.png \
-vf 'datascope' \
data.png





-
Combining two FFMPEG filters into single command
31 mai 2022, par shawnI would like to combine two filters and commands to a single ffmpeg command. What I want to achieve is overlay a static image on the video and draw a 90 degree rotated text as well.


Can anyone help with this ?


ffmpeg -y -i input.mp4 -i line.png -filter_complex "[0:v][1:v] overlay=105:625" -c:a copy output_video.mp4



ffmpeg -y -i input.mp4 -i line.png -filter_complex "color=black:100x100[c];[c][0]scale2ref[ct][mv];[ct]setsar=1,split=2[t1][t2];


[t1]drawtext=fontfile=/Library/Fonts/GenerisSansW01Heavy.ttf:
text=$TITLE:line_spacing=10:fontsize=23:fontcolor=white,split[text1][alpha1];
[text1][alpha1]alphamerge,rotate=270*PI/180:ow=rotw(270*PI/180):oh=roth(270*PI/180):c=black@0[txta1]; 

[t2]drawtext=fontfile=/Library/Fonts/GenerisSansW01Heavy.ttf:
text=$CONTENTS:line_spacing=0.5:fontsize=18:fontcolor=white,split[text2][alpha2];
[text2][alpha2]alphamerge,rotate=270*PI/180:ow=rotw(270*PI/180):oh=roth(270*PI/180):c=black@0[txta2]; 


[mv][txta1]overlay=x='min(0,-H*sin(270*PI/180))+40':y='min(0,W*sin(270*PI/180))+751':shortest=1[mv1]; 
[mv1][txta2]overlay=x='min(0,-H*sin(270*PI/180))+138':y='min(0,W*sin(270*PI/180))+752':shortest=1" -c:a copy output_video.mp4